- move from ubuntu:14.04 base image to ubuntu:16.04 .
Ubuntu 16.04 is current/latest LTS release. Let's use it.
- pre-install vim
It is a "feaute request". Users like to experiment and modify samples
inside container.
- pre-install bash-completion
Rally provides bash-completion script, but uit doesn't work without
installed `bash-completion` package.
- remove '-e' from execution of `echo`.
This flag is not required, even more it is redundant.
- add sudo rights to rally user
Rally is a pluggable framework. External plugins can require installation
of additional python or system packages.
Change-Id: I9540343adbb48fded5531bd3c819396cdb7328df
Now keystoneclient are separeted into 2 parts: working with resources
and authorization part. Secand part was moved into keystoneauth1 repo.
That patch is intended to drop depraceted usage of keystoneclient for
authorization in favor of keystoneauth1. Furthermore, in the next patch
we are going to use keystoneauth1 session for initialization of clients
where its possible.
Also :
* Remove deprecated register decorator from osclient
* Use _get_endpoint() in proper places
* Refactor create_client in Keystone
* Refactor unit tests in test_osclients
Change-Id: If67dffcd27f9bc3e7484d02eac62035c82415c3a
If the OpenStack env does not have a 'member' role, the
rally task will get a WARNING: Unable to set member role
to created user. And then task will stop due to the 401
Unauthorized error.
This patch adds default role to rally config. So for each,
test, rally will create the test user with the set
keystone_default_role.
Closes-Bug: #1595081
Change-Id: Ic97ce50f40d3a3e7f9e8fc6ef142c5465ab41a51
Both cover and cover-master directories will be created
during coverage test. This patch add cover-master to
gitignore file to avoid including coverage test result
into commit.
Change-Id: I3e330630454ce19c7aa3d41993f976c6082726eb
While we are not depend on OpenStack global-requirements, we need to be synced
with it to be sure that Rally compatible with all OpenStack related stuff.
This patch provides new helper script, which checks versions from g-r, correct
license and latest version from pypi.
The usage is simple:
# sync rally requirements with g-r
tox -e requirements
# just format rally requirements
tox -e requirements -- --format
# sync rally requirements with g-r & add upper limits for all packages
tox -e requirements -- --add-uppers
Also, this patch formats Rally requirements in unified form, puts right
licenses to requirements and adds rally licenses in correct way in setup.cfg
Change-Id: Ia50694f636d9f80f08d90cc8133ebac8bb3f8671
1. Help messages and doc strings for 'install plugin' related methods
were edited for a better understanding what they are intended for.
2. 'Permission denied' and dependencies issues were fixed when calling
`rally verify installplugin` wirh --system-wide argument.
3. Now Tempest and plugins directory are located in the same directory
(for-deployment-<deployment-UUID>), which is convenient for changing
code.
Change-Id: I81664aff446542ce230a067d3d09449598d907e6
For now we have output of small floats in scientific notation:
3.79085540771e-05
Fix that to 0.000037. Also floats in fixed place will output as:
0.0000001 -> 0.0
0.000000 -> 0.0
37 -> 37.0
1.0000001 -> 1.0
1.0000011 -> 1.000001
1.0000019 -> 1.000002
This can be made in different ways like:
"%f" % float(decimal.Decimal(num).normalize())
or in more weird way but I choose that one (see in the patch) like
the most flat, simple and explicit.
Change-Id: I4b9cdbb01f3f8e2eeaedc9d33e1203247ea79f89
This patch set registers Watcher as Service for Rally and
adds Watcher Goal and Strategy Types with related unit tests.
Also it adds *.DS_Store type to gitignore and python-watcherclient
to the requirements.txt to support Watcher in future.
Change-Id: I0ed4154bdb497d76b768c0eace74940f8811a8e8
Flavor existence check with ID returns the flavor even though
that flavor is deleted. Using flavor name is more consistent
with deleted flavors and works across openstack releases
reliably
Change-Id: I563fab6eeb849405bc520c1cae425a1ff0d56ff2
LOG.warn is deprecated. It still used in a few places. This updates
those one to use the non-deprecated LOG.warning instead.
Change-Id: Idb0f7ac1f8788ed0a119fb34b56f8ead32e2b85f
Partial-Bug:#1508442
We have a lot of validators for scenarios, but we do not check input
arguments. There are two cases:
1) user forget specify some argument;
2) user specify redundant argument
In both cases, we will get "TypeError" for each iteration.
This validator is not implemented like others, since it doesn't need
constructed clients and it looks like more syntax check.
Also, this patch fixes one of our samples:
samples/tasks/scenarios/dummy/dummy-random-action.[json/yaml]
Change-Id: Id3aad571dfc93f8074c724595440979cfd435e2c
This command allows us to install a Tempest plugin from a repository.
E.g.
$ rally verify installplugin --source https://github.com/MBonell/hello-world-tempest-plugin
$ rally verify installplugin --source /home/ubuntu/my-plugin
Implements Blueprint: install-tempest-plugins
Change-Id: I03ac6063b6b9d7f860379b99f3b524adedba6df9
This resolves issue with Pie chart layout on tab
Details->Distribution in case if there are too many atomic
actions. Sometimes Pie chart becomes so small that it is
not possible to determine results.
This patch makes Details->Distribution charts (Pie+Histogram)
layout conditional. If there are 9 or more atomic actions,
then Pie chart takes 100% width and Histogram is shown
under Pie chart.
Change-Id: I67cbea5c60500b14ae3ae1a8f837d3a78ebf63e4