Merge "Armada: Update manifest to use common memcached service"

This commit is contained in:
Zuul 2018-03-05 22:10:18 +00:00 committed by Gerrit Code Review
commit a29aa075a4
3 changed files with 67 additions and 244 deletions

View File

@ -17,7 +17,7 @@
set -xe set -xe
TMP_DIR=$(mktemp -d) TMP_DIR=$(mktemp -d)
git clone http://github.com/att-comdev/armada.git ${TMP_DIR}/armada git clone --depth 1 http://github.com/att-comdev/armada.git ${TMP_DIR}/armada
sudo pip3 install ${TMP_DIR}/armada sudo pip3 install ${TMP_DIR}/armada
sudo make build -C ${TMP_DIR}/armada sudo make build -C ${TMP_DIR}/armada
sudo rm -rf ${TMP_DIR} sudo rm -rf ${TMP_DIR}

View File

@ -16,16 +16,46 @@
set -xe set -xe
passwords="DB_ADMIN_PASSWORD ELASTICSEARCH_ADMIN_PASSWORD GRAFANA_DB_PASSWORD GRAFANA_SESSION_DB_PASSWORD \ passwords="BARBICAN_DB_PASSWORD \
GRAFANA_ADMIN_PASSWORD KIBANA_ADMIN_PASSWORD KEYSTONE_RABBITMQ_ADMIN_PASSWORD KEYSTONE_DB_PASSWORD \ BARBICAN_RABBITMQ_ADMIN_PASSWORD \
KEYSTONE_ADMIN_PASSWORD SWIFT_USER_PASSWORD GLANCE_RABBITMQ_ADMIN_PASSWORD GLANCE_DB_PASSWORD \ BARBICAN_RABBITMQ_USER_PASSWORD \
GLANCE_USER_PASSWORD CINDER_RABBITMQ_ADMIN_PASSWORD CINDER_DB_PASSWORD CINDER_USER_PASSWORD \ BARBICAN_USER_PASSWORD \
NOVA_RABBITMQ_ADMIN_PASSWORD NOVA_DB_PASSWORD NOVA_USER_PASSWORD NOVA_PLACEMENT_USER_PASSWORD \ CINDER_DB_PASSWORD \
NEUTRON_RABBITMQ_ADMIN_PASSWORD NEUTRON_DB_PASSWORD NEUTRON_USER_PASSWORD HEAT_RABBITMQ_ADMIN_PASSWORD \ CINDER_RABBITMQ_ADMIN_PASSWORD \
HEAT_DB_PASSWORD HEAT_USER_PASSWORD HEAT_TRUSTEE_PASSWORD HEAT_STACK_PASSWORD \ CINDER_RABBITMQ_USER_PASSWORD \
BARBICAN_RABBITMQ_ADMIN_PASSWORD BARBICAN_DB_PASSWORD BARBICAN_USER_PASSWORD OPENSTACK_EXPORTER_USER_PASSWORD \ CINDER_USER_PASSWORD \
KEYSTONE_RABBITMQ_USER_PASSWORD GLANCE_RABBITMQ_USER_PASSWORD CINDER_RABBITMQ_USER_PASSWORD NOVA_RABBITMQ_USER_PASSWORD \ DB_ADMIN_PASSWORD \
NEUTRON_RABBITMQ_USER_PASSWORD HEAT_RABBITMQ_USER_PASSWORD BARBICAN_RABBITMQ_USER_PASSWORD" ELASTICSEARCH_ADMIN_PASSWORD \
GLANCE_DB_PASSWORD \
GLANCE_RABBITMQ_ADMIN_PASSWORD \
GLANCE_RABBITMQ_USER_PASSWORD \
GLANCE_USER_PASSWORD \
GRAFANA_ADMIN_PASSWORD \
GRAFANA_DB_PASSWORD \
GRAFANA_SESSION_DB_PASSWORD \
HEAT_DB_PASSWORD \
HEAT_RABBITMQ_ADMIN_PASSWORD \
HEAT_RABBITMQ_USER_PASSWORD \
HEAT_STACK_PASSWORD \
HEAT_TRUSTEE_PASSWORD \
HEAT_USER_PASSWORD \
KEYSTONE_ADMIN_PASSWORD \
KEYSTONE_AUTHTOKEN_MEMCACHED_SECRET_KEY \
KEYSTONE_DB_PASSWORD \
KEYSTONE_RABBITMQ_ADMIN_PASSWORD \
KEYSTONE_RABBITMQ_USER_PASSWORD \
KIBANA_ADMIN_PASSWORD \
NEUTRON_DB_PASSWORD \
NEUTRON_RABBITMQ_ADMIN_PASSWORD \
NEUTRON_RABBITMQ_USER_PASSWORD \
NEUTRON_USER_PASSWORD \
NOVA_DB_PASSWORD \
NOVA_PLACEMENT_USER_PASSWORD \
NOVA_RABBITMQ_ADMIN_PASSWORD \
NOVA_RABBITMQ_USER_PASSWORD \
NOVA_USER_PASSWORD \
OPENSTACK_EXPORTER_USER_PASSWORD \
SWIFT_USER_PASSWORD"
for password in $passwords for password in $passwords
do do

View File

@ -167,10 +167,10 @@ data:
schema: armada/Chart/v1 schema: armada/Chart/v1
metadata: metadata:
schema: metadata/Document/v1 schema: metadata/Document/v1
name: keystone-memcached name: memcached
data: data:
chart_name: keystone-memcached chart_name: memcached
release: keystone-memcached release: memcached
namespace: openstack namespace: openstack
timeout: 1800 timeout: 1800
install: install:
@ -178,10 +178,6 @@ data:
upgrade: upgrade:
no_hooks: false no_hooks: false
values: values:
endpoints:
oslo_cache:
hosts:
default: keystone-memcached
labels: labels:
server: server:
node_selector_key: openstack-control-plane node_selector_key: openstack-control-plane
@ -285,8 +281,8 @@ data:
admin: admin:
password: ${KEYSTONE_ADMIN_PASSWORD} password: ${KEYSTONE_ADMIN_PASSWORD}
oslo_cache: oslo_cache:
hosts: auth:
default: keystone-memcached memcache_secret_key: ${KEYSTONE_AUTHTOKEN_MEMCACHED_SECRET_KEY}
oslo_db: oslo_db:
auth: auth:
admin: admin:
@ -393,45 +389,6 @@ data:
- helm-toolkit - helm-toolkit
--- ---
schema: armada/Chart/v1 schema: armada/Chart/v1
metadata:
schema: metadata/Document/v1
name: glance-memcached
data:
chart_name: glance-memcached
release: glance-memcached
namespace: openstack
timeout: 1800
install:
no_hooks: false
upgrade:
no_hooks: false
values:
endpoints:
oslo_cache:
hosts:
default: glance-memcached
labels:
api:
node_selector_key: openstack-control-plane
node_selector_value: enabled
job:
node_selector_key: openstack-control-plane
node_selector_value: enabled
registry:
node_selector_key: openstack-control-plane
node_selector_value: enabled
test:
node_selector_key: openstack-control-plane
node_selector_value: enabled
source:
type: local
location: ${OSH_PATH}
subpath: memcached
reference: master
dependencies:
- helm-toolkit
---
schema: armada/Chart/v1
metadata: metadata:
schema: metadata/Document/v1 schema: metadata/Document/v1
name: glance-rabbitmq name: glance-rabbitmq
@ -528,8 +485,8 @@ data:
glance: glance:
password: ${GLANCE_DB_PASSWORD} password: ${GLANCE_DB_PASSWORD}
oslo_cache: oslo_cache:
hosts: auth:
default: glance-memcached memcache_secret_key: ${KEYSTONE_AUTHTOKEN_MEMCACHED_SECRET_KEY}
oslo_messaging: oslo_messaging:
auth: auth:
admin: admin:
@ -564,51 +521,6 @@ data:
- helm-toolkit - helm-toolkit
--- ---
schema: armada/Chart/v1 schema: armada/Chart/v1
metadata:
schema: metadata/Document/v1
name: cinder-memcached
data:
chart_name: cinder-memcached
release: cinder-memcached
namespace: openstack
timeout: 1800
install:
no_hooks: false
upgrade:
no_hooks: false
values:
endpoints:
oslo_cache:
hosts:
default: cinder-memcached
labels:
api:
node_selector_key: openstack-control-plane
node_selector_value: enabled
backup:
node_selector_key: openstack-control-plane
node_selector_value: enabled
job:
node_selector_key: openstack-control-plane
node_selector_value: enabled
scheduler:
node_selector_key: openstack-control-plane
node_selector_value: enabled
test:
node_selector_key: openstack-control-plane
node_selector_value: enabled
volume:
node_selector_key: openstack-control-plane
node_selector_value: enabled
source:
type: local
location: ${OSH_PATH}
subpath: memcached
reference: master
dependencies:
- helm-toolkit
---
schema: armada/Chart/v1
metadata: metadata:
schema: metadata/Document/v1 schema: metadata/Document/v1
name: cinder-rabbitmq name: cinder-rabbitmq
@ -705,8 +617,8 @@ data:
cinder: cinder:
password: ${CINDER_DB_PASSWORD} password: ${CINDER_DB_PASSWORD}
oslo_cache: oslo_cache:
hosts: auth:
default: cinder-memcached memcache_secret_key: ${KEYSTONE_AUTHTOKEN_MEMCACHED_SECRET_KEY}
oslo_messaging: oslo_messaging:
auth: auth:
admin: admin:
@ -805,36 +717,6 @@ data:
- helm-toolkit - helm-toolkit
--- ---
schema: armada/Chart/v1 schema: armada/Chart/v1
metadata:
schema: metadata/Document/v1
name: nova-memcached
data:
chart_name: nova-memcached
release: nova-memcached
namespace: openstack
timeout: 1800
install:
no_hooks: false
upgrade:
no_hooks: false
values:
endpoints:
oslo_cache:
hosts:
default: nova-memcached
labels:
server:
node_selector_key: openstack-control-plane
node_selector_value: enabled
source:
type: local
location: ${OSH_PATH}
subpath: memcached
reference: master
dependencies:
- helm-toolkit
---
schema: armada/Chart/v1
metadata: metadata:
schema: metadata/Document/v1 schema: metadata/Document/v1
name: nova-rabbitmq name: nova-rabbitmq
@ -960,8 +842,8 @@ data:
nova: nova:
password: ${NOVA_DB_PASSWORD} password: ${NOVA_DB_PASSWORD}
oslo_cache: oslo_cache:
hosts: auth:
default: nova-memcached memcache_secret_key: ${KEYSTONE_AUTHTOKEN_MEMCACHED_SECRET_KEY}
oslo_messaging: oslo_messaging:
auth: auth:
admin: admin:
@ -1032,36 +914,6 @@ data:
- helm-toolkit - helm-toolkit
--- ---
schema: armada/Chart/v1 schema: armada/Chart/v1
metadata:
schema: metadata/Document/v1
name: neutron-memcached
data:
chart_name: neutron-memcached
release: neutron-memcached
namespace: openstack
timeout: 1800
install:
no_hooks: false
upgrade:
no_hooks: false
values:
endpoints:
oslo_cache:
hosts:
default: neutron-memcached
labels:
server:
node_selector_key: openstack-control-plane
node_selector_value: enabled
source:
type: local
location: ${OSH_PATH}
subpath: memcached
reference: master
dependencies:
- helm-toolkit
---
schema: armada/Chart/v1
metadata: metadata:
schema: metadata/Document/v1 schema: metadata/Document/v1
name: neutron-rabbitmq name: neutron-rabbitmq
@ -1156,8 +1008,8 @@ data:
neutron: neutron:
password: ${NEUTRON_DB_PASSWORD} password: ${NEUTRON_DB_PASSWORD}
oslo_cache: oslo_cache:
hosts: auth:
default: neutron-memcached memcache_secret_key: ${KEYSTONE_AUTHTOKEN_MEMCACHED_SECRET_KEY}
oslo_messaging: oslo_messaging:
auth: auth:
admin: admin:
@ -1230,36 +1082,6 @@ data:
- helm-toolkit - helm-toolkit
--- ---
schema: armada/Chart/v1 schema: armada/Chart/v1
metadata:
schema: metadata/Document/v1
name: heat-memcached
data:
chart_name: heat-memcached
release: heat-memcached
namespace: openstack
timeout: 1800
install:
no_hooks: false
upgrade:
no_hooks: false
values:
endpoints:
oslo_cache:
hosts:
default: heat-memcached
labels:
server:
node_selector_key: openstack-control-plane
node_selector_value: enabled
source:
type: local
location: ${OSH_PATH}
subpath: memcached
reference: master
dependencies:
- helm-toolkit
---
schema: armada/Chart/v1
metadata: metadata:
schema: metadata/Document/v1 schema: metadata/Document/v1
name: heat-rabbitmq name: heat-rabbitmq
@ -1399,39 +1221,6 @@ data:
- helm-toolkit - helm-toolkit
--- ---
schema: armada/Chart/v1 schema: armada/Chart/v1
metadata:
schema: metadata/Document/v1
name: barbican-memcached
data:
chart_name: barbican-memcached
release: barbican-memcached
namespace: openstack
timeout: 1800
install:
no_hooks: false
upgrade:
no_hooks: false
values:
endpoints:
oslo_cache:
hosts:
default: barbican-memcached
labels:
server:
node_selector_key: openstack-control-plane
node_selector_value: enabled
test:
node_selector_key: openstack-control-plane
node_selector_value: enabled
source:
type: local
location: ${OSH_PATH}
subpath: memcached
reference: master
dependencies:
- helm-toolkit
---
schema: armada/Chart/v1
metadata: metadata:
schema: metadata/Document/v1 schema: metadata/Document/v1
name: barbican-rabbitmq name: barbican-rabbitmq
@ -1524,8 +1313,8 @@ data:
barbican: barbican:
password: ${BARBICAN_DB_PASSWORD} password: ${BARBICAN_DB_PASSWORD}
oslo_cache: oslo_cache:
hosts: auth:
default: barbican-memcached memcache_secret_key: ${KEYSTONE_AUTHTOKEN_MEMCACHED_SECRET_KEY}
oslo_messaging: oslo_messaging:
auth: auth:
admin: admin:
@ -1623,6 +1412,16 @@ data:
- mariadb - mariadb
--- ---
schema: armada/ChartGroup/v1 schema: armada/ChartGroup/v1
metadata:
schema: metadata/Document/v1
name: deploy-memcached
data:
description: "Memcached"
sequenced: True
chart_group:
- memcached
---
schema: armada/ChartGroup/v1
metadata: metadata:
schema: metadata/Document/v1 schema: metadata/Document/v1
name: openstack-infra-services name: openstack-infra-services
@ -1641,7 +1440,6 @@ data:
description: "Deploy keystone" description: "Deploy keystone"
sequenced: True sequenced: True
chart_group: chart_group:
- keystone-memcached
- keystone-rabbitmq - keystone-rabbitmq
- keystone - keystone
--- ---
@ -1653,7 +1451,6 @@ data:
description: "Deploy glance" description: "Deploy glance"
sequenced: True sequenced: True
chart_group: chart_group:
- glance-memcached
- glance-rabbitmq - glance-rabbitmq
- glance - glance
--- ---
@ -1675,7 +1472,6 @@ data:
description: "Deploy cinder" description: "Deploy cinder"
sequenced: True sequenced: True
chart_group: chart_group:
- cinder-memcached
- cinder-rabbitmq - cinder-rabbitmq
- cinder - cinder
--- ---
@ -1687,10 +1483,8 @@ data:
description: "Deploy nova and neutron" description: "Deploy nova and neutron"
sequenced: False sequenced: False
chart_group: chart_group:
- nova-memcached
- nova-rabbitmq - nova-rabbitmq
- nova - nova
- neutron-memcached
- neutron-rabbitmq - neutron-rabbitmq
- neutron - neutron
--- ---
@ -1702,7 +1496,6 @@ data:
description: "Deploy heat" description: "Deploy heat"
sequenced: True sequenced: True
chart_group: chart_group:
- heat-memcached
- heat-rabbitmq - heat-rabbitmq
- heat - heat
--- ---
@ -1714,7 +1507,6 @@ data:
description: "Deploy barbican" description: "Deploy barbican"
sequenced: True sequenced: True
chart_group: chart_group:
- barbican-memcached
- barbican-rabbitmq - barbican-rabbitmq
- barbican - barbican
--- ---
@ -1738,6 +1530,7 @@ data:
- openstack-ingress-controller - openstack-ingress-controller
- openstack-ceph-config - openstack-ceph-config
- deploy-mariadb - deploy-mariadb
- deploy-memcached
- openstack-infra-services - openstack-infra-services
- openstack-keystone - openstack-keystone
- openstack-glance - openstack-glance