Commit Graph

46 Commits

Author SHA1 Message Date
Boris Pavlovic
b09c20a02b Fix pbr and it's version checks (unblock gates)
New version of pbr 0.11 was released and it checks
that version in setup.cfg is bigger then latest tag

To avoid future issues we will let pbr calulate version
instead of hardcode them in setup.cfg

Temporary disable coverage job to merge this patch

Partial-bug: #1450731

Change-Id: I0c00c231cea1a0506107133803406eb56694f690
2015-05-01 10:51:03 +02:00
Joe H. Rahme
23f192284c Fixes a typo in the tutorial
Change-Id: I0e5fc231af8ef6088dbf4b123c90f8fd87a0c19c
2015-04-30 18:50:50 +03:00
Mikhail Dubov
8089fdd7b8 [Docs] Various fixes
* Remove obsolete rst files
* Structural changes: added a folder "miscellaneous" for articles not included
  in the main tree
* Small fixes in rst files that resulted in warnings while building the docs
* Task templates lesson is now the 4th in the tutorial

Change-Id: Id1db7e2337ca8266352a5ede68c66e4b3739335b
2015-04-20 23:02:17 +03:00
Swapnil Kulkarni
3fb277d122 Update stackforge to openstack
Found the issue while configuring devstack,
the libs were having stackforge location.

Change-Id: Ibd93eccb7d89cb6b06a1e8cc1d7d6f65ce52f352
2015-04-20 14:02:43 +05:30
Boris Pavlovic
03155f5246 Release 0.0.3
Relese notes for 0.0.3 version

Set new version in doc/source/conf.py

Set new version in setup.cfg

Change-Id: I0569af56525dbb64ffd8ca209cc2212f69dbbe68
2015-04-14 16:50:14 +03:00
Hugh Ma
d64e5a4b73 Replaced incorrect BenchmarkScenarios list command in doc
Changes:
  - 'rally info find BenchmarkScenarios" changed to
    'rally info BenchmarkScenarios'

Change-Id: I520962f4989d5ec89d8edd285283675cff278bd9
Closes-Bug: #1433985
2015-04-09 14:51:53 -07:00
Mikhail Dubov
a9d23f79fb [Docs] Remove subsection numberings in the Rally tutorial
The subsection (not chapter) numberings in Rally step-to-step manual make
little sense, since these sections are mostly indendent. So let's remove them.

Change-Id: I2f2e763d34807765418e67e6b92ff06f51f27c8d
2015-04-06 13:02:58 +03:00
Mikhail Dubov
34c4be98ce [Docs] Add tutorial chapter about task templates
Also fix missing images in step 4 (Aborting load generation on SLA failure)

Change-Id: I71243ad24a60d8cbc953f031ba8b60daf1e2f1ed
2015-04-03 14:10:16 +03:00
Sergey Skripnick
13aeb60ac0 Fix permissions issue in docker image
Now rally user in docker image is created with fixed id 65500
Also changed rally.conf to store rally.db in rally home directory

Change-Id: I476baf305b69052f5bd20da66b64616230f1e051
2015-03-20 16:12:48 +01:00
Boris Pavlovic
df2475d27e Release 0.0.2
* Add new section in docs for release_notes

* Write release notes for 0.0.1 and 0.0.2 versions

* Move doc/feature_request/stop_scenario_after_several_errors to implemented

* Various improvements and fixes in docs

Change-Id: I787e320db5f7a17044a76f345612cd29d515f3ca
2015-03-12 17:48:57 +03:00
Alexander Gubanov
7db3d7c7d4 Fix texts in docs
Docs has typos in examples for openrc file and bad delimiter for command output.

Change-Id: I12df331179f57877cd0105adf456a90ef59f527b
2015-03-11 16:12:32 +02:00
Mikhail Dubov
738d932aa5 Fix texts and images in docs
* Reuse the images from the repository in README
* Shrink the images to 800-1000px
* Fix incorrect sectioning, typos, missing info etc. on ReadTheDocs
* Add a tutorial step about the --abort-on-sla-failure feature
* Move Rally deployment engines to a separate tutorial step
* rally use deployment -> rally deployment use

Change-Id: Id5f492e40a041aa3308e9faa21b833220415323d
2015-03-10 15:08:15 +03:00
Sergey Skripnick
e62800fb21 Add few words in docs about installing docker
Change-Id: Ia26bafda40665b2ca9c264a5d5d014f803b03d87
2015-02-18 17:20:59 +01:00
Oleh Anufriiev
07e73cd579 Publishing functional tests reports
Change-Id: I4b7543e7244ecc776e6d0955c0428423cca3ad3c
2015-02-10 06:49:46 +02: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
Prabhjyot Singh Sodhi
a92d4bf252 Correcting minor typos
Change-Id: I7c8398d76c305e9f70be9a1a3737d1fe32b2268e
2015-01-26 17:18:48 +05:30
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
Nobuto MURATA
cfac0e012a fix devstack URL
fix the following error
fatal: repository 'https://git.openstack.org/cgit/openstack-dev/devstack/' not found

Change-Id: I61c3b948c76f95b46194141de31861056153bcfc
2015-01-12 23:47:08 +09:00
liyingjun
9f498a0c04 Move JSON_SCHEMA to rally.consts
Change-Id: I918999306bbc6577b2b86761ea9da5e61dfa5a58
2015-01-09 09:09:15 +08:00
Jesse Keating
8e8dcf9360 Don't hard set keystone endpoint
Keystone client utilizes the auth_url provided to it in order to
discover the appropriate end point for the action. It will either use
the publicURL or the adminURL it gets in the service catalog for the
identity service. UNLESS caller to the keystone client hard sets the
endpoint key, in which case keystone will blindly use it instead of
looking in the catalog. Because rally was setting it, rally also had to
set it differently when doing admin level stuff, but rally doesn't have
to do that at all. Rally can rely on the service catalog and let
keystone sort it out.

This change removes manually setting endpoint and just passes along the
auth_url to keystone. This obviates the need to define an admin_port in
a deployment configuration, and reduces the number of tests that need to
be ran.

A warning will be issued if a deployment defines an admin_port, however
the admin_port itself will be ignored. This provides some backwards
compatibility with existing deployments.

Change-Id: I917412e954e57ca5f03df0bb739b7806d38a12a5
Related-Bug: 1398375
2015-01-07 10:55:56 -08:00
liyingjun
a7e2a8e4f5 Move files to common lib(Part 3)
Move utils to common directory.

Change-Id: Ifaf71ea4a2a1acc85ceb2af6ed978d3e08666b41
2014-12-31 09:21:14 +08:00
Sergey Skripnick
705ee34799 Add Dockerfile
This file may be used to build rally image for docker.
More about docker: https://www.docker.com/

Also added some docs in installation.rst

Change-Id: I8580755b6838a3cebc2bd9e27854e68a02ff26b4
2014-12-24 14:22:19 +02:00
Jeremy Stanley
520ee876e6 Workflow documentation is now in infra-manual
Replace URLs for workflow documentation to appropriate parts of the
OpenStack Project Infrastructure Manual.

Change-Id: I6e441e0c4e68af067648ae39b96d74d82e8929c5
2014-12-05 03:30:46 +00:00
Boris Pavlovic
83c9309ded Introudce benchmark.context() decorator
Before this patch we have to specify:

__ctx_name__, __ctx_order__ and __ctx_hidden__ by hands as attributes
of context class.

This thing produced few issues:

1) It looks ugly
2) It is absolutelly unclear. So you don't know what they mean, and
   there is no easy way to find information about it. So now it's
   much simpler e.g. you should just take a look at decorator
   implementation
3) This was source of bugs, cause it was not tested by syntax
   of language => so we have to have mad tests to check that
   all __ctx_name__, __ctx_order__ were specified

* Use decorator instead of direct setting attributes

* Rename attributes:
  __ctx_name__ -> _ctx_name
  __ctx_order__ -> _ctx_order
  __ctx_hidden__ -> _ctx_hidden

  This was done cause of unification with other parts of code

* Improve a bit "servers" get uuid of image and flavor only once

* Impove order of context

* Make secgroup and allow_ssh not hidden context. There is no
  need to hide them, and probably somebody would like to use
  them.

* Docs are updated

Change-Id: Ib089b398ba0c7f54d5246eb6ba29f5bbcfd2deee
2014-11-27 16:42:06 +04:00
Oleh Anufriiev
9611927787 add ability to refer deployment by uuid or name
also deployment name turned unique in db

Change-Id: I513b5259e0cfa66780b4ce00cf78dc57aeeb57db
2014-11-19 23:37:38 +02:00
Kai Zhang
2732e196ee Fix 2 typos and 2 invalid links in doc
Change-Id: Id08449f0beacc33687284f6766cfdc80f62dfc5d
2014-10-31 00:02:10 +08:00
Olga Kopylova
2c368272c9 Improve plugins and apply loading for runners and contexts plugins
Provide plugins loading for runners and contexts, improve samples.
Plugins now can be loaded from ~/.rally/plugins and /opt/rally/plugins
and any it's subdirectories.

Closes-Bug: #1320942

Change-Id: I213086e7eae17e297c398c301f5ed8d2331d951e
2014-10-24 10:25:10 +00:00
Sergey Skripnick
f752ac9add Reorganize test module structure
Moved test modules:
 tests/             ->  tests/unit
 test_ci/           ->  tests/ci
 tests_functional   ->  tests/functional
 rally/hacking      ->  tests/hacking

Add testing read me file

Co-Authored-By: Boris Pavlovic <boris@pavlovic.me>
Co-Authored-By: Andrey Kurilin <akurilin@mirantis.com>

Change-Id: I57c09d892da4adf863c358a4d63e3543b50d10b7
2014-10-07 13:50:40 +00:00
Rohan Kanade
d3ba7792f4 Change default endpoint_type to "public"
Change-Id: Ic8935d3069225d95ef800e98c1d9c842f17b4639
2014-10-06 16:05:36 +02:00
Rohan Kanade
b3bfe485bc Allow user specified endpoint_type in config
* Use user specified endpoint_type (public|internal|admin) for creating
  openstack clients in Rally

Change-Id: I4af74d21417045df966c7fbe1ee735b15a36ae5f
Closes-Bug: #1351567
2014-10-01 16:51:16 +02:00
Christian Berendt
cb5c679cc6 Stop using intersphinx
Remove intersphinx from the docs build as it triggers network calls that
occasionally fail, and we don't really use intersphinx (links other
sphinx documents out on the internet)

This also removes the requirement for internet access during docs build.

This can cause docs jobs to fail if the project errors out on
warnings.

Change-Id: Iab56650edc32609d2887550ea26c4e5137ab9e7e
Related-Bug: #1368910
2014-09-25 18:09:22 +00:00
Oleh Anufriiev
a0dc63dbac User_stories and feature requests appended to sphinx
also some markup fixes to treat toctree look

Change-Id: Ibeac44a79e60dc6b2d82259a199856ad67c5fc36
2014-09-12 06:49:26 +03:00
Mikhail Dubov
5b8706ab83 Mention 'rally info' command in docs
Add description of 'rally info' to the corresponding part of docs/source/usage.rst.

Also remove a sentence with a non-existing link to the benchmark scenario
descriptions & usage page.

Change-Id: If9ee8de3e2dec1dd2784317f5da245744c5e7981
2014-08-26 05:20:48 -04:00
Swapnil Kulkarni
70a90e01c9 Update the scenario_base to base in benchmarks
Keep the scenario_base only on places where required.
Rest keep it as base instead of scenario_base

Change-Id: Ib7887c0a0b65d67a814222e0786fc228cd5bd2ca
2014-08-13 16:13:02 +00:00
Swapnil Kulkarni
d06f7c01ca Fix copyright in doc/source/config.py
Mirantis is raplaced by OpenStack Foundation

https://trello.com/c/RdKHZqlq

Change-Id: I371db495da0b14ddaa8e9473dd559880d4990752
2014-08-08 17:58:58 +00:00
Oleh Anufriiev
c4269ec970 Amended sphinx documents
Updated from https://wiki.openstack.org/wiki/Rally

Change-Id: I520b08202910ad476447fa09ca0a5993fc1bffc5
2014-08-07 20:09:36 +03:00
Swapnil Kulkarni
132722a76d Refactor Move atomic actions from benchmark scenarios
- Move atomic actions from benchmark/scenario/utils.py
to benchamrk/scenario/base.py
- Removed the scenario_utils imports
- Updated the scenario_base imports and related changes in
all rally files.

Closes-Bug:#1353464
Change-Id: I7f4d3e4b1d3650d97af08e5aca38fa80cc9f6fac
2014-08-06 15:44:20 +00:00
Oleh Anufriiev
a36d7c1c87 Fix side menu depth
Change-Id: I112ee28f032b4ead9f1cbd67b3d18f357e54d7b6
2014-07-30 15:16:13 +03:00
Mikhail Dubov
24272bbe95 Improve doc/source
Here we enhance the rst docs (used for readthedocs):
* Simplify its index structure by reducing it to only 5 points:
  1. Deploy (engines & server providers)
  2. Verify
  3. Benchmark (scenarios, engine, contexts, plugins)
  4. Command Line Interface
  5. Implementation (all source docs moved here)
* Extend the 'Benchmark' page with info from the "Main concepts" page from Wiki
* Add some introductory text on Deploy & Verify parts based on that from Wiki
* Simplify headings by removing "The" and "Layer"

Change-Id: I04bb553aba04009634272a88a757baa8f2c8c359
2014-06-25 07:41:16 +04:00
Sergey Skripnick
4faf54e2c2 Prepare documentation for readthedocs
Create Makefile and recreate conf.py using sphinx-quickstart
Add _build to gitignore
Fix several nits in rst files
Add tox environment for docs building. Now docs may be built by
running `tox -edoc'

Change-Id: Ib0eb17047e583bdf3ac9111e117f908340f4d5ef
2014-06-05 17:45:51 +03:00
Olga Kopylova
f883b07047 Add documentation for plugins
Documentation how to create and use plugins stored in doc/plugins.rst file

Change-Id: Icdf816861bc81b7a2fbcca92ebaf44ca0cb05903
2014-05-19 23:34:54 +03:00
Mark Wagner
488f3c2231 Move serverprovider under deploy
Move serverprovider under deploy in both rally and tests dirs
Moved both directories as requested, adusted the import references
in files as appropriate. Also adjusted several pathnames for tests.
Updated docs.

Change-Id: I38aaded6aca6ed08bdcdded0bee800c2ed2d6ad1
2014-03-20 09:24:58 -04:00
Doug Hellmann
a513b3fae2 Switch to oslosphinx
Use the version of the doc theme without the namespace
package.

Partial-bug: #1277168
Change-Id: I7788a9d6b5984fdfcc4678f2182104d2eb8a2be0
2014-03-12 10:19:46 -07:00
Shane Wang
c72ed01c7e Fix misspellings in rally
Fix misspellings in rally

Change-Id: I7fe2220f07a2b950f23fa4b1f55e6339e017d9c8
2014-02-07 10:01:33 +08:00
Ilya Kharin
ac234be543 Add support to build docs by Sphinx
The patch introduce configuration files for building documentations by
Sphinx. Also added a simple tree of static documents for test ability of
autobuilding documentation from source code.

bp rally-sphinx-docs

Change-Id: I2a225b1bdb4ae0640428b438a0c9779e28586546
2014-01-15 19:11:11 +04:00