43 Commits

Author SHA1 Message Date
Jenkins
b95ee2916a Merge "Add create-check-delete stack scenario" 2015-03-11 15:09:08 +00:00
Jenkins
6458d0afa5 Merge "Add create-suspend-resume-delete stack scenario" 2015-03-11 15:04:49 +00:00
Jenkins
dfa302f541 Merge "Implement create_and_upload_volume_to_image scenario for Cinder" 2015-03-09 17:44:49 +00:00
Ivan Kolodyazhny
8afb31c2dc Implement create_and_upload_volume_to_image scenario for Cinder
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
2015-03-06 17:50:32 +02:00
Jenkins
64e210db2d Merge "Add scenarios for live migration of an instance with volumes" 2015-03-06 13:59:50 +00:00
kairat_kushaev
3874076733 Add create-check-delete stack scenario
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
2015-03-06 12:38:51 +03:00
kairat_kushaev
354ab30c1c Add create-suspend-resume-delete stack scenario
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
2015-03-06 12:33:50 +03:00
Marian Krcmarik
c3b96cc95b Add scenarios for live migration of an instance with volumes
* 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
2015-03-05 16:23:46 +01:00
kairat_kushaev
de3c40ffed Add security group for neutron ports
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
2015-03-05 16:02:39 +03:00
nayna-patel
cbeeb57a57 Adds Designate server-list scenario
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
2015-02-27 04:05:41 +00:00
Boris Pavlovic
736167aea8 Add warnings to not use Tempest benchmarks against production cloud
Change-Id: I3c9af7b3c72ebc17e6c5ea572117594220679b05
2015-02-25 09:55:47 +03:00
ravikumar-venkatesan
48cf7baa1f Adds Nova keypair tests
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
2015-02-23 10:14:25 +00:00
Jenkins
cbb90a79d9 Merge "Add list-stack-with-resources scenario" 2015-02-21 13:25:14 +00:00
kairat_kushaev
24eff5a887 Add list-stack-with-resources scenario
Added scenario that allows to test list_resources(stack) command
in Heat. In addition, added samples and unittest for the scenario.

Change-Id: I05c8dd12807756d35191a79820f3ff9ec0ab35ac
2015-02-19 11:33:19 +03:00
Jenkins
7f468d8389 Merge "Add create and delete routers scenarios for Neutron" 2015-02-17 10:31:52 +00:00
Prabhjyot Singh Sodhi
d9ea74700f Add create and delete routers scenarios for Neutron
NeutronNetwork.create_and_delete_routers

blueprint: benchmark-scenarios-for-neutron

Change-Id: I37fede5adffc6207406c83820af156f923450598
2015-02-16 23:12:53 +05:30
Jenkins
f1475e0a84 Merge "Add update + add/delete resource cases" 2015-02-13 12:04:49 +00:00
Jenkins
effff59037 Merge "Add "update-inplace/replace resource" cases" 2015-02-12 16:06:30 +00:00
Jenkins
3f5e5ee36f Merge "Add create-update-delete stack scenario" 2015-02-11 11:20:01 +00:00
kairat_kushaev
f7ce01c888 Add update + add/delete resource cases
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
2015-02-11 11:33:13 +03:00
kairat_kushaev
7fb95d178a Add "update-inplace/replace resource" cases
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
2015-02-11 11:31:44 +03:00
kairat_kushaev
2fe25740bb Add create-update-delete stack scenario
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
2015-02-10 17:03:00 +03:00
Marco Morais
5951c7e043 Support scenarios for updating neutron quotas
* 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
2015-02-10 14:32:30 +02:00
Anastasia Kuznetsova
717de8291e Add Mistral benchmark
- added Mistral client initialization
- added Mistral scenarios
- added unit tests

Change-Id: Ie60a36504a970e6acb369adc570a556e549c20e1
2015-02-06 16:56:53 +04:00
Jenkins
d347a9d9e5 Merge "Adds Designate server tests" 2015-02-04 12:37:11 +00:00
kairat_kushaev
e4aba07ae2 Fix template paths in heat samples
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
2015-02-04 12:54:18 +03:00
ravikumar-venkatesan
f18816d474 Adds Designate server tests
This submission adds three methods to
rally/benchmark/scenarios/designate/basic.py
1) def create_and_list_servers
2) def list_servers
3) def create_and_delete_servers

Also, Adds methods to "utils.py" under
"rally/benchmark/scenarios/designate"
1) def _create_server
2) def _list_servers
3) def _delete_server

Added configuration files for server operations under
samples/tasks/scenarios/designate
1) create-and-delete-servers.json
2) create-and-delete-servers.yaml
3) create-and-list-servers.json
4) create-and-list-servers.yaml

Added unittests to test_utils.py, test_basic.py under
tests/unit/benchmark/scenarios/designate

Change-Id: I802b40b87aa064ac138b97395e3e56da40f33d74
2015-02-03 11:38:34 +00:00
jacobliberman
b1cad65d16 Replace ' with " in [doc, samples]
Partial bug: 1405884

Change-Id: If6bebfbdd1243adb88fcc3cb015c8f15399e8934
2015-01-29 10:28:46 -06:00
Jesse Keating
cf2f121515 Replace deprecated max_failure_precent sla
The new sla is a failure_rate with min/max sub-keys. Update the
documentation and examples to reflect this.

Change-Id: Id947e4684aa84fe7d6c239a28b92e2a893ddaf66
2015-01-26 13:03:29 -08:00
Anton Arefiev
67ed016a73 Add cinder scenario: create volume from volume(clone)
Change-Id: I8861a84d2bb607347162f5fb96516a025099f1b2
2015-01-22 15:41:53 +02:00
Anton Arefiev
a1c8e313bc Add image arg for creating volume from image
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
2015-01-22 15:41:41 +02:00
Jenkins
d74f2f03cd Merge "Update location to samples" 2015-01-22 11:56:20 +00:00
Jesse Keating
ade9148b21 Update location to samples
With the docs reorg, the path to the samples/ directory changed. This updates
the tasks/code/docs that referenced it.

Change-Id: Ie1d6756b97ff631588e069ba58969dc505c1572c
2015-01-21 10:13:19 -08:00
Nikita Konovalov
32122a553c [Sahara] Add Cloudera plugin support
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
2015-01-21 17:57:17 +03:00
Jenkins
ecb4fba017 Merge "Add list_snapshots scenario for Cinder test" 2015-01-21 12:21:53 +00:00
Wataru Takase
4635a212e6 Add cold migrate scenario for Nova test
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
2015-01-21 10:34:59 +01:00
Jenkins
930394d3e9 Merge "Add extend_volume scenario for Cinder test" 2015-01-20 18:35:02 +00:00
Yuriy Nesenenko
91ed064c4f Add extend_volume scenario for Cinder test
Change-Id: I668e6568358c0274adbae8d34e2df6ecf091ec3f
2015-01-20 18:55:05 +02:00
Yuriy Nesenenko
49ae92d59e Add list_snapshots scenario for Cinder test
Change-Id: I7e8bb7880f2e004332ea0e11c54e7242d89744c9
2015-01-20 16:00:38 +00:00
Jenkins
9f0e11b028 Merge "Restructure Rally docs" 2015-01-20 01:51:34 +00:00
Mikhail Dubov
1ceb1555f3 Restructure Rally docs
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
2015-01-20 00:27:30 +03:00
Alexander Maretskiy
1f7fab6079 Improvements for scenario VMTasks.boot_runcommand_delete
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
2015-01-19 19:51:42 +02:00
Shahifali Agrawal
9f6838be8d Moving rally/doc/samples to rally/samples
Moving samples to root forlder for easy access.

Change-Id: I050c8d7580282b898be77156f65cdbce75a4dbb4
Closes-Bug: 1409836
2015-01-16 05:54:09 -08:00