| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
-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
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
Add 'os_identity_api_version' to keystone_v3_conf_settings.
Deduplicate excessive _ironic_osc method.
Change-Id: I9b93ec8a299d3a69629bf294d23d1b1d9e23660e
Closes-Bug: #1646837
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 test to create a port with specific port group UUID
using --portgroup option in ironicclient.
Change-Id: Ib5124cd787e8504e61a8615a69937866c6b0b0b6
Partial-Bug: #1562035
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add sanity tests for the following commands:
portgroup-create,
portgroup-delete,
portgroup-list,
portgroup-show,
portgroup-update,
portgroup-port-list.
Portgroup API works since microversion 1.25.
Closes-Bug: #1562035
Change-Id: If629ba39d07c1a999d60c70b343619179bb3447e
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
OS_TENANT_NAME variable is deprecated in Devstack.
Replace it with OS_PROJECT_NAME variable in configuration script
tools/run_functional.sh which generates config dynamically.
Change-Id: I7b2fab37aeae6e37672b9b92f0b5ae49a1b2e2d9
Related-Bug: #1646837
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Soft reboot/poweroff is now being implemented in Ironic. And the
Ironic driver in Nova should support this new feature. This patch
adds soft reboot and soft poweroff states.
Co-Authored-By: Naohiro Tamura <naohirot@jp.fujitsu.com>
Partial-Bug: #1526226
Change-Id: Icd2859784f3df85c08162c14464bce58067aab1d
Depends-On: I1c9bbd1f11f6a8565607c874b3c99aa10eeb62a5
|
| | |/
|/|
| |
| |
| |
| |
| | |
Add CommandFailed exception to docstring of delete_node
method for python-ironicclient functional tests.
Change-Id: I6ba84579b9ff4ed0d29da33c8ab012bb772b0e83
|
| |/
|
|
|
|
|
|
|
| |
Explicitly use `--os-identity-api-version` option
for Baremetal OSC plugin functional tests
taking it's value from config.
Change-Id: I3eeb7cd029fe440684a5736eeb3b5788d1666a08
Closes-Bug: #1646837
|
| |
|
|
|
|
|
|
|
|
|
| |
The SafeConfigParser class has been renamed to ConfigParser in Python
3.2 [1]. The alias SafeConfigParser maybe removed in future versions of
Python 3. Use ConfigParser instead of SafeConfigParser in Python 3
[1] http://bugs.python.org/issue10627
Change-Id: I7b550cbd7b5d4c4fe3511c456b5f738030e07d5e
Closes-Bug: #1618666
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Test JSON response output to console for commands:
node-list,
node-show,
node-validate,
node-show-states,
node-create,
node-update.
Change-Id: Id1ebff7cedb6e5b9f657d869d71f49de270a5ef3
Partial-Bug: #1555680
|
| |/
|
|
|
|
|
|
| |
Negative tests for the Ironic CLI commands which checks actions with
chassis command like show, update, delete either using with arguments
or without arguments.
Change-Id: I7431febddbdf7b064932d208a36f99317145d5e7
|
| |\ |
|
| | |
| |
| |
| |
| | |
Change-Id: If35dad99a8e3cdd169827bd84dbe25fa0e83d031
Closes-Bug: #1563745
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Smoke tests for the Ironic CLI commands
which checks basic actions with port command like
create, update, delete etc.
Change-Id: I1a1447d81c28af21b054e9cd4c35f94b39ac0244
Closes-Bug: #1527515
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| | |
Add tempest to the test-requirements to use exceptions, utils
and output parser from tempest instead of reimplementing them in CLI tests.
Remove tempest-lib from test-requirements.
Change imports in functional tests.
Change-Id: Ide0e2478784e823443264fb36d29365741078625
|
| |/
|
|
| |
Change-Id: I79d5204a9749d55fa1229417a2b04735d1520456
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Closes-bug: #1540287
Change-Id: Ia8f1d41c828dd922559bf8fbcd1b331b0247faf1
|
| |/
|
|
|
|
|
|
|
| |
Smoke tests for the Ironic CLI commands
which checks basic actions with chassis command like
create, update, delete etc.
Change-Id: Ib9d34aca954d25b6074ca785d5c3ac1e06c4297a
Closes-Bug: #1527515
|
| |
|
|
|
|
|
|
| |
Smoke tests for the Ironic CLI commands which checks basic actions
with driver command: driver-list, driver-show, driver-properties.
Change-Id: Ibf81f97c1092817abae08e4d19fb55966e94f299
Closes-Bug: #1527515
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Smoke tests for the Ironic CLI commands
which checks basic actions with node command like
create, update, delete etc.
Add get_table_headers() method that allows to
get table header from cmd output.
Add 'utils' module
Table structure tests have been updated.
Change-Id: If60b3720e9ce9a6a6c7e35880bf3f9c661d6f259
Implements: blueprint ironicclient-functional-tests
|
|
|
Functional test environment uses ironicclient api directly(client managers),
this approach has some cons - it doesn't include cli code. So it would be
better to use tempest-lib for this. It makes call to ironic with Popen,
and has parsing tools.
This change doesn't add new test cases, some helper methods have been added.
blueprint ironicclient-functional-tests
Change-Id: Iee426c65ee227e8b7c32ac94f6cfc1001f94e112
|