204 Commits

Author SHA1 Message Date
Andrey Kurilin
f9b18fecf5 [docs] Fix several deployment configs
Change-Id: I9ff455682270ae4686f901ee703094c484039ffc
2018-02-13 19:19:26 +02:00
gaofei
5a5cf5386f Replace Chinese punctuation with English punctuation
Change-Id: I8ed8461d0fff743776c5509d2d9f4b51f3b3f36d
2018-01-23 17:15:14 +08:00
Zuul
01c908a614 Merge "Update quick_start step_1" 2018-01-22 13:26:41 +00:00
chenpengzi
9af23fe179 Update quick_start step_1
Change-Id: I80ced038e9f0f159d1e9073a41178487e3f3c44f
2018-01-22 13:37:35 +08:00
chenpengzi
7bcb085322 Modify the link to secure and correct
Change-Id: I566e01d460c0a6a7e4ee4144da67e0d05fc13e82
2018-01-22 10:59:22 +08:00
chenpengzi
9f760a0428 Update install_rally.sh all available options
Change-Id: I34bb46375242062860209e9fc6b4c751e6e5f99f
2018-01-18 17:09:12 +08:00
Guoqiang Ding
27daefb36e Fix the misspelling of "configuration" and "scenario"
Change-Id: I1320f0ff9ee9584059e27b5167c3b92a9295f205
2017-12-25 13:44:25 +08:00
Andrey Kurilin
aaa80048f6 [docker] Fix configuration
* fix lable of database section. it should be [database] instead of [db]
* create `/home/rally/data` dir by rally user instead of root, so rally
  could operate the database there.
* modify the volume path
* update the docs

Change-Id: Ia4df80e2ce570ede4582c875c0550d5ba8da60d9
2017-12-10 23:44:32 +02:00
Andrey Kurilin
fa2f24147a [docs] Update info about cores
ChenHb and Hai Shi were added long time ago to rally core team, but the
info page was not updated yet.

Change-Id: I59f7d7e08127a99c3d8447aa15f04549d15a07df
2017-12-05 13:42:13 +02:00
Boris Pavlovic
7b982589b2 Remove trialing space from docs to fix py27 job
Change-Id: I2e63a78ba36b261be9459ddd55a465d81de8565b
2017-10-20 12:54:33 -07:00
Boris Pavlovic
b5bcf8bb06 Finish work on renaming namespace to platform
CLI, Verifier, Docs and Tests are updated

Change-Id: I382bd1e1899b809743fad3250d66a036e7bac5f5
2017-10-12 18:18:42 -07:00
Boris Pavlovic
57c6936919 Use rally.plugins.openstack.osclients import everywhere
Change-Id: Id34d8dc40942b4e29324eae17f0e64c78c5e0c49
2017-10-06 16:16:24 -07:00
Boris Pavlovic
01289aa081 Improve Rally Logging (part 2)
- Remove translations

  Nobody is using translations for Rally and I don't think that
  anybody is going to use it. Target auditory for Rally are
  developers/operators which usually know well english.
  For me this looks like waste of resources, performance
  degradation (cause we are calling _()), complexity
  (+1 thing that you need to know)

- Pass to log already formatted strings

  It's very bad because in case of wrong formatting, it
  doesn't fail instead just writes errors to the logs,
  as well information about trace is lost, so it's super
  hard to fix it

  Log wrapper doesn't allow to use LOG anymore for
  formatting strings

  All places are fixed

- Improve logging of exceptions

LOG.exception() already logs exception, which means it's bad idea to
pass str(e) to it. Instead we should provide clear description of what
happend. Improved few places to write warnings or exceptions in case
of different level of logs. In few places just use LOG.exception

- Part of log messages were improved and simplified

Depends-On: If23d874e8b73de12ba2b8c4e028a55543af6381b
Change-Id: Ibc1e1f4f554649d14b8fe4801557b83922ecefe3
2017-10-05 22:57:39 +00:00
Boris Pavlovic
bd067082c5 Rename certification/ to tasks/
Every day Rally step by step closer to the point where Rally is going to be
generic framework and it would be possible to split Rally & Rally OpenStack Plugins

One of the blockers for doing this is certification & samples directories and
their contents. Current apporach creates a lot of confusion:

- Rally Users are running samples against production
- Rally samples are actually not that usefull, because creating from them
  tasks takes a lot of time
- Rally Users don't know what certification task is and how to use it
- Samples are hard to ship/find in packaged way (when rally is installed)
- Samples are going to be impossible to ship after the split
- We have to keep hunderds of yaml/json files in actual state
  in our repo (extra work for developers)

Proposed approach is to:

- Create mechansim CLI command that generates samples using plugin names
- Rename certification -> tasks
- Put in tasks directory pre created and tested tasks for different use cases:
  key performance metrics, functional testing, load testing of key functionality,
  ha Testing
- Remove samples as they are not needed anymore

Change-Id: I4c45224c3af637d17dab0edea038c69a2bae8b1a
2017-09-19 18:01:25 -07:00
Jenkins
7ac9d21763 Merge "Switch everything to rally db" 2017-09-01 23:43:06 +00:00
chao liu
8f1276ce40 Fix to use "." to source script files
Adhering to coding conventions. Refer to ``Code conventions`` at
https://docs.openstack.org/contributor-guide/ for details.

"." is synonymous with source in bash, but not in POSIX sh, so we
should use "." if the script is run by "/bin/sh".
"/bin/sh" is often used in cron.

Change-Id: I0ee691d84a19f3f06f111d50e23c0c9c80ebd402
2017-09-01 02:44:41 +00:00
Boris Pavlovic
a76ae0f20b Switch everything to rally db
Use `rally db` command instead of `rally-manage db` everywhere

Change-Id: Ief8613d60b0c0a763bd9bf3086d7225f1dfe6905
2017-08-29 13:25:41 -07:00
bhavani.cr
4073d49652 Handle log message interpolation by the logger in common/
According to OpenStack Guideline[1], logged string message should be
interpolated by the logger.

[1]: http://docs.openstack.org/developer/oslo.i18n/guidelines.html#adding-variables-to-log-messages

Change-Id: Ie7291889337a7ffe7877910d3c3a24fd670aba94
2017-08-18 04:57:12 +00:00
shangxiaobj
2dec17e5ab Update and replace http with https for doc links in rally
1) Update doc links according to OpenStack document migration
2) Use https instead of http for docs links

Change-Id: Id606f43f486e98fc33b699b36e468de954ec677d
2017-08-11 01:18:08 -07:00
Boris Pavlovic
35846a9b7c Rephrase docs call things properly
In a lot of placeses we are using word "benchmark" which
can mean workload, subtask, or test case which is very confusing.

This patch partially address wrong usage of "benchamrk" word

Change-Id: Id3b2b7ae841a5243684c12cc51c96f005dbe7544
2017-08-03 18:39:10 +00:00
Boris Pavlovic
e2da2bbf86 Remove obsolate conepts
Change-Id: I7238dba50f5a1cd03858b5c69b0fb7df2bc161a8
2017-07-31 10:53:18 -07:00
Amy Ge
659816b93b Fix step number in tutorial section in rally doc
Last time I removed step 9 tutorial for deploying openstack from
rally document (https://review.openstack.org/#/c/475932/).

However, I forgot to update the tutorial step number after that.
This just updates the tutorial step number to make it continuous.

Change-Id: Ib16408350b147eeb70b5de9b18f8014ac12714a6
2017-07-28 13:50:24 -07:00
chenxing
2753b3a485 Update the documentation links for doc migration
Change-Id: Ia8ac79913d68646f109bb535935d6ee9027d1071
2017-07-14 13:44:43 +00:00
Amy Ge
06cd90e39c Improve plugin sample and corresponding 'creating a plugin' tutorial
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
2017-06-20 16:12:20 -07:00
Amy Ge
e40e6e8537 Remove step_9 tutorial from rally doc
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
2017-06-20 14:26:11 -07:00
Chen
df0d4d25a2 Fix a typo and update a link address
Change-Id: I41a0a370c002b5b6b93a777db5fec4c4be11714c
2017-06-01 18:51:08 +09:00
msimonin
755af67a02 OSprofiler support
The OSprofiler is a distributed trace toolkit library.
It helps to trace internal calls of Openstack services including RPC, DB
and WSGI.

This patch integrates OSprofiler in Rally. Rally can trigger the
profiling on a per-iteration basis. To do so a secret key
(profiler_hmac_key) is stored alongside the credentials and used to
initialize the profiler in the constructor of the scenarios. A
configuration parameter (enable_profiler) can disabled the profiling.

Note that in this patch we don't embed the full osprofiler report but
only a trace id. This trace id can be used to retrieve the full trace
from the osprofiler tool later.

Change-Id: I7602856d094e073fde80d287b4d92b5750aacc3c
Co-Authored-By: rcherrueau <Ronan-Alexandre.Cherrueau@inria.fr>
Implements: spec osprofiler
2017-05-27 15:09:42 +02:00
rajat29
de1ab13dfc Fix doc generation for Python3
Fix the Sphinx html_last_updated_fmt for Python3.
The html_last_updated_fmt option is interpeted as a
byte string in python3, causing Sphinx build to break.
This patch makes it utf-8 string.

Change-Id: Ife5b7762c8ebce005f2a3a3b59f8c01eca48c55d
2017-04-20 10:06:57 +05:30
chenhb-zte
6bc66cb504 Add py files in doc directories to pep8 check
Change-Id: Idb4f8864ab51f5e4ee2eef7745d40d5d8b5e57ce
2017-04-01 11:13:03 +08:00
sudhir_agarwal
068496cc2b Corrected the grammar mistake
In overview.rst file, removed "we" from the file.
In distributed_load_generation.rst file, changed "have" to "has".

Change-Id: I9532ffa0314a9ad5f35bbe33a5ce42c6bb52c7b5
2017-03-28 12:14:26 +00:00
Jenkins
db57d3e056 Merge "[DOC] Remove redundant info of 'rally show' in docs" 2017-03-22 14:09:50 +00:00
Jenkins
0a3e985ac4 Merge "[img] changed the spelling of third party in the image" 2017-03-07 07:44:51 +00:00
sudhir_agarwal
e40d9eac09 [img] changed the spelling of third party in the image
In Rally-UseCases.png image, changed the spelling of
"third part" to "third party".

Change-Id: Iab909299fc40b36a9865743622e37aaaefdd0d0d
2017-03-07 05:50:42 +00:00
Hai Shi
450cb762bb [DOC] Remove redundant info of 'rally show' in docs
As subject, removing the redudant info in docs.

Change-Id: I816030b649b79b2e00c4c3f5a94a72676689a933
2017-03-01 00:42:45 +08:00
Andrey Kurilin
e91af1d337 Update core members
Change-Id: I27070f6282d82de2431e7150be2fdcd46f300376
2017-02-28 12:57:19 +02:00
Anton Studenov
24fdc1a6a2 [CI] Fix image regexp and version
Default image in devstack was changed recently from uec to qcow2.
All rally jobs except rally-mos now need to be updated accordingly.

devstack changes:
* Id65ebae73b28da7185cb349b714b659af51ef77f
* I5c154ec25555e768954538fc22b4f5d5975b2deb


Change-Id: Ia4d4afb661d8bcc7c38b0a16b508294f789eef14
2017-02-16 14:29:06 +03:00
Anh Tran
cb26e0a869 Typo fix: interupt => interrupt
Change-Id: Ia3d5d5d61fac457c5d2c6e9e138e9b3d7188ff82
2017-02-09 08:58:13 +07:00
Andrey Kurilin
3985f75c05 [docs] reduce sphinx warnings
Change-Id: I94701b83af06269d0264c723945372aeb0697faa
2017-02-07 15:28:53 +02:00
Yaroslav Lobankov
435401e008 [Verify] Refactoring of Tempest verifier plugin
The main goal of this patch is to move Tempest context related code
from the rally/plugins/openstack/verification/tempest/config.py file
to the separate rally/plugins/openstack/verification/tempest/context.py
file.

Also,

1. Functions such as 'add_extra_options' and 'extend_configfile' were
   moved from the rally/plugins/openstack/verification/tempest/config.py
   file to rally/verification/utils.py because these functions can be
   used by other verifier plugins in the future.

2. Now Tempest log, test image and lock files are stored in the
   corresponding deployment directory.

3. Now the 'floating_network_name' option from the 'network' section is
   configured as well.

4. A small cleanup was done.

Change-Id: I12c7918400c736b71c5a8044bb1aa53122fb96f1
2017-02-06 23:41:53 +04:00
Anton Studenov
2e5bd14ec5 [doc] Add documentation for hook and trigger plugins
update and fix json errors in hook_plugins.rst

Change-Id: I8b9d7b40048fdcae2d997a0a757f226d3487d297
2017-01-27 17:00:15 +03:00
Yaroslav Lobankov
fdb4adcf49 [doc][verify] Some more changes in docs before release
Change-Id: I3866ed82484f7d669c8c903d39d0eaff0ba3b6c2
2017-01-26 13:58:07 +04:00
Jenkins
cda333bf52 Merge "[Verify] Add docs with common workflow for verifications" 2017-01-26 04:49:41 +00:00
Andrey Kurilin
4413b97a17 [docs] several fixes before release
Change-Id: Icc6b95d7d2c83c920591514ced83e6b77f80695f
2017-01-26 00:47:07 +02:00
Yaroslav Lobankov
c60608f45b [Verify] Add docs with common workflow for verifications
Change-Id: If987edfd70da25769c79a833f541e56754b91adf
2017-01-25 22:24:42 +04:00
Andrey Kurilin
6d2dd107d0 [docs] Describe verification component
Change-Id: I5c227e9e76c322ebccda3788bed886f1c4870651
2017-01-24 19:07:38 +02:00
Andrey Kurilin
ae2702f258 [docs] Move several docs
Change-Id: Idc6ce01f779847f28302f8ef9e8da6b277c949ac
2017-01-23 10:16:49 +00:00
Andrey Kurilin
536881ed42 [docs] Several improvements for extensions
* plugin_reference is extended to build data for particular Plugin Base cls
* plugin_reference is extended to build data for all Plugin Bases (instead
  of just building data for hardcoded classes).
* cli_reference is extended to build data for particular command
* new include_vars extension is introduced for including const data in docs

Change-Id: I76d9f85e41c6ab8e622f6d3581478962144525ba
2017-01-23 10:16:24 +00:00
Anh Tran
b1fa216121 Removed redundant word: 'is'
Change-Id: I601b856cf52468163db1847b31ada3f298943bfb
2017-01-16 13:32:48 +07:00
Dina Belova
b48417649e [docs][7] Re-design docs to cover all user-groups
Add final 80 symbols margin check, as well as additional check for
trailing spaces. Fix all docs not matching this rule.

Change-Id: I8b4814fad0acaba6ce1de7aa6f90d1f7ecc4153d
2017-01-10 11:25:32 -08:00
Dina Belova
8544eabcb9 [docs][6] Re-design docs to cover all user-groups
All information related to Rally community and project
info has been refactored. Modified files fit 80 symbols
margin where possible.

[TODO] add 80 symbols margin check similar to what
       Performance Documentation has

Change-Id: Id4f33733c2b9aa141df4eeb0f24a21d82290a962
2017-01-10 11:25:00 -08:00