API check_role_inference_rule in roles_client only tested in
test_roles_client.py, but there is not api test for it. Also,
API show_role_inference_rule is called in api tests, but the
content of show_role_inference_rule has never been checked.
This patch is to provide tests for these two APIs.
Change-Id: I0b388e8f0149f5e721c920610d66057a1612cccd
This is to move logging extensions list before assert checks,
so if the testcase failes we can see the log info.
Change-Id: Ia7d2d207440da5355d2505b861c11f707ee7efe5
Since I95dafb51236b16474ec2d349334bb4339b0120ba the method has not
been used at all. Let's remove the method.
Change-Id: I945f5a1060b94a1d4f82fca3db629866076efa53
test_list_get_two_volume_attachments can be merged with
test_list_get_volume_attachments, thus we can save one
create_server and one create_volume.
test_list_get_two_volume_attachments is not used in defcore
so can be removed safely.
Besides, the comment about Liberty can be removed now because
Tempest doesn't support Liberty any longer.
Change-Id: I379b7b64cc563bfcd5a064b686bfa96024af3344
CONF.compute_feature_enabled.cold_migration should be checked
for migrate_server, this is to use the right skip condition
for migrate_server.
Change-Id: Iab825968861a867c788930f3ce27c62cd2323d3c
This commit removes the heat tests from tempest, we've been pushing for
these to become a plugin for a long time without any progress. In
addition the heat team has no desire to maintain these tests. [1] Since
they're not providing value anymore let's just delete them. Note, the
clients are not removed in this patch because other projects depend on
those and we shouldn't break those users. Ideally those interfaces
should be moved to lib and just left there.
[1] http://lists.openstack.org/pipermail/openstack-dev/2017-May/116170.html
Depends-On: I983de842f1bf84a939cbcda6c65185c694a69949
Change-Id: Ifc2cac575919da4e361eaa3234d7e0f3e2f98d21
The moved test classes inherit from an admin test class, and it
would be nice to exist under admin path like the other test classes.
NOTE: These test classes are not used from the other projects which
include Defcore. It is not necessary to take care of this move.
Change-Id: Ie1ba523dbe1ea88ce27a16d9975192d5ce752075
The word "Switch" is misspelled as "Swich" in one of the
releasenotes. This patch corrects the typo.
Change-Id: I8202f5fb47c83a6691765e0c1974c3dca3b6e80e
This is to use min_count=3 to create 3 servers, and then delete
one of the created servers, so to reduce the time of waiting for
one server to be active.
Besides, there is only one deleted server so needn't use a list,
thus the code can be more simple.
Change-Id: I1daabb64147bb9e0025ae7d7a0913254c966704f
Generally speaking resources are better not to be shared between
testcases, but testcases in ImagesOneServerTestJSON can share
one server because they have almost no effect on the server,
thus we can reduce the time of creating one server.
Change-Id: I16a786ad874bd7d85c0a517a6f7d7c16655a6234
In class method 'setup_clients' of volume tests, it defined api client
'admin_volume_types_client' for twice. This patch is to remove the
redundant one.
Change-Id: Ia91bc8829f2692ab57bc5e2b4d069eff0c94da64
Tempest has provided test for listing volume hosts, but lacks test
for showing details of a volume host. This patch adds the support.
Including:
[1] Add show host API to volume v2 hosts_client library
[2] Add release note
[3] Add test case for showing volume host details
[4] Add unit tests for hosts_client API
[5] Fix for test_list_hosts
Change-Id: I72e91bb86fbc65083aceb59a59b0a375904c7678
In order to test the interface of "force=False",
and distinguish with "force=True".
If the interface is "force=True",
we can create a snapshot from a in-use volume successfully.
Change-Id: I7a2002b274c8ccefc4e398c1ef362ebd7cdb1395
It could be confusing to new comers that the variables
cls.os and cls.os_primary or cls.alt_manager and cls.os_alt
actually are aliases. Besides we are not consistent in their usage.
This patch normalizes the usage around os_admin, os_primary and
os_alt. We keep the old aliases for compatibility but we should not
use them anymore.
This fix a long standing TODO item.
Change-Id: I5f7164f7a7ec5d4380ca22885000caa0183a0bf7
The moved test classes inherit from an admin test class, and it
would be nice to exist under admin path like the other test classes.
NOTE: These test classes are not used from the other projects which
include Defcore. It is not necessary to take care of this move.
Change-Id: I28b1acbb5b139614bd4f6a272410a4e4f1f989f7
test_device_tagging has been failing twice in the last 48h with
the following error: "mount: mounting /dev/sr0 on /mnt failed: Device or
resource busy".
Add the result of the lsblk command to see whether /dev/sr0 exists
and /mnt is not already mounted.
Change-Id: I7067b87cad79f98cdf6eff83809d96dd0ac3ed2f
It should be possible to extend a Cinder volume even if it has one
or several snapshots. There was once a regression here (see #1470558)
Change-Id: I1b50795e9bb2c66554cade8f623ff2059029ab88
Related-Bug: #1470558
When default_domain_id configured is not 'default', it will
throw erros.
So use CONF.identity.default_domain_id instead of 'default'.
Change-Id: Idca1a4c70242ed8f72b01b9e5de7a3de47627a76
Closes-Bug: 1682984