Pep8 job currently fails complaining about I202 in a bunch of
modules. This change fixes the genuine errors in the module
import order, and adds I202 to the skip list so that we don't
have to add noqa comments everywhere we can not satisfy the
check. After we split out the tempest plugin, we'll remove
I202 from the ignore list and add noqa comments in the places
where it will still be needed.
Change-Id: Ia170a41d35dea8c9eda2b36c907dbc518169a824
Function 'tempest.test.services()' has moved to
'tempest.common.utils.services()' in version 'Pike'.
This commit update tests accordingly.
Change-Id: I1924ccabb1eef8913c1e20775df21ccbef1e6095
In tempest, alias 'admin_manager' has been moved to 'os_admin'
'alt_manager' to 'os_alt' and 'manager' to 'os_primary' in
version Pike, and it will be removed in version Queens[1].
[1]I5f7164f7a7ec5d4380ca22885000caa0183a0bf7
Change-Id: Ifec0e661031647555dbc03ad1000c50c590afa8c
Closes-bug: 1697588
This patch updates vif_attach from NeutronVIFPortIDMixin to rely
on presence of Neutron. Drop incorrect logic that skips mac_address
update when show_port() to neutron failed as NeutronVIFPortIDMixin
is used only in flat and neutron network interfaces which require
neutron presence.
Update api tests to use real neutron port.
Change-Id: Iffaf3569aa296b4466729cf7f62c92995b6b3723
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