The scenario_plugin.py was updated, however, the documentation still
has the old instruction for creating a plugin. Let's update that in-
struction. Let's also add 'required_services' and 'required_platform'
in the sample to make it more complete.
Change-Id: I6d36ea51a3ee32b94ab296c77195ee22652f40ec
The devstack deployer plugin was removed, however, the documentation
has not been updated. Let's update the documentation and remove that
tutorial.
Change-Id: Ideef4b2b70e182d9fa396fea6f00df0fa8cc4343
when we get 'nics' information from rally task config
'contexts', the type of self.config["nics"] is 'tuple', but we need it is 'list'
type.
Change-Id: If293700a5c0a2f30a23b1fcf808adb6e467c76c6
Closes-Bug: #1695245
It will allow to substitute completely the functionality
of `validate_share_proto` validation by the enum one, validating
the values in an insensitive way
Change-Id: I01d3f3787597b3ef41727f86fbad73e23b4442d7
* Use rally-neutron-existing-users job for testing scenarios which doesn't
require admin user.
* port task config to V2 format
* Put fake object into task validation in test_jobs.py to print task path
in logs.
Change-Id: I2615d55ff896f37c46daee962edfa853342f974c
The usage of positional argument was restricted for API call. This patch
fixes one issue related to it.
Change-Id: If26658ade68485d05eeac45051cdd78fe2750558
In function report, there is no paramter task_id, however, the
comments contain it, so remove it from comments.
Change-Id: I7ad36f305591bd281d58a8c0cd9777a71f9e17b2
Create a security group, then Create rules for the security group,
list all security group rules.
Measure the "neutron security-group-rule-create" and "neutron
security-group-rule-list" command performance.
Change-Id: Id6ceffcd59e20952cd0c5f00822ba5a80a700f3d
We have new format of atomic actions, it is a list.
Do not need to explicitly close original action.
Change-Id: Id18df8479732bbeccf4729344f82600a67091105
While abandoning alignment to OpenStack we forgot the case when custom
scenarios inherits from OpenStackScenario class, but do not setup proper
namespace(it was ok previously). This patch setups proper namespace and
prints a warning for plugin owner.
Change-Id: Icb2a27c8a8d607e6b2627dbd211f57801b24d5bc
If we send a request to remote server, we need api_wrapper
to restore enough info which includes requests' path and the type of
request.
Change-Id: Ia3add4e0827462b7e45062aa801ecb9a1a129d18
While validating a single sample, rally obtains a new deployment object
from the database. Since we have hundreds of samples, validation of each
single sample performs redundant steps, such as authentication.
This patch mocks obtaining deployment objects with special method
get_credentials_for with cache mechanism.
Change-Id: I51d6e3aa7897c100d114f978883cd4526b0222ba
The validation of all samples takes too much time. It is an attempt to
speed up the check by using broker pattern (validate several samples in
parallel).
Change-Id: I370ad1a67506fee0800783b5ed2ba1beab890f98
There are 2 cases:
* SLA section is missed in original task config
* Task is not finished yet
In both this cases `rally task list` or other command which obtains task
results will fail with `ERROR rally KeyError: 'sla'`.
This patch fixes assumption that sla results present in all case.
Change-Id: Ia3371733e08ca7e60dc490e3cc5a55b06da83ca0
Oslo.config deprecated parameter enforce_type and change its default
value to True in Ifa552de0a994e40388cbc9f7dbaa55700ca276b0. Remove the
usage of it to avoid DeprecationWarning: "Using the 'enforce_type'
argument is deprecated in version '4.0' and will be removed in version
'5.0': The argument enforce_type has changed its default value to True
and then will be removed completely."
Related--Bug: #1517839
Change-Id: I643e23f358e6a71f5361daa9cc2ef5ebdd44c792
1) custom_image context is a base class, not the final context, so it should
not be initialized with configure decorator
2) set public visibility for image should be called only in case of presence
of admin user
3) fix delete_image (the wrong type of object was expected there)
4) use Image service instead of GlanceWrapper which is deprecated now
Change-Id: I3fcebf5f6b25c0d50c04d28de07cadebd1ba8c09