The `create_and_upload_volume_to_image' sceanario can not be run
on the DSVM gate with the default settings because it uses 1GB
Swift backend for Glance image store.
Change-Id: I41e1b391c560c7b9156e68c640531942cc8bf34c
The patch includes scenario that measures performance
for the following scenario steps:
- Create a new stack from template in Heat
- Check the created stack and its resources in Heat.
- Delete the stack.
The patch includes samples and unittests.
Change-Id: I512f5d5c01d8f5973b68672476e970c54000470b
The patch includes create-suspend-resume-delete scenario
with samples and unit tests. The scenario allows to test the
following typical steps:
- User creates a stack in Heat
- User suspends the stack
- User resumes the stack from previous step
- User deletes the stack
Change-Id: I38a075bb57dd8311f234e4c8e1585df05d087b92
* Add scenario for booting an instance from volume and then
live migrating it.
* Add scenario for booting an instance from image, attaching
a volume and then live migrating it.
* Add unit tests and conf files for new scenarios.
Change-Id: I96d6ddc623e5274bdccedadf7e3a68bd7d3733ee
During testing of scale heat rally test for neutron
(HeatStack.create_and_delete_stack) is falling because neutron
creates multiple security groups but nova cannot define which one
should it use. As a result nova cannot boot an instance.
The fix defines default security group in the
server_with_ports.yaml.template, so nova will choose
the one specific group.
In addition, the deprecated attribute network_id in the template
has been replaced with the network attribute.
Change-Id: I5e610f0fe3817fdbf6acd1e62ef7a5de3273874a
Closes-bug: #1428066
This submission adds method to
rally/benchmark/scenarios/designate/basic.py
1)def list_servers
Added configuration files for server operations under
samples/tasks/scenarios/designate
1) list-servers.json
2) list-servers.yaml
Also, added unittests to test_basic.py under
tests/unit/benchmark/scenarios/designate
Change-Id: I948f5e0c8beca963a9d6f1d388ea0410f2d107e3
This submission adds three methods to
rally/benchmark/scenarios/nova/utils.py
1) def create_keypair
2) def list_keypairs
3) def delete_keypair
Adds new file test_keypairs.py for nova
keypair scenarios
Added configuration files for keypair operations under
samples/tasks/scenarios/nova
1) create-and-list-keypairs.json
2) create-and-list-keypairs.yaml
3) create-and-delete-keypair.json
4) create-and-delete-keypair.yaml
5) boot-and-delete-server-with-keypairs.json
6) boot-and-delete-server-with-keypairs.yaml
Added unittests to test_utils.py and test_keypairs.py under
tests/unit/benchmark/scenarios/nova
Change-Id: Ic90d94d3dc925a9f225f760bfc550bf3e82e80b8
Added scenario that allows to test list_resources(stack) command
in Heat. In addition, added samples and unittest for the scenario.
Change-Id: I05c8dd12807756d35191a79820f3ff9ec0ab35ac
The patch defines the following complex cases for
create-update-delete stack scenario in rally tests for Heat:
Case 1:
- Heat creates a stack
- Heat updates the stack (stack resource is updating
and children resource is creating during stack-update)
- Heat deletes the stack
Case 2:
- Heat creates a stack
- Heat updates the stack (stack resource is updating and children
resource is deleting during stack-update)
- Heat deletes the stack
Change-Id: I9d420b316ce38fd73f8eb74c0be253ed1a20f7db
The patch adds the following test cases to
create-update-delete stack scenario:
Case 1:
- Heat creates a new stack
- Heat updates the stack and one of stack resources
without replacing the resource itself
- Heat deletes the stack
Case 2:
- Heat creates a stack
- Heat updates the stack and replaces one of stack resource with
the new resource
- Heat deletes the stack.
Change-Id: I9a263a6ee5832cd039f574d4515167eb691ec19f
The create-update-delete stack scenario executes the following
actions with using Heat:
- creates the new stack (with some resources)
- updates the stack and stack resoruces with the new template
- deletes the stack.
Unit-tests for the changes above are also included into patch.
Patch also adds rally test cases for stack create-update-delete
stack scenario (because rally tests require test scenario to be
used by test case samples):
Case 1:
- Heat creates a new stack
- Heat updates the stack with adding additional resource to
the stack
- Heat deletes the stack
Case 2:
- Heat creates a stack
- Heat updates the stack with deleting some resource from the
stack
- Heat deletes the stack.
Change-Id: I4c0ff24d0651434450a281a62670f1bd6c2a0000
* Add new scenario Quotas.neutron_update to exercise updating
quotas for neutron
* Modify _update_quotas to be able to support clients which
update quotas with an api different from nova and cinder
* Add test for ZaqarQueues list()
Co-Authored-By: Roman Vasilets <rvasilets@mirantis.com>
Co-Authored-By: Marco Morais <mmorais@yahoo-inc.com>
Change-Id: Ida19c02f831e1846bb96a239f4a2deb5ae417153
Fixed template paths in heat samples. Previous
version tried to find templates in the current folder but
these templates are placed in "templates" folder
Change-Id: I309f002b1ec570dd5ad3e5e6c83d6f538072afb5
The new sla is a failure_rate with min/max sub-keys. Update the
documentation and examples to reflect this.
Change-Id: Id947e4684aa84fe7d6c239a28b92e2a893ddaf66
This change adds image arg to next scenarios: create_volume,
create_and_delete_volume, create_and_list_volume.
Add nullable arg to image_exists for specify image require.
Change-Id: Idb2f80efa24d6f721bbdafc4644afc68d59552ac
With the docs reorg, the path to the samples/ directory changed. This updates
the tasks/code/docs that referenced it.
Change-Id: Ie1d6756b97ff631588e069ba58969dc505c1572c
Cloudera plugin added. The only supported version is 5.
Small refactorings:
* added manager role to set up Cloudera plugin properly
* HDP v2 also now has a manager node group
* node_count -> worker_count
Change-Id: Ia21f50527950ca127dc2d9dc1fedd0a7b4892ab0
Current Rally provides "boot_and_live_migrate_server" scenario, but doesn't
provide cold migration scenario. This patch adds the scenario named
"boot_and_migrate_server".
Change-Id: I681b66475f1a455e33d78e63abd73f67d3960e52
Modify Rally docs (for readthedocs), sticking to the following principles:
* Make the docs structure as simple as possible:
1. Overview
2. Install Rally
3. Rally step-by-step
4. User stories
5. Plugins
6. Contribute to Rally
7. Rally OS Gates
8. Request a New Feature
9. Project Info
* Keep in mind what questions different target groups usually have about Rally.
The new structure relates to these groups as follows:
1 -> Managers
2, 3, 4 -> QA
5, 6, 7, 8, 9 -> QA & Developers
* Make each docs page to be easy to get through;
* Prefer pictures over text;
* Use hyperlinks to easily navigate from page to page;
* Fix incorrect English & typos.
Also add a sample for SLA plugins.
Change-Id: I720d87be851c273689a21aaba87fc67eacf0f161
Allow to run this scenario for neutron-based cluster, add support
of network context, and generally simplify its usage by making networking
configuration as simple as possible.
So user gets rid of confusing configration and focus on main job -
running arbitrary script on VM.
Changes:
* neutron support (this scenario run only for nova-network before)
* usage of rally.benchmark.wrappers.network, so networking implementation
details are behind the scenes now and scenario code is simplier
* scenario args `fixed_network' and `use_floating_ip' are removed
because they make sense only for devstack where fixed network
is available, so that is absolutely unusable on any real OpenStack
and even confusing, so scenario will always use floating ip
* default `start_cidr' values are set to C-class network
* improvements in rally.benchmark.wrappers.network
Change-Id: I3ce9875dee3e62713afcab14cb8af35c27a2d083