Modules rally.plugins.openstack.context.cleanup.manager and
rally.plugins.openstack.context.cleanup.resources were deprecated in
previous release and we ready to remove them, since the produce a lot of
redundant warning messages.
__init__ module should be empty, so code from
rally.plugins.openstack.context.cleanup.__init__ moves to
-> rally.plugins.openstack.context.cleanup.admin (AdminCleanup)
-> rally.plugins.openstack.context.cleanup.user (UserCleanup)
-> rally.plugins.openstack.context.cleanup.base (base stuff)
Also tests.unit.plugins.openstack.context.test_cleanup is refactored too.
Change-Id: I25cf5750cb2de0d5652dc44db75818a5e10626eb
9eb7f644 changed the 'server_kwargs' argument of
boot_and_delete_server_with_keypair to 'boot_server_kwargs', but
didn't add any backwards compatibility for it. This adds the necessary
compatibility in order to avoid breaking that scenario outright.
Change-Id: I1083a48d2f0cfbedb8dc35df475857313fabfd8d
Most our docstrings are used for auto-generation docs, so it would be
nice to mark code blocks with correct identifiers.
Also, this patch fixes next issues:
- CobblerProvider: json doesn't support comments
- OpenStackProvider: Remove "\n" from json since docutils transforms it
to new line.
Change-Id: Ia3762dc00e093b1bc0669f55032f5224db625bcd
When running a scenario, `kwargs` is used as default key-word arguments.
But in some scenarios, there are more and one services being called, and
we use xxx_kwargs for this case.
However, some xxx_kwargs are not unifed for same usage[0]. Unifying
these could avoid midleading for end users. Another improvement is to
add xxx_kwargs with empty settings for scenario config files.
[0] http://paste.openstack.org/show/489505/
Change-Id: I80f49be5c1cd21812d6b2d56b0f4279f0cf4f402
This will allow us to perform cleanup based on the name.
Change-Id: I400fa73743367f075f7fd4cb1ff0a254a38c6785
Implements: blueprint cleanup-refactoring
VM task scenarios executes a script with a interpreter provided through
a formatted argument called 'command' which expects the remote_path or local_path
of the script and optionally an interpreter with which the script has to be
executed.
Change-Id: If2e65b553a0f26180267ef0b8e2239e3efe4ea17
- Add "Contents" add the top of page
- Mark each group of plugin as a Category and make it's name as a link
- Mark each plugin as a Sub-category and make it's name as a link
- Parse plugin description and parameters instead of displaying them as quotes
- Add pluging's namespaces
- Add references to github for each plugin module
- Add "Table Of Contents" sidebar(already used at readthedocs, but was missed
from http://docs.openstack.org/developer/rally/)
Change-Id: I8889ccc7f82b0f46495ce607c242d37242360a25
To relieve memory pressure, the unstable neutron rally job's
flavors were changed from m1.tiny to m1.nano.
Change-Id: I7e687172d1cdd5d0e0421d936ebffa4965b3082f
Closes-Bug: #1544730
The keystone service create scenario will complain about wrong
argument type with keystone v3 API,
While the third argument is a boolean value indicating whether
the service is enabled in v3, it was a string value to describe
service description in v2.
This commit fixes the issue by simply using the keyword
for the description argument as it is accepted in both versions.
Change-Id: Iba1b5f09b8efbf6a73d34e913bc3083cf57d2451
Closes-Bug: #1469897
Added information about debugging unit test with tox.
Replace 3 references to py26 with py34 to reflect current
rally tox configuration.
Co-Authored-By: Illia Khudoshyn <ikhudoshyn@mirantis.com>
Change-Id: I10c865fae473111b35dca1b9c8f51f31ba066b42
closes-bug: 1547265