As of I83b46e223e85306b0e54f1d19cbbc7f21489e759,
glance_image_delete_timeout and glance_image_delete_poll_interval
have been moved from rally.plugins.openstack.wrappers.glance to
rally.plugins.openstack.scenarios.glance.utils. So, if a module
using the options doesn't import the glance.utils module, we should
add import_opt for the options. Otherwise NoSuchOptError might be
raised when the options are being used.
Closes-Bug: 1579855
Change-Id: Ia05be0997680e2c91dc5d19bc6e36d70c6b07690
For now Rally always installs Tempest from the master branch. It is not
very convenient because Tempest may be broken in the master branch and
it would be very useful to use some commit or tag for Tempest.
So this commit adds a possibility to checkout the specified commit or
tag before Tempest installation.
Change-Id: Icfbb4221005466139c14d3f4aae34bbb3e013982
The arg of image must be None,when booting server from volume.
Otherwise still boot server from image
Change-Id: I348c5971f2375f8de08b9fd8f021ea09906ff844
Closes-Bug: #1578556
Since context configuration passed to Context.__init__() is
a mutable type (dict or list), sometimes we have unexpected
changes done by unpredictable code (for example, in wrappers).
This patch uses types `common.utils.LockedDict' and `tuple'
for locking this data from further changes.
Also there was missing unit test for Context.__init__()
with DEFAULT_CONFIG set - this unit test is added.
Change-Id: Ic1f11281fcf95b35d9fbb3ee82cb1d67f1d8abd7
Closes-Bug: #1570328
If you run `tox -e py27` you'll see redundant output to user:
* Failed to consume a task from the queue:
It was printed multiple times. To found the place where it was
occured you may run exact unit test.
Fix the test by mock proper logging.
Change-Id: I6fa99e93c0fe680fc7decf62c701032ad92bf32a
This test is calling cleanup method that uses publish/consume approach.
Threads created by this method may be completed in any order and test is
failing because of wrong order of calls.
Fixed by ignoring order of calls.
Change-Id: Id7344d1a52c0757184bf1793510fe60cc5a78ce2
This makes several places (Nova, Cinder, verify) use the glance
wrapper while accessing glance, which fixes various Glance v2
bugs.
Change-Id: I83b46e223e85306b0e54f1d19cbbc7f21489e759
Co-Authored-By: Srinivas Sakhamuri <srini.openstack@gmail.com>
Co-Authored-By: Yaroslav Lobankov <ylobankov@mirantis.com>
Rally team posts documentation at two places:
- http://rally.readthedocs.org/en/latest/ (preferable place)
- http://docs.openstack.org/developer/rally/
Most projects post docs at docs.o.o with oslosphinx theme. Since default
theme of sphinx is not so good, let's use official openstack theme instead.
Theme from oslosphinx has several issues:
- it is hard to find the link to home page of project documentation
- there is no sidebar with global content
Based on these two issues let's extend oslosphinx theme a bit.
Change-Id: Ifc75b430b7335c6a87a9102810ec33a5a913c43a
The release announce script looks for links using a regex. Update the
link block section of the README to match that regex.
Change-Id: Ie76ab2d3a95a4921823c39f04579791862c2dc06
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Parallelize "role" allocation to users using
threads to reduce Rally role context execution
time.
Change-Id: I667dd508defbf7629178c351aa819ca59c0625ca
Closes-Bug: #1501928