The constants of log levels were added in the 1.8 version of
the oslo.log library. So we can replace all usage of system
logging module with log module from oslo.log.
Change-Id: Ide50502f020eb1309648f4f9fc8a9c17aa1a1d9c
Add short options for '--smoke' and '--serial' to the tempest command
line arguments for compatibility with `run_tempest.sh`.
Change-Id: I2736637680f509e54c8c76df4a31490049dd4d4e
Manage/unmanage snapshots is an optional feature of Cinder, not every
backend supports it. Thus we should disable the related tests by
default, and enable them on supported backends.
Change-Id: I77be1cf85a946bf72e852f6378f0d7b43af8023a
This feature provides the ability to import/export volume snapshot
from one Cinder to another and to import snapshots that have not been
managed by Cinder from a storage back end to Cinder.
Added:
- Api for snapshot-unmange
- Api for snapshot-manage
- New client 'snapshot_manage_client'
- 'delete_snapshot' method
Note: Cinder V1 does not support unmanage & manage snapshot.
Change-Id: Ib02fe171b07814aa12d311171dceac834ecbfe39
The test was using the wrong variable for the TokenClient (token),
it has been merged since the patch who enables the feature was still
under review in DevStack. This patch fixes the issue by using the
correct variable name (non_admin_token).
Change-Id: Id97ca26f93b742cc3d8d49e98afc581f22360504
Several .testr.conf files have tests to check for the
PYTHON env variable and fallback to "python". For
several python3 scenarios, we should set the PYTHON
variable so these scenarios actually use python3.
Change-Id: I55335d946dfd031e4501ca465564a933fa487871
Now that Liberty is EOL, the feature flag is not needed anymore. But
we still need to deprecate it in order to remove it later.
Change-Id: I7073106988a79aad19c6b95bb050d2eaf00c36c0
The multi lines of addCleanup of server can be replaced by one calling
to addCleanup(base.delete_server)
Change-Id: I15d179b7131ada87c5a8841459adb81ddc7f56ab
Testcases should check the error message returned
by the system, not the error message defined in Tempest,
that is meaningless.
ref: https://tools.ietf.org/html/rfc7231#section-6.5.8
Change-Id: If84b7dc1f4b7681169d9041288169d81c5ebe586
This patches removes unnecessary utf-8 encoding in
tempest/api/orchestration/stacks/test_swift_resources.py
tempest/tests/lib/test_tempest_lib.py
doc/source/conf.py
releasenotes/source/conf.py
For tempest/api/baremetal/admin/test_chassis.py
==> Still need the encoding for Non-ASCII characters in the file
Change-Id: I2e1bff1f64dfe08f40562fa51e08a8ba25c9c3ae
As [1] mentioned, we should use dict.items instead of six.iteritems.
Let's use dict.items as it should return iterators in PY3 as well.
(As for PY2, the performance about list should be negligible)
[1] https://wiki.openstack.org/wiki/Python3
Change-Id: I77b3a71faa71b5f671daff3415e2ae58289fd3ca
In _check_expected_response, 'id' is no need to check,
so we can just remove it from cls.expected, instead of
skipping it in _check_expected_response.
Change-Id: I9a64264b4e30859450d7f1cacb1ce8ccbac740d9
The return value of _migrate_server_to is never used, and
it seems will not be used in the future. This is to remove
it for the code clean.
Change-Id: I81184ed26b3c72590a749540b3ab6f79db8eb571
test_update_attached_volume_with_nonexistent_volume_in_body has been
created for bug 1629110.
So this patch adds related_bug() for knowing related launchpad link
when the test fails on some envs.
Related-Bug: #1629110
Change-Id: I4f11831c03bb19955b90dbb6dbb6a992c9ea41c4