| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I96263b774551821745a2345ffb2df3bf2a2dcf05
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Update local hacking checks for new flake8.
Note: The repo has been using an uncapped requirements, so was testing with
hacking 2.0 which disabled the old way of local testing integration.
Remove S367 and S368 since they are not working under python3
"NOTE(Kezar): This checks a good enough if we have only py2.7 supported.
As soon as we'll get py3.x we need to drop it or rewrite. You can read more
about it in dev-list archive, topic: "[hacking]proposed rules drop for 1.0"
Also, hacking now has H304 and H306 which test exactly the same.
Remove hacking and friends from lower-constraints, it's not needed
there.
Change-Id: If60682fb328359ef73dee8f2d89d51410a376677
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
python-openstackclient removed the usage of glanceclient between 5.1.0
and 5.2.0 (see: https://review.opendev.org/#/c/650374/).
As a consequence, the
openstack dataprocessing image register ...
command is now broken.
This fix means a few requirement bumps to align to OSC 5.2.0,
even though saharaclient 3.0.0 is already released.
Story: 2007501
Task: 39317
Change-Id: I377e0646303aef4984cdd6e4b6587fca9241206b
|
|
|
|
|
|
|
| |
Story: 2005807
Task: 33546
Change-Id: I01660375c17938f1eb2920cf0d599083d3d300e1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now in the basic client:
- Boot from volume enhancements
- Update keypair
Now in OSC:
- Force delete cluster
- Update keypair
- Boot from volume enhancements
- Decommision specific node (only via --json)
Change-Id: I031fdb6f7754f6cf242bfae6f10ed05249c07dac
Story: 2003092
Task: 23183
Task: 29740
|
|
|
|
|
|
|
| |
On the way to have APIv2 as stable we need to have it available on the
OSC for sahara.
Change-Id: I84f4bc56c641caad7c04190c7a344a6773440eef
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I3f96e9dd8af1ddee5d1d7ea36f5cdae2d91bf6b2
|
| |
| |
| |
| |
| |
| | |
Docstring, unit test.
Change-Id: I80328f9e6f24aaf4a9e59c739e68ddb19f4d700d
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Adding boot from volume to python-sahahraclient CLI.
Change-Id: I302aaeb7a0f831730301162f8c51e0eebcbd66f8
Story: #2001820
Task: #12559
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Adding boot from volume to python client.
Change-Id: I869e61242de47e802f9d7f1be92427e762bfcf59
Story: #2001820
Task: #22978
|
|\ \ \
| |/ /
|/| /
| |/ |
|
| |
| |
| |
| |
| |
| | |
Do so, in a backwards-compatible way, and not in a way with good UX.
Change-Id: I31b53c2e63ec9c28aba45aabab70a6abed1969f3
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Just accept session objects.
This will require a new major release of python-saharaclient (2.0).
Change-Id: I9021a7ebeeecf94d48170e332b26ac6e80187501
Story: 1747838
Task: 6896
|
| |
| |
| |
| |
| |
| | |
Followup to f52070c4a671ad6ec3585a1f224d82f971407881
Change-Id: I2861b3d8689da42be85f570ee00da7941848cfb9
|
|/
|
|
|
|
|
|
| |
In the experimental APIv2, some inconsistencies were recently fixed.
Reflect that.
Depends-On: https://review.openstack.org/581072
Change-Id: I408a0ab5ee1647307bb63635b2d7839c24be73d0
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I24552338a3b8234abb718579c7eb73409be34f02
|
|/
|
|
|
|
|
| |
APIv2 has been experimental; we've made a change to endpoint for the
creation of multiple clusters.
Change-Id: Idc37b263ceabc9edaf6cab5e24fa83c836edc16d
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Support of all APIv2 features carried from APIv1 ("feature parity")
* Minimum amount of docs to pass the gate
* Endpoint manipulation and version discovery handled by keystoneauth
* APIv2 feature: decommision of specific instances (doc change only)
* APIv2 feature: force delete (new method)
Unit tests will arrive in a future patch.
bp v2-api-experimental-impl
Co-Authored-By: Monty Taylor <mordred@inaugust.com>
Change-Id: I32178439fe85cc6d5faf4ac2e33ae80c08619de5
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| | |
bp sahara-support-s3
Change-Id: I14fb4286bffb1361706b6e8ae62ac7dbc20ee311
|
|/
|
|
|
|
|
| |
In I3683fce981a7d1812d08f3545e9a8b1d8ebb6ec1 we incorrectly indentified
the necessary key `user` as `username`.
Change-Id: Ib6e90a9187024d7ffd02a8f011d7ad0f759ef733
|
|
|
|
|
|
|
|
|
|
| |
After bp sahara-support-s3 the use of the "extra" parameter is not only
for binaries stored in Swift.
So, modify some docstrings (which are in turn included in the actual
docs) to reflect this.
Change-Id: I3683fce981a7d1812d08f3545e9a8b1d8ebb6ec1
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Partially-Implements: bp portable-node-group-and-cluster-templates
Depends-On: I33c3b6daa5b9e2be218a84efdb6113a4ce9a86df
This change adds command
'dataprocessing node group template export'
to OpenStack CLI.
Change-Id: If795b21bacf497d7198c9d33f6da70873d5c8ede
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Partially-Implements: bp portable-node-group-and-cluster-templates
Depends-On: Ib5a2df4013840050b8034bcefd68040f508d0b31
This change adds command
'dataprocessing cluster template export'
to OpenStack CLI.
Change-Id: I027169ace70929318990a4225d456bf1cf8a83b2
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| | |
When executing "openstack dataprocessing cluster scale" command,
the method "_format_cluster_output" gets the argument which is wrapped.
So the command will get the KeyError.
Change-Id: I6883878ade46e2a8cec881a6a5df931922507ac6
Closes-Bug: #1718564
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Partially-Implements: bp portable-node-group-and-cluster-templates
This change adds command
'dataprocessing node group template import'
to OpenStack CLI.
Change-Id: Ic1e3a681a32171503ea7c2fc40283965a1a62a49
|
|\ \ \
| |_|/
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Partially-Implements: bp portable-node-group-and-cluster-templates
Depends-On: I7a2ef7e5cff70e6034c1222252fbf7c5c35a7e1c
This change adds functions to saharaclient to enable export of ngt
to JSON.
Change-Id: I33c3b6daa5b9e2be218a84efdb6113a4ce9a86df
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Partially-Implements: bp portable-node-group-and-cluster-templates
This change adds command
'dataprocessing node group template import'
to OpenStack CLI.
Change-Id: I09866296c5b85910bf720d23d3213067f9f0a78a
|
| |
| |
| |
| |
| |
| |
| | |
Adding this parameter to create and update on the CLI
Change-Id: I792b4e7f0182e042086555f612d188d6dea03cf1
Closes-bug: #1630563
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
1. Update URLs according to document migration
2. Update the dead links
3. Optimize (e.g. http -> https)
Change-Id: Ib66107d24a5171676a73cde7ead487bef259a5d5
|
|/
|
|
|
|
|
|
|
|
|
| |
These such rules are:
- [S366, S367] Organize your imports according to the ``Import order``
- [S368] Must use a dict comprehension instead of a dict constructor with
a sequence of key-value pairs.
- [S373] Don't translate logs
- [S375] Use jsonutils from oslo_serialization instead of json
Change-Id: I909da6772f733e8282a8f304b829aab9b25d6203
|
|
|
|
|
|
|
| |
A small workaround is required for a specific parameter (see the
inline comment).
Change-Id: I1eac60cc8ca89a12dd568f5a12f70fdab9b76b62
|
|
|
|
|
|
|
|
| |
Log messages are no longer being translated. This removes all use
of the _LE, _LI, and _LW translation markers to simplify logging
and to avoid confusion with new contributions
Change-Id: I9fe2cdd1901980b06e68c34f98de56875f4cddcd
|
|
|
|
|
|
|
| |
While switching to openstackclient we use project instead
of tenant.
Change-Id: I1d6b80a88d3067809e2a9723ece4fbdf16042d73
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1.As mentioned in [1], we should avoid using
six.iteritems to achieve iterators. We can
use dict.items instead, as it will return
iterators in PY3 as well. And dict.items/keys
will more readable. 2.In py2, the performance
about list should be negligible, see the link [2].
[1] https://wiki.openstack.org/wiki/Python3
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html
Change-Id: I8b181c1b049105fdd698385c4aba3546126a53dc
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When I used command "dataprocessing job execute", the option
--input and --output must be defined otherwise I can't excute job.
Because it alwalys return error_code 404. Acutually, we can use
option --args to appoint input_url and output_url.So I think
--input and --output should be optional.
add:
test_job_execute_with_input_output_option()
Closes-Bug: #1670227
Change-Id: Ia2d3a19658ad78f7c07f444131dddf836bb8018e
|
|\ \ |
|