14 Commits

Author SHA1 Message Date
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
Andrey Kurilin
93ae1f0d47 Simplify deployment config format
There is upgoing work related to deployment refactoring. The bunch of
different enitities will be removed and inner code will be rewritten
almost from scratch.

This patch introduces a new simpler dedployment config format. Despite
the fact that it requires several workarounds, we need to merge it
before actual refactoring is done, since we want to provide a good
deprecation period and as quicker we introduce a new format as quicker
we will able to remove deprecated stuff:)

An example of old deployment config:

    {
         "type": "ExistingCloud",
         "creds": {
             "openstack": {
                 "auth_url": "https://example.com",
                 "admin": {
                               "username": "admin",
                               "password": "pass",
                               "project_name": "admin"
                 }
             }
         }
    }

An example of a new format:

    {
         "openstack": {
             "auth_url": "https://example.com",
             "admin": {
                           "username": "admin",
                           "password": "pass",
                           "project_name": "admin"
             }
         }
    }

Change-Id: If88317a0aefdd3d1adc6c380672d83e2bad11f15
2017-08-22 16:26:17 +03:00
Andrey Kurilin
a4ae3f1ae4 [osclients] do not always strip auth_url
* add check that version suffix is presented in the auth_url of keystone
  before trying to crop it.
* port devstack plugin to use AUTH_URL env variable

Change-Id: Ib3c56ad0f945787d4df49308deb08bc87199c546
2017-04-19 20:47:20 +03:00
Anton Studenov
6acb416e9a Fix devstack rally deployment config
Change-Id: I5bbb0445288063d314012d06ba6b1e88f9e5eb3f
2017-04-18 21:01:53 +03:00
Andrey Kurilin
a42a78de6d [ci] Add features.yaml file
Change-Id: Ifec96345b65857f0fed645c555ac229a1a8c581d
2017-03-27 20:38:00 +03:00
Anton Studenov
7792aa71b7 [Core] Create new plugin based class for credentials
* Moved credential class from rally.objects to rally.deployment.
* Added OpenStackCredential plugin.
* Simplified getting of osclients.
* Enabled client caching on OpenStackCredential plugin.

spec: deployment_type.rst

Change-Id: I9ac8c4989c681885534683bd4ee4bc34fcfabaac
2017-03-21 12:49:11 +03:00
Dina Belova
4292063876 [docs][2] Re-design docs to cover all user-groups
First pack of changes in upcoming chain to redesign Rally docs.
All information related to the installation and upgrades process
separated and refactored. Modified files fit 80 symbols margin
where possible.

[TODO] continue with other parts of the docs:
       - Quick start aka Rally step-by-step
       - Command Line Interface
       - Rally Task Component
       - Rally Verification Component
       - Rally Plugins, Rally Plugins Reference
       - Contribute to Rally
       - Request New Features
       - Project Info
[TODO] add 80 symbols margin check similar to what
       Performance Documentation has

Change-Id: I0075be010fcad98272cec0928bcd29ca7b655d33
2016-12-01 11:41:51 -08:00
Andrey Kurilin
be56183895 [devstack] fix keystone v3 deployemnt config
After we merged strong config schema for rally deployment, we missed to fix
devstack plugin, which creates wrong config in case of Keystone V3

Change-Id: I29ad7f1f62a911ab9c011c832b4b7eea5eeb994b
2016-08-31 11:50:14 +03:00
Roman Vasilets
53a331c917 Create deployment conf depend on identity version
Also this patch fix broken manila jobs

Change-Id: Iff1310741e786e2d2773b17d16fe560ba1309eaf
2016-06-08 15:16:37 +00:00
Lianhao Lu
3f470657e7 devstack: support to be enabled with different plugin name
Allow rally to be installed by devstack through a different plugin
name, e.g:

    enable_plugin test-rally http://github.com/rally/rally.git master

Change-Id: I43be7f7beba83ac63f6e16bdac216a41f4e2f057
Closes-Bug: #1560833
2016-03-23 16:10:41 +08:00
Lianhao Lu
3d197f74c8 devstack: removed uncalled code
Devstack won't "source plugin.sh source" any more.

Change-Id: I2b8f5ebe02dc3e66c06a55ac0ffb3938cea236fa
2016-03-23 16:10:30 +08:00
Bo Chi
4a88eaed24 Add region_name in devstack plugin script
Change-Id: Ie149aebf0e6d33664245491e72ab2c9bb2dadcf4
Closes-Bug: #1520412
2015-11-27 08:58:02 -05:00
Oleh Anufriiev
7550c0373b Use local.conf instead of localrc
Use actual local.conf file name and format
  instead of deprecated localrc in devstack related
  deployment engines.

  Closes-bug: #1457194

Change-Id: Iba464f33eb9d1598dfa6aabbd167712d573f79da
2015-10-21 16:47:56 +03:00
Michal Rostecki
9060c0b3e1 [gates] Convert Rally to the new Devstack plugin model
Switch Rally integration with Devstack to the new plugin model [1].
This allows to install Rally by one line in localrc, without
copying any files by hand. It also may make setting CI jobs easier.

[1] http://docs.openstack.org/developer/devstack/plugins.html

* Remove Sahara pluging from Rally gate job

Sahara was removed from default services that run DevStack in gates
We need to remove these scenarios from rally.yaml and add separate job
for Sahara

Depends-on: I845178bd51f2623fa56bb97f8bd5f2e4e7553613
Change-Id: Ia4e211dbf50d13068502c27c26cf5e3199542ce7
2015-09-03 23:00:09 -07:00