| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
We somehow manage to merge a patch that breaks them. Import the required
code from change Ibb8c4676f653c36978bd0c9815ddf7eb80fa8670.
Make sure we run functional tests on ironicclient/tests changes.
Change-Id: I94e2b3d9ae669f2522f42879dd3ee3bd78b73c77
Co-Authored-By: Kyrylo Romanenko <kromanenko@mirantis.com>
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add tests for options:
--extra
--pxe-enabled
--local-link-connection
Change-Id: Idf70f8b24df6439a6a4ece9c840d904a4bcb8a8a
Partial-Bug: #1566329
|
| |/
|
|
|
|
|
|
|
| |
As discussed during the upstream ironic community meeting on
Monday Dec 14 2020, the lower-constraints job is being removed.
Also fix functional tests.
Change-Id: Iafad733ac813da65ceb1864cb24af65e924732b7
|
| |
|
|
|
|
| |
It seems to have changed recently.
Change-Id: Ie84f5d9c3d657a49d4c443efdd695d69f5150142
|
| |
|
|
|
|
|
|
|
|
| |
Restore pep 8check for import order.
Set flake8-import-order version to 0.17.1
Full py3 compatible version.
Add all Python3 modules to stdlib list.
Also includes fix to an enum34 dependency bug.
Change-Id: I989a84e362a18225c6f79580b22bb028d3e265ff
|
| |
|
|
|
|
|
|
|
|
| |
Since we've dropped support for Python 2.7, it's time to look at
the bright future that Python 3.x will bring and stop forcing
compatibility with older versions.
This patch removes the six library from requirements, not
looking back.
Change-Id: I4b60638bb0268e5d1cf54fdf7d61964082536f4f
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ironic command is dead, long live the OSC baremetal command.
Also removed the json_respose tests, which seemed ot be geared
to checking json returned data on the command line. For ironic
these tests seemed to be very explicit for our CLI where as OSC
should be covering the return data handling, the only real end
effect is field level expectation enforcement in the functional
test... which seems excessive and un-needed.
Story: 1726605
Task: 11974
Depends-on: https://review.opendev.org/677183
Change-Id: I3e3ae416a65d8e01956434ba51bd3187ab001f80
|
| |
|
|
|
|
|
|
|
|
| |
This patch adds the following OSC commands:
* baremetal allocation set
* baremetal allocation unset
Change-Id: Id7c1c46a66d19c782af917f48d6bdb82193da73b
Story: 2005126
Task: 29797
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
-Switch functional job to run under python3
-Create a functional job to run under python2
-Create a tempest job to run under python2
-Create tox env to run functional tests under python3
-Validate if `USE_PYTHON3` is set to `True` to call
the correct env for tests
-Remove hardcoded path for client when running functional tests
- Update tests failures to work for python2 and python3
Change-Id: I55abc999f6f397b171d05fd9e9b39d833ca95e55
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
To move ironicclient legacy jobs to zuulv3 the the following changes
were necessary:
- Change `tox.ini` to pass envrioment variables
- Clean `post_test_hook.sh` to avoid legacy variables (`$USER` and
`$BASE`), removing `generate_testr_results` function since we only
get `testrepository.subunit` in logs and the results of the tests
are present in job-output file.
- Convert `post_test_hook.sh` and `run_functional.sh` into
`playbooks/functional/run.yaml` to run after the setup.
Change-Id: I6a5b3f82c238083b66bdf6f379092260d367d82d
|
| |/
|
|
|
|
|
|
|
| |
Adds OSC support for the deploy templates API.
Change-Id: I0f2f37e840449ee41f747e2a43ed6f53c927094e
Depends-On: https://review.openstack.org/631845
Story: 1722275
Task: 28678
|
| |
|
|
|
|
|
|
|
| |
Adds the Python API to create/list/view/delete allocations, as well
as the OpenStackClient commands.
Change-Id: Ib97ee888c4a7b6dfa38934f02372284aa4c781a0
Story: #2004341
Task: #28028
|
| |
|
|
|
|
|
|
|
|
| |
Adds conductor resource to the CLI, the support to list and show
conductor resource, and filter nodes by conductor field.
Story: 1724474
Task: 28066
Change-Id: I9644b9b1bbe2f4f5aa6e80a6bb7ab9b0a4663a6f
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Adds support for a node's ``deploy_step`` (read-only) field.
The deploy step indicates which step is being performed
during the deployment/provisioning of a node.
It is available starting with Bare Metal API version 1.44.
Depends-On: https://review.openstack.org/#/c/579968/
Change-Id: I93ac628bca0822a9a359926389543f7db7fb3e56
Story: #1753128
Task: #22925
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change will make possible adding a new functional job running
ironic in noauth mode, and accessing it with none auth plugin from
the tests. There was no decision if such job is needed, but still
seems to be a good thing to keep the code updated to correspond to
what is the intended way of working with noauth ironic.
Change-Id: I48cf37c87fdb74a3b38742a929698c9bd146d7d1
|
| |/
|
|
|
|
| |
The OSC plugin tests are also refactored to use one driver_name variable.
Change-Id: I5cc6976b306d866c0d84706581ddf235e05dc322
|
| |
|
|
|
|
|
|
| |
A result of node validation can be None when a driver has no
implementation of an interface. This patch accepts None as a result
of node validation in the JSON scehma test.
Change-Id: Ic36d855f30ca59c6ac8be01e49f8d21db7c9b052
|
| |
|
|
|
|
|
|
| |
The functional tests were updated to account for the initial state changed
to "enroll" and for new fields appearing in "show" and "update" responses.
Closes-Bug: #1671145
Change-Id: Ida18541fbbc8064868cac0accb6919de08e9f795
|
| |
|
|
|
|
|
|
| |
The way its implemented does not allow why exactly the schema validation
failed. This patch simplies the code by allowing the exception to simply
propagate to the test runner.
Change-Id: Ic825624138ab4f764df9fb300a357680febc4563
|
| |
|
|
|
|
|
|
|
|
|
| |
Now the default of OSC is the negotiated maximum version understood
by both the server and the client. The value of "1" is now equivalent
to "latest" as well.
This change also cleans up unit tests for the OSC plugin.
Change-Id: I489fee937a356b523eb35379dce3631195132fe5
Closes-Bug: #1671145
|
| |
|
|
|
|
|
| |
Zuul v2 uses 'jenkins' as user, but Zuul v3 uses 'zuul'.
Using $USER solves it for both cases.
Change-Id: I7db56d052012b107e1e63ab81e5d3bf6090f7d2f
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Enable the following off-by-default checks:
* [H204] Use assert(Not)Equal to check for equality.
* [H205] Use assert(Greater|Less)(Equal) for comparison.
* [H210] Require ‘autospec’, ‘spec’, or ‘spec_set’ in
mock.patch/mock.patch.object calls
Fix code that failed [H205] and [H210]
Change-Id: I7a553e7d40e328f37757fb504a098776cb9bf97c
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Add smoke tests for commands:
openstack baremetal driver list,
openstack baremetal driver show.
Change-Id: I7334e55fbf600190cbd7d4de086a73178bf83b4b
Partial-Bug: #1566329
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add 'os_identity_api_version' to keystone_v3_conf_settings.
Deduplicate excessive _ironic_osc method.
Change-Id: I9b93ec8a299d3a69629bf294d23d1b1d9e23660e
Closes-Bug: #1646837
|
| |\ \ \ |
|
| | | |/
| |/|
| | |
| | |
| | | |
Change-Id: I4957d06d3fe1a88930d30a4d29a379e18ef37c1d
Related-Bug: #1619052
|
| |\ \ \
| |_|/
|/| | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add test to create a port with specific portgroup UUID
using --port-group option in ironicclient OSC plugin.
Change-Id: I0678899098d78c2a5f6cc0557254b8635020703d
Partial-Bug: #1632646
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
At the Pike PTG, an issue was brought up regarding the use of an old API
version in the ironic tool [0]. It was suggested that we begin printing
a warning whenever the default API version is used and later default
to using the latest API version when --ironic-api-version is unspecified.
This patch adds this warning.
[0] https://etherpad.openstack.org/p/ironic-pike-ptg-operations L30
Change-Id: I80d553e4d3b007d8312931019037f495425b5ea5
Partial-Bug: #1671145
|
| |\ \ \
| |_|/
|/| | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
At the Pike PTG, an issue was brought up regarding the use of an old API
version in the ironic OpenStack CLI plugin. [0]
It was suggested that we begin printing a warning whenever the default
OSC API version is used and later default to using the latest API
version when --os-baremetal-api-version is unspecified.
This patch adds the warning discussed above.
[0] https://etherpad.openstack.org/p/ironic-pike-ptg-operations L30
Co-Authored-By: Dmitry Tantsur <dtantsur@redhat.com>
Partial-Bug: #1671145
Change-Id: I0cf4e737595405b7f9beff76a72ffd26e07e6277
|
| | |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add smoke tests for commands:
openstack baremetal chassis delete,
openstack baremetal chassis list,
openstack baremetal chassis show,
openstack baremetal chassis set,
openstack baremetal chassis unset.
Change-Id: Ie953a786f92539cfd5195cd8601360da63cea356
Partial-Bug: #1566329
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add tests for the following commands:
openstack baremetal port group create
openstack baremetal port group list
openstack baremetal port group delete
openstack baremetal port group show
openstack baremetal port group set
openstack baremetal port group unset
Partial-Bug: #1632646
Co-Authored-By: Kyrylo Romanenko <kromanenko@mirantis.com>
Change-Id: I12478596cfa551bb79e597e948b531cbec0eed84
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add sanity testcases for commands:
openstack baremetal node reboot,
openstack baremetal node power on,
openstack baremetal node power off.
Change-Id: I24bc2dcd1ef27d918b072ea686d53c0c8aa8b7ab
Partial-Bug: #1642597
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Move construct_cmd method to base of functional tests.
Also fix typo in method name and refactor this method.
Change-Id: I352e7a4bcf439d290d6c1a31145d285102743eca
|
| |\ \ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I2a8c699f1c50106cc85f8d97dc212941e28ad094
|
| |\ \ \ \ \
| |/ / / /
|/| | | | |
|
| | |/ / /
| | | |
| | | |
| | | | |
Change-Id: I56e64cc37ffbce448dfef3c9dc34c909c308c7b2
|
| |\ \ \ \
| |_|_|/
|/| | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Test JSON response output to console for commands:
chassis-list,
chassis-show,
chassis-create,
chassis-update,
chassis-node-list.
Partial-Bug: #1555680
Change-Id: Ib04d41a3f72af8c4783eff826641084774c927c6
|
| |\ \ \ \
| |_|_|/
|/| | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Test presence of next subcommands in help output:
node-vif-attach
node-vif-detach
node-vif-list
Change-Id: I5e6e8b590dd3e2fa7f8497c18a62b2f0e7ab923b
Related-Bug: #1662966
|