Before this field was introduced we would raise BadRequest (HTTP 400),
after - NotAcceptable (HTTP 406).
Check for any of the exceptions to allow branchless testing.
Change-Id: I3fafd4ef7f046a9195fc15f47f7fc967fb959550
Currently, these tests rely on an arbitrary chosen version, without checking
if the installation supports it. This results in failures on older installations.
Change these tests to not request any version, thus using the minimum available one.
Change-Id: I624fbad36d25328b6eb6c38a9a5fb5837e6751d4
Added a tempest test to create a cinder volume, then create a
server with appropriate config options for block device mapping.
That will result in the baremetal node to boot from the cinder
volume.
Change-Id: Ife0db2b8a1e639ac1e3d617b981eb81f793a71f1
Partial-bug: #1559691
Change I8b30764d797f2f8b45c2ae46ce559e74e0281a49 added tempest tests for
the port.physical_network field. In that review, it was noted that the
negative tests should have a decorator applied to mark them as negative.
This change applies that decorator.
Change-Id: I69446703894b89596183c50482a4286eaac4ed42
Related-Bug: #1666009
This change adds tests to the ironic tempest plugin to cover the
API changes made for the physical network awareness feature in
I7023a1d6618608c867c31396fa677d3016ca493e.
Change-Id: I8b30764d797f2f8b45c2ae46ce559e74e0281a49
Partial-Bug: #1666009
The link is broken due to doc-migration, this patch fixes following
broken links:
- the link to tempest plugin
- the link to running tempest part in ironic dev-quickstart
Change-Id: I7b4287ad74795712fb81d3177d950450c0dadf65
Function 'tempest.test.attr()' has moved to 'tempest.lib.decorators
.attr()' in Pike and will be removed in a future version[1].
This patch replaces the 'tempest.test.attr()' with the 'tempest.lib
.decorators.attr().'
[1] Iaafbb112b6eee458089cc49918359a8a8d0485e2
Change-Id: Ib0384f67b3fdd8812eaa9a71ba2f3ead17b04577
Function 'tempest.test.attr()' has moved to 'tempest.lib.decorators
.attr()' in Pike and will be removed in a future version[1].
This patch replaces the 'tempest.test.attr()' with the 'tempest.lib
.decorators.attr().'
[1] Iaafbb112b6eee458089cc49918359a8a8d0485e2
Change-Id: If39f271124be63888073d3179090e508b4b1bc1f
Function 'tempest.test.attr()' has moved to 'tempest.lib.decorators
.attr()' in Pike and will be removed in a future version[1].
This patch replaces the 'tempest.test.attr()' with the 'tempest.lib
.decorators.attr().'
[1] Iaafbb112b6eee458089cc49918359a8a8d0485e2
Change-Id: I4796a1e10311cae2910e0d3ee5d0cb8368fbed1e
Add following tests:
Create new node with specified longest name of resource class.
Update existing node with specified resource class.
Show resource class field of specified node.
List nodes of specified resource class only.
Get detailed nodes list of specified resource class only.
Try to create a node with too long resource class name.
Try to update a node with too long resource class name.
Try to create a node with resource class using older api version.
Try to update a node with resource class using older api version.
Try to list nodes with resource class using older api version.
Closes-Bug: #1668605
Change-Id: If412a2aeab2ab457f04067cf296cac80b4378482
There might be cases when user deleted port before doing vif_detach.
With this patch info message will be shown in the logs for such cases.
Change-Id: Ic3c5073130a4839f27692db1862100bdd7dfca1e
This patch defines min_microversion for API portgroup tests to
skip them when this API version is not supported/available.
For example on stable/mitaka branches.
Change-Id: I8895e1e6a819b5b3821fdfc10e1cff8626c9eb29
Add more checks to the test_vifs test:
- check that attached VIF appears in port internal_info;
- check that VIF was detached and does not appear in
node's VIF list anymore.
Add test for VIF attachement to node with portgroup.
Partial-Bug: #1666534
Change-Id: I755df18e03d01fe93f85df114b979ea7ea70ca53
add back some methods that were pruned. They are used in tests running
on stable branches.
Change-Id: I2e0c979f870777d3f643ab8b87c5b1f0b9601c34
Closes-Bug: #1674597
Adds two tests that uses direct HTTP link instead of glance:
* pxe_ipmitool + wholedisk on HTTP server
* agent_ipmitool + wholedisk on HTTP server
Change-Id: I8f1a5b0ecb3d53ffdefd7018c1b9700210572ffc
Remove unused code from manager.py to better identify ironic
dependencies on this tempest interface. This is a follow-up
patch to https://review.openstack.org/#/c/439252/.
Change-Id: I3ca7cf3af42e0e55431d5affa36e567f147aa850
Set the ADMIN_CREDS global variable inside the Manager class
constructor instead of doing it on module import.
Change-Id: I8c82fa077f316c747a37e31980f7c2d74986bad2
Closes-Bug: 1671813
Test for the following actions were added:
* getting driver's properties
* getting driver's RAID logical disk properties
Change-Id: I395bc4f512a731ab4bfe8ac6a2d850816696400f
This updates the docstring for tempest plugin's
BaseBaremetalTest._assertExpected() so that it clarifies
what it is doing and what the parameters are.
Change-Id: Icd61bbbdc0f0633a93adef89652d54a87d835534
Consider standalone Ironic environment as Neutron-less.
Skip VIF tests because they fail in standalone Ironic.
Change-Id: I55e78712b74ca074e5ff18a885a3057b1072fed0
tempest.lib.common.utils.misc.find_test_caller has been moved into
the tempest.lib.common.utils.test_utils module. Calling the
find_test_caller function with its old location is deprecated in Newton.
Change-Id: If8219363aa597326b431b436c85914db5018452a