24 Commits

Author SHA1 Message Date
Andriy Kurilin
48e20b5d55 Use setuptools_scm instead of pbr and implement pep-517
Signed-off-by: Andriy Kurilin <andr.kurilin@gmail.com>
Change-Id: I2d598a0c944fd9e911ef87b51b7fbb73351b68f2
2025-08-04 09:52:11 +02:00
Dr. Jens Harbott
199186f96c Fix use of keystone endpoint URL
The OS_AUTH_URL variable is no longer used by devstack, it is setting
OS_CLOUD instead[0]. Use KEYSTONE_SERVICE_URI for the endpoint URL.

[0] https://review.opendev.org/c/openstack/devstack/+/780417

Signed-off-by: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: Ib0737feed3bd82e395bd157cc48dde4b418ac544
2021-11-18 21:11:24 +01:00
Dr. Jens Harbott
a92ff92f67 Fix some CI issues
- Drop references to devstack-gate, it is deprecated and no longer
  needed.
- Drop setting USE_PYTHON3, it is the default now and the variable no
  longer being used.
- Drop using IDENTITY_API_VERSION, there is only v3 now and devstack
  plans to remove that variable.
- python-keystoneclient still needs an admin endpoint in keystone, set a
  flag for devstack to create it. [0]

[0] https://review.opendev.org/c/openstack/openstacksdk/+/777343

Signed-off-by: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: I35117f6d1b058d1f92e12d5be31bd85036adfccc
2021-11-07 16:50:42 +01:00
Andrey Kurilin
e0e46ada32 [ci] Remove custom features.yaml
it was used to setup custom branches. we do not use it anymore

Change-Id: Iab6af5154307b88aa2698af03e9c2d4e79176ada
2020-08-05 06:02:04 +00:00
Lucas H. Xu
45cb0bf10a Octaiva Load Balancing CI
This patch adds the octavia CI and removes the legacy neutron
load balancing ci, which is not working properly previously

Change-Id: I78ebf57edcdd9d686ab74ee620c71bd5dfe6e551
Signed-off-by: Lucas H. Xu <hanxu@redhat.com>
2019-07-02 16:56:40 +00:00
Andrey Kurilin
33eb9ffee2 Implement storing osprofiler reports separately from rally report
Change-Id: I8c95e7f433a6f22ae818a78ede4b12bb84cf1f5d
2019-05-17 19:40:55 -07:00
Slawek Kaplonski
833bd3d704 Add OSPROFILER_CONNECTION_STRING option to Devstack plugin
It is optional configuration option. If this is set together with
OSPROFILER_HMAC_KEYS rally html report will use osprofiler api to
generate html report for each trace and embed it as iframe to our
native html repor.

Change-Id: I74323f1cd079850290afa62ad18e27643ec03873
2018-11-06 14:18:33 +00:00
Slawek Kaplonski
1826ab7544 Add integration with osprofiler in devstack plugin
This patch adds integration of rally with osprofiler when
rally is deployed with devstack.
It may help to use rally with osprofiler e.g. in OpenStack
gate jobs.

Change-Id: Ie34c060cfab67a13dca8cfd3706e8a2ed40dbe99
2018-11-05 16:31:27 +01:00
Chuck Short
78772a331b Fix documentation
Repository should be rally-openstack.

Change-Id: I0feb936bc79b7cead83c4220716bf261257d8f8d
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-08-13 10:41:35 -04:00
Andrey Kurilin
209337291c Add basic job for Rally task
* Rename zuul.yaml -> .zuul.yaml to hide this file from the top level of
  root directory

* Remove all redundant scripts which were used in the old CI

* Modify devstack plugin to print information about Rally-OpenStack

* Add simple task file with one workload to check the single job

* Add an index html page for the new job. It is quite simple, doesn't
  use template, so no need to special script which will make this file.
  Also, we do not need to ship this file with python package since it is
  located in proper place.

* Add a basic job which launchs Rally task based on input arguments:
  - rally_task_file - a patch to Rally task file in relative way to
       project path (project which where the job is launched)
  - rally_task_args_file - an optional path to a file with arguments to
       Rally task. It is also relative to the project path
  - use_existing_users - Defaults to False. Whethere to create and put
       existing users to Rally deployment/enviroment or not.

Change-Id: Ib3b021914ac7d565df05c5397b378037ca0c0b00
2018-03-01 20:06:19 +02:00
Boris Pavlovic
4496b1480b 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
57d2a22dfd 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
43aff0ce17 [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
c6348ef335 Fix devstack rally deployment config
Change-Id: I5bbb0445288063d314012d06ba6b1e88f9e5eb3f
2017-04-18 21:01:53 +03:00
Andrey Kurilin
2f6a8b0d23 [ci] Add features.yaml file
Change-Id: Ifec96345b65857f0fed645c555ac229a1a8c581d
2017-03-27 20:38:00 +03:00
Anton Studenov
f89c32d698 [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
ec1f9e4e01 [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
f838b3675f [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
021226df0c 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
dd1bc6ed6c 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
fb51361337 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
9e8887853a Add region_name in devstack plugin script
Change-Id: Ie149aebf0e6d33664245491e72ab2c9bb2dadcf4
Closes-Bug: #1520412
2015-11-27 08:58:02 -05:00
Oleh Anufriiev
4364ae5f7a 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
edfd580b9e [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