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
This commit is contained in:
parent
ed26057ea9
commit
a92ff92f67
@ -4,7 +4,6 @@
|
|||||||
description: Base job for launching Rally task at Devstack
|
description: Base job for launching Rally task at Devstack
|
||||||
required-projects:
|
required-projects:
|
||||||
- name: openstack/devstack
|
- name: openstack/devstack
|
||||||
- name: openstack/devstack-gate
|
|
||||||
- name: openstack/rally-openstack
|
- name: openstack/rally-openstack
|
||||||
# NOTE(andreykurilin): it is a required project to fetch the latest
|
# NOTE(andreykurilin): it is a required project to fetch the latest
|
||||||
# version and test master of rally-openstack with master of rally
|
# version and test master of rally-openstack with master of rally
|
||||||
@ -13,6 +12,9 @@
|
|||||||
roles:
|
roles:
|
||||||
- zuul: openstack/devstack
|
- zuul: openstack/devstack
|
||||||
vars:
|
vars:
|
||||||
|
devstack_localrc:
|
||||||
|
# TODO(frickler): drop this once python-keystoneclient no longer needs it
|
||||||
|
KEYSTONE_ADMIN_ENDPOINT: true
|
||||||
devstack_plugins:
|
devstack_plugins:
|
||||||
rally-openstack: https://opendev.org/openstack/rally-openstack
|
rally-openstack: https://opendev.org/openstack/rally-openstack
|
||||||
run: tests/ci/playbooks/run-rally-task.yaml
|
run: tests/ci/playbooks/run-rally-task.yaml
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
parent: rally-task-at-devstack
|
parent: rally-task-at-devstack
|
||||||
required-projects:
|
required-projects:
|
||||||
- name: openstack/devstack
|
- name: openstack/devstack
|
||||||
- name: openstack/devstack-gate
|
|
||||||
- name: openstack/rally
|
- name: openstack/rally
|
||||||
- name: openstack/rally-openstack
|
- name: openstack/rally-openstack
|
||||||
- name: openstack/barbican
|
- name: openstack/barbican
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
rally_task: rally-jobs/designate.yaml
|
rally_task: rally-jobs/designate.yaml
|
||||||
devstack_localrc:
|
devstack_localrc:
|
||||||
DESIGNATE_SERVICE_PORT_DNS: 5322
|
DESIGNATE_SERVICE_PORT_DNS: 5322
|
||||||
USE_PYTHON3: true
|
|
||||||
devstack_plugins:
|
devstack_plugins:
|
||||||
designate: https://opendev.org/openstack/designate
|
designate: https://opendev.org/openstack/designate
|
||||||
rally-openstack: https://opendev.org/openstack/rally-openstack
|
rally-openstack: https://opendev.org/openstack/rally-openstack
|
||||||
|
@ -3,11 +3,13 @@
|
|||||||
parent: rally-task-at-devstack
|
parent: rally-task-at-devstack
|
||||||
required-projects:
|
required-projects:
|
||||||
- name: openstack/devstack
|
- name: openstack/devstack
|
||||||
- name: openstack/devstack-gate
|
|
||||||
- name: openstack/rally
|
- name: openstack/rally
|
||||||
- name: openstack/rally-openstack
|
- name: openstack/rally-openstack
|
||||||
- name: openstack/heat
|
- name: openstack/heat
|
||||||
vars:
|
vars:
|
||||||
|
devstack_localrc:
|
||||||
|
# TODO(frickler): drop this once heat no longer needs it
|
||||||
|
KEYSTONE_ADMIN_ENDPOINT: true
|
||||||
devstack_plugins:
|
devstack_plugins:
|
||||||
rally-openstack: https://opendev.org/openstack/rally-openstack
|
rally-openstack: https://opendev.org/openstack/rally-openstack
|
||||||
heat: https://opendev.org/openstack/heat
|
heat: https://opendev.org/openstack/heat
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
parent: rally-task-at-devstack
|
parent: rally-task-at-devstack
|
||||||
required-projects:
|
required-projects:
|
||||||
- name: openstack/devstack
|
- name: openstack/devstack
|
||||||
- name: openstack/devstack-gate
|
|
||||||
- name: openstack/rally
|
- name: openstack/rally
|
||||||
- name: openstack/rally-openstack
|
- name: openstack/rally-openstack
|
||||||
- name: openstack/ironic
|
- name: openstack/ironic
|
||||||
|
@ -3,13 +3,15 @@
|
|||||||
parent: rally-task-at-devstack
|
parent: rally-task-at-devstack
|
||||||
required-projects:
|
required-projects:
|
||||||
- name: openstack/devstack
|
- name: openstack/devstack
|
||||||
- name: openstack/devstack-gate
|
|
||||||
- name: openstack/rally
|
- name: openstack/rally
|
||||||
- name: openstack/rally-openstack
|
- name: openstack/rally-openstack
|
||||||
- name: openstack/magnum
|
- name: openstack/magnum
|
||||||
- name: openstack/python-magnumclient
|
- name: openstack/python-magnumclient
|
||||||
- name: openstack/heat
|
- name: openstack/heat
|
||||||
vars:
|
vars:
|
||||||
|
devstack_localrc:
|
||||||
|
# TODO(frickler): drop this once heat no longer needs it
|
||||||
|
KEYSTONE_ADMIN_ENDPOINT: true
|
||||||
devstack_plugins:
|
devstack_plugins:
|
||||||
rally-openstack: https://opendev.org/openstack/rally-openstack
|
rally-openstack: https://opendev.org/openstack/rally-openstack
|
||||||
magnum: https://opendev.org/openstack/magnum
|
magnum: https://opendev.org/openstack/magnum
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
parent: rally-task-at-devstack
|
parent: rally-task-at-devstack
|
||||||
vars:
|
vars:
|
||||||
rally_task: rally-jobs/manila.yaml
|
rally_task: rally-jobs/manila.yaml
|
||||||
|
devstack_localrc:
|
||||||
|
# TODO(frickler): drop this once heat no longer needs it
|
||||||
|
KEYSTONE_ADMIN_ENDPOINT: true
|
||||||
devstack_services:
|
devstack_services:
|
||||||
# disable redundant services for the job
|
# disable redundant services for the job
|
||||||
ceilometer-acentral: false
|
ceilometer-acentral: false
|
||||||
@ -27,7 +30,6 @@
|
|||||||
vars:
|
vars:
|
||||||
rally_task: rally-jobs/manila-no-ss.yaml
|
rally_task: rally-jobs/manila-no-ss.yaml
|
||||||
devstack_localrc:
|
devstack_localrc:
|
||||||
USE_PYTHON3: true
|
|
||||||
LIBS_FROM_GIT: python-manilaclient
|
LIBS_FROM_GIT: python-manilaclient
|
||||||
SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
|
SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
|
||||||
MANILA_ENABLED_BACKENDS: alpha,beta,gamma
|
MANILA_ENABLED_BACKENDS: alpha,beta,gamma
|
||||||
@ -59,7 +61,6 @@
|
|||||||
vars:
|
vars:
|
||||||
rally_task: rally-jobs/manila.yaml
|
rally_task: rally-jobs/manila.yaml
|
||||||
devstack_localrc:
|
devstack_localrc:
|
||||||
USE_PYTHON3: true
|
|
||||||
LIBS_FROM_GIT: python-manilaclient
|
LIBS_FROM_GIT: python-manilaclient
|
||||||
SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
|
SHARE_DRIVER: manila.tests.share.drivers.dummy.DummyDriver
|
||||||
MANILA_ENABLED_BACKENDS: alpha,beta,gamma
|
MANILA_ENABLED_BACKENDS: alpha,beta,gamma
|
||||||
|
@ -3,13 +3,15 @@
|
|||||||
parent: rally-task-at-devstack
|
parent: rally-task-at-devstack
|
||||||
required-projects:
|
required-projects:
|
||||||
- name: openstack/devstack
|
- name: openstack/devstack
|
||||||
- name: openstack/devstack-gate
|
|
||||||
- name: openstack/rally
|
- name: openstack/rally
|
||||||
- name: openstack/rally-openstack
|
- name: openstack/rally-openstack
|
||||||
- name: openstack/heat
|
- name: openstack/heat
|
||||||
- name: openstack/mistral
|
- name: openstack/mistral
|
||||||
- name: openstack/python-mistralclient
|
- name: openstack/python-mistralclient
|
||||||
vars:
|
vars:
|
||||||
|
devstack_localrc:
|
||||||
|
# TODO(frickler): drop this once heat no longer needs it
|
||||||
|
KEYSTONE_ADMIN_ENDPOINT: true
|
||||||
devstack_plugins:
|
devstack_plugins:
|
||||||
rally-openstack: https://opendev.org/openstack/rally-openstack
|
rally-openstack: https://opendev.org/openstack/rally-openstack
|
||||||
mistral: https://opendev.org/openstack/mistral
|
mistral: https://opendev.org/openstack/mistral
|
||||||
@ -25,4 +27,4 @@
|
|||||||
ceilometer-collector: false
|
ceilometer-collector: false
|
||||||
horizon: false
|
horizon: false
|
||||||
tempest: false
|
tempest: false
|
||||||
rally_task: rally-jobs/mistral.yaml
|
rally_task: rally-jobs/mistral.yaml
|
||||||
|
@ -3,12 +3,14 @@
|
|||||||
parent: rally-task-at-devstack
|
parent: rally-task-at-devstack
|
||||||
required-projects:
|
required-projects:
|
||||||
- name: openstack/devstack
|
- name: openstack/devstack
|
||||||
- name: openstack/devstack-gate
|
|
||||||
- name: openstack/rally
|
- name: openstack/rally
|
||||||
- name: openstack/rally-openstack
|
- name: openstack/rally-openstack
|
||||||
- name: openstack/heat
|
- name: openstack/heat
|
||||||
- name: openstack/murano
|
- name: openstack/murano
|
||||||
vars:
|
vars:
|
||||||
|
devstack_localrc:
|
||||||
|
# TODO(frickler): drop this once heat no longer needs it
|
||||||
|
KEYSTONE_ADMIN_ENDPOINT: true
|
||||||
devstack_plugins:
|
devstack_plugins:
|
||||||
rally-openstack: https://opendev.org/openstack/rally-openstack
|
rally-openstack: https://opendev.org/openstack/rally-openstack
|
||||||
murano: https://opendev.org/openstack/murano
|
murano: https://opendev.org/openstack/murano
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
parent: rally-task-at-devstack
|
parent: rally-task-at-devstack
|
||||||
required-projects:
|
required-projects:
|
||||||
- name: openstack/devstack
|
- name: openstack/devstack
|
||||||
- name: openstack/devstack-gate
|
|
||||||
- name: openstack/rally
|
- name: openstack/rally
|
||||||
- name: openstack/rally-openstack
|
- name: openstack/rally-openstack
|
||||||
- name: openstack/networking-bgpvpn
|
- name: openstack/networking-bgpvpn
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
description: A Rally job for checking Octavia Plugin
|
description: A Rally job for checking Octavia Plugin
|
||||||
parent: rally-task-at-devstack
|
parent: rally-task-at-devstack
|
||||||
required-projects:
|
required-projects:
|
||||||
- name: openstack/devstack-gate
|
|
||||||
- name: openstack/diskimage-builder
|
- name: openstack/diskimage-builder
|
||||||
- name: openstack/octavia
|
- name: openstack/octavia
|
||||||
- name: openstack/octavia-lib
|
- name: openstack/octavia-lib
|
||||||
|
@ -3,12 +3,15 @@
|
|||||||
parent: rally-task-at-devstack
|
parent: rally-task-at-devstack
|
||||||
required-projects:
|
required-projects:
|
||||||
- name: openstack/devstack
|
- name: openstack/devstack
|
||||||
- name: openstack/devstack-gate
|
|
||||||
- name: openstack/rally
|
- name: openstack/rally
|
||||||
- name: openstack/rally-openstack
|
- name: openstack/rally-openstack
|
||||||
- name: openstack/heat
|
- name: openstack/heat
|
||||||
- name: openstack/ceilometer
|
- name: openstack/ceilometer
|
||||||
vars:
|
vars:
|
||||||
|
devstack_localrc:
|
||||||
|
CEILOMETER_BACKEND: gnocchi
|
||||||
|
# TODO(frickler): drop this once heat no longer needs it
|
||||||
|
KEYSTONE_ADMIN_ENDPOINT: true
|
||||||
devstack_plugins:
|
devstack_plugins:
|
||||||
rally-openstack: https://opendev.org/openstack/rally-openstack
|
rally-openstack: https://opendev.org/openstack/rally-openstack
|
||||||
ceilometer: https://opendev.org/openstack/ceilometer
|
ceilometer: https://opendev.org/openstack/ceilometer
|
||||||
@ -21,5 +24,3 @@
|
|||||||
ceilometer-api: true
|
ceilometer-api: true
|
||||||
ceilometer-collector: true
|
ceilometer-collector: true
|
||||||
rally_task: rally-jobs/telemetry.yaml
|
rally_task: rally-jobs/telemetry.yaml
|
||||||
devstack_localrc:
|
|
||||||
CEILOMETER_BACKEND: gnocchi
|
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
parent: rally-task-at-devstack
|
parent: rally-task-at-devstack
|
||||||
required-projects:
|
required-projects:
|
||||||
- name: openstack/devstack
|
- name: openstack/devstack
|
||||||
- name: openstack/devstack-gate
|
|
||||||
- name: openstack/rally
|
- name: openstack/rally
|
||||||
- name: openstack/rally-openstack
|
- name: openstack/rally-openstack
|
||||||
- name: openstack/watcher
|
- name: openstack/watcher
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
parent: rally-task-at-devstack
|
parent: rally-task-at-devstack
|
||||||
required-projects:
|
required-projects:
|
||||||
- name: openstack/devstack
|
- name: openstack/devstack
|
||||||
- name: openstack/devstack-gate
|
|
||||||
- name: openstack/rally
|
- name: openstack/rally
|
||||||
- name: openstack/rally-openstack
|
- name: openstack/rally-openstack
|
||||||
- name: openstack/zaqar
|
- name: openstack/zaqar
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
Uses tox with the ``functional`` environment.
|
Uses tox with the ``functional`` environment.
|
||||||
required-projects:
|
required-projects:
|
||||||
- name: openstack/devstack
|
- name: openstack/devstack
|
||||||
- name: openstack/devstack-gate
|
|
||||||
- name: openstack/rally-openstack
|
- name: openstack/rally-openstack
|
||||||
# NOTE(andreykurilin): it is a required project to fetch the latest
|
# NOTE(andreykurilin): it is a required project to fetch the latest
|
||||||
# version and test master of rally-openstack with master of rally
|
# version and test master of rally-openstack with master of rally
|
||||||
@ -15,9 +14,10 @@
|
|||||||
roles:
|
roles:
|
||||||
- zuul: openstack/devstack
|
- zuul: openstack/devstack
|
||||||
vars:
|
vars:
|
||||||
|
devstack_localrc:
|
||||||
|
# TODO(frickler): drop this once python-keystoneclient no longer needs it
|
||||||
|
KEYSTONE_ADMIN_ENDPOINT: true
|
||||||
devstack_plugins:
|
devstack_plugins:
|
||||||
rally-openstack: https://opendev.org/openstack/rally-openstack
|
rally-openstack: https://opendev.org/openstack/rally-openstack
|
||||||
devstack_localrc:
|
|
||||||
USE_PYTHON3: true
|
|
||||||
tox_env: "functional"
|
tox_env: "functional"
|
||||||
run: tests/ci/playbooks/tox-functional-env-run.yaml
|
run: tests/ci/playbooks/tox-functional-env-run.yaml
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
parent: devstack
|
parent: devstack
|
||||||
required-projects:
|
required-projects:
|
||||||
- name: openstack/devstack
|
- name: openstack/devstack
|
||||||
- name: openstack/devstack-gate
|
|
||||||
- name: openstack/rally-openstack
|
- name: openstack/rally-openstack
|
||||||
- name: openstack/rally
|
- name: openstack/rally
|
||||||
timeout: 7200
|
timeout: 7200
|
||||||
@ -11,7 +10,8 @@
|
|||||||
- zuul: openstack/devstack
|
- zuul: openstack/devstack
|
||||||
vars:
|
vars:
|
||||||
devstack_localrc:
|
devstack_localrc:
|
||||||
USE_PYTHON3: true
|
# TODO(frickler): drop this once python-keystoneclient no longer needs it
|
||||||
|
KEYSTONE_ADMIN_ENDPOINT: true
|
||||||
devstack_plugins:
|
devstack_plugins:
|
||||||
rally-openstack: https://opendev.org/openstack/rally-openstack
|
rally-openstack: https://opendev.org/openstack/rally-openstack
|
||||||
run: tests/ci/playbooks/run-rally-verify.yaml
|
run: tests/ci/playbooks/run-rally-verify.yaml
|
||||||
|
@ -43,36 +43,19 @@ OSPROFILER_CONNECTION_STRING=${OSPROFILER_CONNECTION_STRING:-""}
|
|||||||
# Creates a configuration file for the current deployment
|
# Creates a configuration file for the current deployment
|
||||||
# Uses the following variables:
|
# Uses the following variables:
|
||||||
#
|
#
|
||||||
# - ``ADMIN_PASSWORD``, ``KEYSTONE_SERVICE_PROTOCOL``,
|
# - ``ADMIN_PASSWORD``, ``REGION_NAME``
|
||||||
# ``KEYSTONE_SERVICE_HOST``, ``KEYSTONE_SERVICE_PORT``,
|
# ``OS_AUTH_URL``
|
||||||
# ``IDENTITY_API_VERSION`` - must be defined
|
|
||||||
# ``OSPROFILER_HMAC_KEYS`` - optional, for integration with osprofiler
|
# ``OSPROFILER_HMAC_KEYS`` - optional, for integration with osprofiler
|
||||||
# ``OSPROFILER_CONNECTION_STRING`` - optional, if this is set together with
|
# ``OSPROFILER_CONNECTION_STRING`` - optional, if this is set together with
|
||||||
# OSPROFILER_HMAC_KEYS rally html report will use osprofiler api to
|
# OSPROFILER_HMAC_KEYS rally html report will use osprofiler api to
|
||||||
# generate html report for each trace and embed it as iframe to our
|
# generate html report for each trace and embed it as iframe to our
|
||||||
# native html repor
|
# native html report
|
||||||
# ``RALLY_OSPROFILER_CHART`` - optional, a path to store osprofiler's reports
|
# ``RALLY_OSPROFILER_CHART`` - optional, a path to store osprofiler's reports
|
||||||
#
|
#
|
||||||
|
|
||||||
# _create_deployment_config filename
|
# _create_deployment_config filename
|
||||||
function _create_deployment_config() {
|
function _create_deployment_config() {
|
||||||
if [[ "$IDENTITY_API_VERSION" == 2.0 ]]
|
cat >$1 <<EOF
|
||||||
then
|
|
||||||
cat >$1 <<EOF
|
|
||||||
{
|
|
||||||
"openstack": {
|
|
||||||
"auth_url": "$OS_AUTH_URL",
|
|
||||||
"region_name": "$REGION_NAME",
|
|
||||||
"admin": {
|
|
||||||
"username": "admin",
|
|
||||||
"password": "$ADMIN_PASSWORD",
|
|
||||||
"tenant_name": "admin",
|
|
||||||
}
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
if [[ "$IDENTITY_API_VERSION" == 3 ]]
|
|
||||||
then
|
|
||||||
cat >$1 <<EOF
|
|
||||||
{
|
{
|
||||||
"openstack": {
|
"openstack": {
|
||||||
"auth_url": "$OS_AUTH_URL",
|
"auth_url": "$OS_AUTH_URL",
|
||||||
@ -85,7 +68,6 @@ then
|
|||||||
"project_domain_name": "Default"
|
"project_domain_name": "Default"
|
||||||
},
|
},
|
||||||
EOF
|
EOF
|
||||||
fi
|
|
||||||
|
|
||||||
# Now add osprofiler config if necessary
|
# Now add osprofiler config if necessary
|
||||||
if [[ ! -z "$OSPROFILER_HMAC_KEYS" ]]; then
|
if [[ ! -z "$OSPROFILER_HMAC_KEYS" ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user