diff --git a/.gitignore b/.gitignore index 77095eb5a5..915ed938a3 100644 --- a/.gitignore +++ b/.gitignore @@ -71,3 +71,4 @@ releasenotes/build # Gate and Check Logs logs/ +tmp/ diff --git a/.zuul.yaml b/.zuul.yaml index ce2dfd2a08..0a6061a242 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -51,6 +51,12 @@ - ^.*\.rst$ - ^doc/.*$ - ^releasenotes/.*$ + - openstack-helm-armada-fullstack-deploy: + voting: false + irrelevant-files: + - ^.*\.rst$ + - ^doc/.*$ + - ^releasenotes/.*$ gate: jobs: - openstack-helm-linter: @@ -116,6 +122,24 @@ required-projects: - openstack/openstack-helm-infra +- job: + timeout: 9600 + vars: + zuul_osh_infra_relative_path: ../openstack-helm-infra/ + name: openstack-helm-armada-fullstack-deploy + pre-run: + - ../openstack-helm-infra/tools/gate/playbooks/osh-infra-upgrade-host.yaml + - ../openstack-helm-infra/tools/gate/playbooks/osh-infra-deploy-docker.yaml + - ../openstack-helm-infra/tools/gate/playbooks/osh-infra-build.yaml + - ../openstack-helm-infra/tools/gate/playbooks/osh-infra-deploy-k8s.yaml + run: tools/gate/playbooks/armada-fullstack-deploy.yaml + post-run: + - ../openstack-helm-infra/tools/gate/playbooks/osh-infra-collect-logs.yaml + - tools/gate/playbooks/gather-armada-manifests.yaml + required-projects: + - openstack/openstack-helm-infra + nodeset: openstack-helm-five-node-ubuntu + - job: name: openstack-helm-multinode-ubuntu parent: openstack-helm-multinode diff --git a/Makefile b/Makefile index 65f3c52f0e..b038cb46b3 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ SHELL := /bin/bash HELM := helm TASK := build -EXCLUDES := helm-toolkit doc tests tools logs +EXCLUDES := helm-toolkit doc tests tools logs tmp CHARTS := helm-toolkit $(filter-out $(EXCLUDES), $(patsubst %/.,%,$(wildcard */.))) .PHONY: $(EXCLUDES) $(CHARTS) diff --git a/tools/deployment/armada/010-armada-host-setup.sh b/tools/deployment/armada/010-armada-host-setup.sh new file mode 100755 index 0000000000..3e3b3a2c59 --- /dev/null +++ b/tools/deployment/armada/010-armada-host-setup.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +# Copyright 2017 The Openstack-Helm Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +set -xe + +sudo apt-get install -y python3-pip +sudo pip3 install --upgrade pip diff --git a/tools/deployment/armada/015-armada-build.sh b/tools/deployment/armada/015-armada-build.sh new file mode 100755 index 0000000000..6a97248860 --- /dev/null +++ b/tools/deployment/armada/015-armada-build.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +# Copyright 2017 The Openstack-Helm Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +set -xe + +TMP_DIR=$(mktemp -d) +git clone http://github.com/att-comdev/armada.git ${TMP_DIR}/armada +sudo pip3 install ${TMP_DIR}/armada +sudo make build -C ${TMP_DIR}/armada +sudo rm -rf ${TMP_DIR} diff --git a/tools/deployment/armada/020-armada-apply-manifests.sh b/tools/deployment/armada/020-armada-apply-manifests.sh new file mode 100755 index 0000000000..8303b8641f --- /dev/null +++ b/tools/deployment/armada/020-armada-apply-manifests.sh @@ -0,0 +1,33 @@ +#!/bin/bash + +# Copyright 2017 The Openstack-Helm Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +set -xe + +source ./tools/deployment/armada/generate-passwords.sh +: ${OSH_INFRA_PATH:="../openstack-helm-infra"} +: ${OSH_PATH:="./"} + +export CEPH_NETWORK=$(./tools/deployment/multinode/kube-node-subnet.sh) +export TUNNEL_DEVICE=$(ip -4 route list 0/0 | awk '{ print $5; exit }') +export OSH_INFRA_PATH +export OSH_PATH + +manifests="armada-cluster-ingress armada-ceph armada-lma armada-osh" +for manifest in $manifests; do + echo "Applying $manifest manifest" + envsubst < ./tools/deployment/armada/multinode/$manifest.yaml > /tmp/$manifest.yaml + armada apply /tmp/$manifest.yaml +done diff --git a/tools/deployment/armada/generate-passwords.sh b/tools/deployment/armada/generate-passwords.sh new file mode 100755 index 0000000000..6107841724 --- /dev/null +++ b/tools/deployment/armada/generate-passwords.sh @@ -0,0 +1,31 @@ +#!/bin/bash + +# Copyright 2017 The Openstack-Helm Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +set -xe + +passwords="DB_ADMIN_PASSWORD ELASTICSEARCH_ADMIN_PASSWORD GRAFANA_DB_PASSWORD GRAFANA_SESSION_DB_PASSWORD \ + GRAFANA_ADMIN_PASSWORD KIBANA_ADMIN_PASSWORD KEYSTONE_RABBITMQ_PASSWORD KEYSTONE_DB_PASSWORD \ + KEYSTONE_ADMIN_PASSWORD SWIFT_USER_PASSWORD GLANCE_RABBITMQ_PASSWORD GLANCE_DB_PASSWORD \ + GLANCE_USER_PASSWORD CINDER_RABBITMQ_PASSWORD CINDER_DB_PASSWORD CINDER_USER_PASSWORD \ + NOVA_RABBITMQ_PASSWORD NOVA_DB_PASSWORD NOVA_USER_PASSWORD NOVA_PLACEMENT_USER_PASSWORD \ + NEUTRON_RABBITMQ_PASSWORD NEUTRON_DB_PASSWORD NEUTRON_USER_PASSWORD HEAT_RABBITMQ_PASSWORD \ + HEAT_DB_PASSWORD HEAT_USER_PASSWORD HEAT_TRUSTEE_PASSWORD HEAT_STACK_PASSWORD \ + BARBICAN_RABBITMQ_PASSWORD BARBICAN_DB_PASSWORD BARBICAN_USER_PASSWORD OPENSTACK_EXPORTER_USER_PASSWORD" + +for password in $passwords +do + export $password=$(tr -dc A-Za-z0-9 < /dev/urandom 2>/dev/null | head -c 20) +done diff --git a/tools/deployment/armada/multinode/armada-ceph.yaml b/tools/deployment/armada/multinode/armada-ceph.yaml new file mode 100644 index 0000000000..fb24dd7fc4 --- /dev/null +++ b/tools/deployment/armada/multinode/armada-ceph.yaml @@ -0,0 +1,80 @@ +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: helm-toolkit +data: + chart_name: helm-toolkit + release: helm-toolkit + namespace: helm-toolkit + timeout: 300 + values: {} + source: + type: local + location: ${OSH_PATH} + subpath: helm-toolkit + reference: master + dependencies: [] +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: ceph +data: + chart_name: ceph + release: ceph + namespace: ceph + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + endpoints: + identity: + namespace: openstack + object_store: + namespace: ceph + ceph_mon: + namespace: ceph + network: + public: ${CEPH_NETWORK} + cluster: ${CEPH_NETWORK} + deployment: + storage_secrets: true + ceph: true + rbd_provisioner: true + cephfs_provisioner: true + client_secrets: false + rgw_keystone_user_and_endpoints: false + bootstrap: + enabled: true + conf: + rgw_ks: + enabled: true + source: + type: local + location: ${OSH_PATH} + subpath: ceph + reference: master + dependencies: + - helm-toolkit +--- +schema: armada/ChartGroup/v1 +metadata: + schema: metadata/Document/v1 + name: ceph-storage +data: + description: "Ceph Storage" + sequenced: True + chart_group: + - ceph +--- +schema: armada/Manifest/v1 +metadata: + schema: metadata/Document/v1 + name: armada-manifest +data: + release_prefix: osh + chart_groups: + - ceph-storage diff --git a/tools/deployment/armada/multinode/armada-cluster-ingress.yaml b/tools/deployment/armada/multinode/armada-cluster-ingress.yaml new file mode 100644 index 0000000000..accc3c8256 --- /dev/null +++ b/tools/deployment/armada/multinode/armada-cluster-ingress.yaml @@ -0,0 +1,73 @@ +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: helm-toolkit +data: + chart_name: helm-toolkit + release: helm-toolkit + namespace: helm-toolkit + timeout: 300 + values: {} + source: + type: local + location: ${OSH_PATH} + subpath: helm-toolkit + reference: master + dependencies: [] +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: ingress-kube-system +data: + chart_name: ingress-kube-system + release: ingress-kube-system + namespace: kube-system + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + labels: + node_selector_key: openstack-control-plane + node_selector_value: enabled + pod: + replicas: + error_page: 2 + deployment: + mode: cluster + type: DaemonSet + network: + host_namespace: true + conf: + services: + udp: + 53: 'kube-system/kube-dns:53' + source: + type: local + location: ${OSH_PATH} + subpath: ingress + reference: master + dependencies: + - helm-toolkit +--- +schema: armada/ChartGroup/v1 +metadata: + schema: metadata/Document/v1 + name: cluster-ingress-controller +data: + description: "Cluster Ingress Controller" + sequenced: False + chart_group: + - ingress-kube-system +--- +schema: armada/Manifest/v1 +metadata: + schema: metadata/Document/v1 + name: armada-manifest +data: + release_prefix: osh + chart_groups: + - cluster-ingress-controller diff --git a/tools/deployment/armada/multinode/armada-lma.yaml b/tools/deployment/armada/multinode/armada-lma.yaml new file mode 100644 index 0000000000..ef20a41f3e --- /dev/null +++ b/tools/deployment/armada/multinode/armada-lma.yaml @@ -0,0 +1,483 @@ +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: helm-toolkit +data: + chart_name: helm-toolkit + release: helm-toolkit + namespace: helm-toolkit + timeout: 300 + values: {} + source: + type: local + location: ${OSH_PATH} + subpath: helm-toolkit + reference: master + dependencies: [] +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: osh-infra-helm-toolkit +data: + chart_name: osh-infra-helm-toolkit + release: osh-infra-helm-toolkit + namespace: helm-toolkit + timeout: 300 + values: {} + source: + type: local + location: ${OSH_INFRA_PATH} + subpath: helm-toolkit + reference: master + dependencies: [] +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: osh-infra-ingress-controller +data: + chart_name: osh-infra-ingress-controller + release: osh-infra-ingress-controller + namespace: osh-infra + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + labels: + node_selector_key: openstack-control-plane + node_selector_value: enabled + pod: + replicas: + error_page: 2 + ingress: 2 + source: + type: local + location: ${OSH_PATH} + subpath: ingress + reference: master + dependencies: + - helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: osh-infra-ceph-config +data: + chart_name: osh-infra-ceph-config + release: osh-infra-ceph-config + namespace: osh-infra + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + endpoints: + identity: + namespace: openstack + object_store: + namespace: ceph + ceph_mon: + namespace: ceph + labels: + jobs: + node_selector_key: openstack-control-plane + node_selector_value: enabled + network: + public: ${CEPH_NETWORK} + cluster: ${CEPH_NETWORK} + deployment: + storage_secrets: false + ceph: false + rbd_provisioner: false + cephfs_provisioner: false + client_secrets: true + rgw_keystone_user_and_endpoints: false + bootstrap: + enabled: false + conf: + rgw_ks: + enabled: true + source: + type: local + location: ${OSH_PATH} + subpath: ceph + reference: master + dependencies: + - helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: osh-infra-mariadb +data: + chart_name: osh-infra-mariadb + release: osh-infra-mariadb + namespace: osh-infra + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + volume: + enabled: false + pod: + replicas: + server: 1 + endpoints: + oslo_db: + auth: + admin: + password: ${DB_ADMIN_PASSWORD} + labels: + node_selector_key: openstack-control-plane + node_selector_value: enabled + source: + type: local + location: ${OSH_PATH} + subpath: mariadb + reference: master + dependencies: + - helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: elasticsearch +data: + chart_name: elasticsearch + release: elasticsearch + namespace: osh-infra + timeout: 3600 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + endpoints: + elasticsearch: + auth: + admin: + password: ${ELASTICSEARCH_ADMIN_PASSWORD} + pod: + replicas: + data: 1 + client: 1 + labels: + node_selector_key: openstack-control-plane + node_selector_value: enabled + storage: + elasticsearch: + enabled: false + source: + type: local + location: ${OSH_INFRA_PATH} + subpath: elasticsearch + reference: master + dependencies: + - osh-infra-helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: fluent-logging +data: + chart_name: fluent-logging + release: fluent-logging + namespace: osh-infra + timeout: 3600 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + endpoints: + elasticsearch: + auth: + admin: + password: ${ELASTICSEARCH_ADMIN_PASSWORD} + pod: + replicas: + fluentd: 1 + labels: + fluentd: + node_selector_key: openstack-control-plane + node_selector_value: enabled + fluentbit: + node_selector_key: openstack-control-plane + node_selector_value: enabled + source: + type: local + location: ${OSH_INFRA_PATH} + subpath: fluent-logging + reference: master + dependencies: + - osh-infra-helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: kibana +data: + chart_name: kibana + release: kibana + namespace: osh-infra + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + endpoints: + elasticsearch: + auth: + admin: + password: ${ELASTICSEARCH_ADMIN_PASSWORD} + kibana: + auth: + admin: + password: ${KIBANA_ADMIN_PASSWORD} + labels: + kibana: + node_selector_key: openstack-control-plane + node_selector_value: enabled + source: + type: local + location: ${OSH_INFRA_PATH} + subpath: kibana + reference: master + dependencies: + - osh-infra-helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: prometheus +data: + chart_name: prometheus + release: prometheus + namespace: osh-infra + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + labels: + node_selector_key: openstack-control-plane + node_selector_value: enabled + pod: + replicas: + prometheus: 2 + source: + type: local + location: ${OSH_INFRA_PATH} + subpath: prometheus + reference: master + dependencies: + - osh-infra-helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: prometheus-kube-state-metrics +data: + chart_name: prometheus-kube-state-metrics + release: prometheus-kube-state-metrics + namespace: kube-system + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + labels: + node_selector_key: openstack-control-plane + node_selector_value: enabled + source: + type: local + location: ${OSH_INFRA_PATH} + subpath: prometheus-kube-state-metrics + reference: master + dependencies: + - osh-infra-helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: prometheus-node-exporter +data: + chart_name: prometheus-node-exporter + release: prometheus-node-exporter + namespace: kube-system + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + labels: + node_selector_key: openstack-control-plane + node_selector_value: enabled + source: + type: local + location: ${OSH_INFRA_PATH} + subpath: prometheus-node-exporter + reference: master + dependencies: + - osh-infra-helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: prometheus-alertmanager +data: + chart_name: prometheus-alertmanager + release: prometheus-alertmanager + namespace: osh-infra + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + storage: + enabled: false + labels: + node_selector_key: openstack-control-plane + node_selector_value: enabled + source: + type: local + location: ${OSH_INFRA_PATH} + subpath: prometheus-alertmanager + reference: master + dependencies: + - osh-infra-helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: grafana +data: + chart_name: grafana + release: grafana + namespace: osh-infra + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + endpoints: + oslo_db: + namespace: osh-infra + auth: + admin: + password: ${DB_ADMIN_PASSWORD} + user: + password: ${GRAFANA_DB_PASSWORD} + oslo_db_session: + namespace: osh-infra + auth: + admin: + password: ${DB_ADMIN_PASSWORD} + user: + password: ${GRAFANA_SESSION_DB_PASSWORD} + grafana: + auth: + admin: + password: ${GRAFANA_ADMIN_PASSWORD} + labels: + node_selector_key: openstack-control-plane + node_selector_value: enabled + source: + type: local + location: ${OSH_INFRA_PATH} + subpath: grafana + reference: master + dependencies: + - osh-infra-helm-toolkit +--- +schema: armada/ChartGroup/v1 +metadata: + schema: metadata/Document/v1 + name: osh-infra-ingress-controller +data: + description: "LMA Ingress Controller" + sequenced: False + chart_group: + - osh-infra-ingress-controller +--- +schema: armada/ChartGroup/v1 +metadata: + schema: metadata/Document/v1 + name: osh-infra-ceph-config +data: + description: "LMA Ceph Config" + sequenced: True + chart_group: + - osh-infra-ceph-config +--- +schema: armada/ChartGroup/v1 +metadata: + schema: metadata/Document/v1 + name: osh-infra-mariadb +data: + description: "Mariadb" + sequenced: True + chart_group: + - osh-infra-mariadb +--- +schema: armada/ChartGroup/v1 +metadata: + schema: metadata/Document/v1 + name: osh-infra-logging +data: + description: 'Logging Infrastructure' + sequenced: True + chart_group: + - elasticsearch + - fluent-logging +--- +schema: armada/ChartGroup/v1 +metadata: + schema: metadata/Document/v1 + name: osh-infra-monitoring +data: + description: 'Monitoring Infrastructure' + sequenced: False + chart_group: + - prometheus-alertmanager + - prometheus-node-exporter + - prometheus-kube-state-metrics + - prometheus +--- +schema: armada/ChartGroup/v1 +metadata: + schema: metadata/Document/v1 + name: osh-infra-dashboards +data: + description: 'Logging and Monitoring Dashboards' + sequenced: False + chart_group: + - grafana + - kibana +--- +schema: armada/Manifest/v1 +metadata: + schema: metadata/Document/v1 + name: armada-manifest +data: + release_prefix: osh-infra + chart_groups: + - osh-infra-ingress-controller + - osh-infra-ceph-config + - osh-infra-logging + - osh-infra-monitoring + - osh-infra-mariadb + - osh-infra-dashboards diff --git a/tools/deployment/armada/multinode/armada-osh.yaml b/tools/deployment/armada/multinode/armada-osh.yaml new file mode 100644 index 0000000000..fbfc49d0e1 --- /dev/null +++ b/tools/deployment/armada/multinode/armada-osh.yaml @@ -0,0 +1,1341 @@ +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: helm-toolkit +data: + chart_name: helm-toolkit + release: helm-toolkit + namespace: helm-toolkit + timeout: 300 + values: {} + source: + type: local + location: ${OSH_PATH} + subpath: helm-toolkit + reference: master + dependencies: [] +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: osh-infra-helm-toolkit +data: + chart_name: osh-infra-helm-toolkit + release: osh-infra-helm-toolkit + namespace: helm-toolkit + timeout: 300 + values: {} + source: + type: local + location: ${OSH_INFRA_PATH} + subpath: helm-toolkit + reference: master + dependencies: [] +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: openstack-ingress-controller +data: + chart_name: openstack-ingress-controller + release: openstack-ingress-controller + namespace: openstack + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + labels: + node_selector_key: openstack-control-plane + node_selector_value: enabled + pod: + replicas: + error_page: 2 + ingress: 2 + source: + type: local + location: ${OSH_PATH} + subpath: ingress + reference: master + dependencies: + - helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: openstack-ceph-config +data: + chart_name: openstack-ceph-config + release: openstack-ceph-config + namespace: openstack + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + endpoints: + identity: + namespace: openstack + object_store: + namespace: ceph + ceph_mon: + namespace: ceph + labels: + jobs: + node_selector_key: openstack-control-plane + node_selector_value: enabled + network: + public: ${CEPH_NETWORK} + cluster: ${CEPH_NETWORK} + deployment: + storage_secrets: false + ceph: false + rbd_provisioner: false + cephfs_provisioner: false + client_secrets: true + rgw_user_and_endpoints: false + bootstrap: + enabled: false + conf: + rgw_ks: + enabled: true + source: + type: local + location: ${OSH_PATH} + subpath: ceph + reference: master + dependencies: + - helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: mariadb +data: + chart_name: mariadb + release: mariadb + namespace: openstack + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + volume: + enabled: false + endpoints: + oslo_db: + auth: + admin: + password: ${DB_ADMIN_PASSWORD} + labels: + node_selector_key: openstack-control-plane + node_selector_value: enabled + source: + type: local + location: ${OSH_PATH} + subpath: mariadb + reference: master + dependencies: + - helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: keystone-memcached +data: + chart_name: keystone-memcached + release: keystone-memcached + namespace: openstack + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + endpoints: + oslo_cache: + hosts: + default: keystone-memcached + labels: + 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: + schema: metadata/Document/v1 + name: keystone-rabbitmq +data: + chart_name: keystone-rabbitmq + release: keystone-rabbitmq + namespace: openstack + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + endpoints: + oslo_messaging: + auth: + user: + username: keystone-rabbitmq + password: ${KEYSTONE_RABBITMQ_PASSWORD} + hosts: + default: keystone-rabbitmq + labels: + node_selector_key: openstack-control-plane + node_selector_value: enabled + source: + type: local + location: ${OSH_PATH} + subpath: rabbitmq + reference: master + dependencies: + - helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: keystone +data: + chart_name: keystone + release: keystone + namespace: openstack + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + endpoints: + identity: + name: keystone + namespace: openstack + auth: + admin: + password: ${KEYSTONE_ADMIN_PASSWORD} + oslo_cache: + hosts: + default: keystone-memcached + oslo_db: + auth: + admin: + password: ${DB_ADMIN_PASSWORD} + keystone: + password: ${KEYSTONE_DB_PASSWORD} + oslo_messaging: + auth: + keystone: + username: keystone-rabbitmq + password: ${KEYSTONE_RABBITMQ_PASSWORD} + labels: + node_selector_key: openstack-control-plane + node_selector_value: enabled + pod: + replicas: + api: 2 + source: + type: local + location: ${OSH_PATH} + subpath: keystone + reference: master + dependencies: + - helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: radosgw-openstack +data: + chart_name: radosgw-openstack + release: radosgw-openstack + namespace: openstack + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + endpoints: + identity: + namespace: openstack + auth: + admin: + password: ${KEYSTONE_ADMIN_PASSWORD} + swift: + password: ${SWIFT_USER_PASSWORD} + object_store: + namespace: ceph + ceph_mon: + namespace: ceph + object_store: + namespace: ceph + ceph_mon: + namespace: ceph + labels: + rgw: + node_selector_key: ceph-rgw + node_selector_value: enabled + bootstrap: + enabled: false + conf: + rgw_ks: + enabled: true + network: + public: ${CEPH_NETWORK} + cluster: ${CEPH_NETWORK} + deployment: + storage_secrets: false + ceph: false + rbd_provisioner: false + cephfs_provisioner: false + client_secrets: false + rgw_keystone_user_and_endpoints: true + source: + type: local + location: ${OSH_PATH} + subpath: ceph + reference: master + dependencies: + - helm-toolkit +--- +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: + 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: + schema: metadata/Document/v1 + name: glance-rabbitmq +data: + chart_name: glance-rabbitmq + release: glance-rabbitmq + namespace: openstack + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + endpoints: + oslo_messaging: + auth: + user: + username: glance-rabbitmq + password: ${GLANCE_RABBITMQ_PASSWORD} + hosts: + default: glance-rabbitmq + labels: + node_selector_key: openstack-control-plane + node_selector_value: enabled + source: + type: local + location: ${OSH_PATH} + subpath: rabbitmq + reference: master + dependencies: + - helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: glance +data: + chart_name: glance + release: glance + namespace: openstack + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + endpoints: + identity: + auth: + admin: + password: ${KEYSTONE_ADMIN_PASSWORD} + glance: + password: ${GLANCE_USER_PASSWORD} + oslo_db: + auth: + admin: + password: ${DB_ADMIN_PASSWORD} + glance: + password: ${GLANCE_DB_PASSWORD} + oslo_cache: + hosts: + default: glance-memcached + oslo_messaging: + auth: + glance: + username: glance-rabbitmq + password: ${GLANCE_RABBITMQ_PASSWORD} + hosts: + default: glance-rabbitmq + labels: + node_selector_key: openstack-control-plane + node_selector_value: enabled + pod: + replicas: + api: 2 + registry: 2 + storage: radosgw + source: + type: local + location: ${OSH_PATH} + subpath: glance + reference: master + dependencies: + - helm-toolkit +--- +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: + 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: + schema: metadata/Document/v1 + name: cinder-rabbitmq +data: + chart_name: cinder-rabbitmq + release: cinder-rabbitmq + namespace: openstack + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + endpoints: + oslo_messaging: + auth: + user: + username: cinder-rabbitmq + password: ${CINDER_RABBITMQ_PASSWORD} + hosts: + default: cinder-rabbitmq + labels: + node_selector_key: openstack-control-plane + node_selector_value: enabled + source: + type: local + location: ${OSH_PATH} + subpath: rabbitmq + reference: master + dependencies: + - helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: cinder +data: + chart_name: cinder + release: cinder + namespace: openstack + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + endpoints: + identity: + auth: + admin: + password: ${KEYSTONE_ADMIN_PASSWORD} + cinder: + password: ${CINDER_USER_PASSWORD} + oslo_db: + auth: + admin: + password: ${DB_ADMIN_PASSWORD} + cinder: + password: ${CINDER_DB_PASSWORD} + oslo_cache: + hosts: + default: cinder-memcached + oslo_messaging: + auth: + cinder: + username: cinder-rabbitmq + password: ${CINDER_RABBITMQ_PASSWORD} + hosts: + default: cinder-rabbitmq + labels: + node_selector_key: openstack-control-plane + node_selector_value: enabled + pod: + replicas: + api: 2 + volume: 1 + scheduler: 1 + backup: 1 + conf: + cinder: + DEFAULT: + backup_driver: cinder.backup.drivers.swift + source: + type: local + location: ${OSH_PATH} + subpath: cinder + reference: master + dependencies: + - helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: openvswitch +data: + chart_name: openvswitch + release: openvswitch + namespace: openstack + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + labels: + ovs: + node_selector_key: openvswitch + node_selector_value: enabled + source: + type: local + location: ${OSH_PATH} + subpath: openvswitch + reference: master + dependencies: + - helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: libvirt +data: + chart_name: libvirt + release: libvirt + namespace: openstack + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + labels: + agent: + libvirt: + node_selector_key: openstack-compute-node + node_selector_value: enabled + source: + type: local + location: ${OSH_PATH} + subpath: libvirt + reference: master + dependencies: + - helm-toolkit +--- +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: + 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: + schema: metadata/Document/v1 + name: nova-rabbitmq +data: + chart_name: nova-rabbitmq + release: nova-rabbitmq + namespace: openstack + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + endpoints: + oslo_messaging: + auth: + user: + username: nova-rabbitmq + password: ${NOVA_RABBITMQ_PASSWORD} + hosts: + default: nova-rabbitmq + labels: + node_selector_key: openstack-control-plane + node_selector_value: enabled + source: + type: local + location: ${OSH_PATH} + subpath: rabbitmq + reference: master + dependencies: + - helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: nova +data: + chart_name: nova + release: nova + namespace: openstack + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + endpoints: + identity: + name: keystone + auth: + admin: + password: ${KEYSTONE_ADMIN_PASSWORD} + nova: + password: ${NOVA_USER_PASSWORD} + neutron: + password: ${NEUTRON_USER_PASSWORD} + placement: + password: ${NOVA_PLACEMENT_USER_PASSWORD} + oslo_db: + auth: + admin: + password: ${DB_ADMIN_PASSWORD} + nova: + password: ${NOVA_DB_PASSWORD} + oslo_db_api: + auth: + admin: + password: ${DB_ADMIN_PASSWORD} + nova: + password: ${NOVA_DB_PASSWORD} + oslo_db_cell0: + auth: + admin: + password: ${DB_ADMIN_PASSWORD} + nova: + password: ${NOVA_DB_PASSWORD} + oslo_cache: + hosts: + default: nova-memcached + oslo_messaging: + auth: + nova: + username: nova-rabbitmq + password: ${NOVA_RABBITMQ_PASSWORD} + hosts: + default: nova-rabbitmq + labels: + agent: + compute: + node_selector_key: openstack-compute-node + node_selector_value: enabled + conductor: + node_selector_key: openstack-control-plane + node_selector_value: enabled + consoleauth: + node_selector_key: openstack-control-plane + node_selector_value: enabled + scheduler: + node_selector_key: openstack-control-plane + node_selector_value: enabled + osapi: + node_selector_key: openstack-control-plane + node_selector_value: enabled + api_metadata: + node_selector_key: openstack-control-plane + node_selector_value: enabled + placement: + node_selector_key: openstack-control-plane + node_selector_value: enabled + job: + node_selector_key: openstack-control-plane + node_selector_value: enabled + novncproxy: + node_selector_key: openstack-control-plane + node_selector_value: enabled + spiceproxy: + node_selector_key: openstack-control-plane + node_selector_value: enabled + pod: + replicas: + api_metadata: 1 + placement: 2 + osapi: 2 + conductor: 2 + consoleauth: 2 + scheduler: 2 + novncproxy: 1 + conf: + nova: + libvirt: + virt_type: qemu + source: + type: local + location: ${OSH_PATH} + subpath: nova + reference: master + dependencies: + - helm-toolkit +--- +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: + 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: + schema: metadata/Document/v1 + name: neutron-rabbitmq +data: + chart_name: neutron-rabbitmq + release: neutron-rabbitmq + namespace: openstack + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + endpoints: + oslo_messaging: + auth: + user: + username: neutron-rabbitmq + password: ${NEUTRON_RABBITMQ_PASSWORD} + hosts: + default: neutron-rabbitmq + labels: + node_selector_key: openstack-control-plane + node_selector_value: enabled + source: + type: local + location: ${OSH_PATH} + subpath: rabbitmq + reference: master + dependencies: + - helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: neutron +data: + chart_name: neutron + release: neutron + namespace: openstack + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + endpoints: + identity: + auth: + admin: + password: ${KEYSTONE_ADMIN_PASSWORD} + neutron: + password: ${NEUTRON_USER_PASSWORD} + nova: + password: ${NOVA_USER_PASSWORD} + oslo_db: + auth: + admin: + password: ${DB_ADMIN_PASSWORD} + neutron: + password: ${NEUTRON_DB_PASSWORD} + oslo_cache: + hosts: + default: neutron-memcached + oslo_messaging: + auth: + neutron: + username: neutron-rabbitmq + password: ${NEUTRON_RABBITMQ_PASSWORD} + hosts: + default: neutron-rabbitmq + pod: + replicas: + server: 2 + labels: + ovs: + node_selector_key: openvswitch + node_selector_value: enabled + lb: + node_selector_key: linuxbridge + node_selector_value: enabled + server: + node_selector_key: openstack-control-plane + node_selector_value: enabled + agent: + dhcp: + node_selector_key: openstack-control-plane + node_selector_value: enabled + l3: + node_selector_key: openstack-control-plane + node_selector_value: enabled + metadata: + node_selector_key: openstack-control-plane + node_selector_value: enabled + network: + interface: + tunnel: $tunnel_device + conf: + neutron: + DEFAULT: + l3_ha: True + min_l3_agents_per_router: 2 + max_l3_agents_per_router: 5 + l3_ha_network_type: vxlan + dhcp_agents_per_network: 2 + plugins: + ml2_conf: + ml2_type_flat: + flat_networks: public + openvswitch_agent: + agent: + tunnel_types: vxlan + ovs: + bridge_mappings: public:br-ex + source: + type: local + location: ${OSH_PATH} + subpath: neutron + reference: master + dependencies: + - helm-toolkit +--- +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: + 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: + schema: metadata/Document/v1 + name: heat-rabbitmq +data: + chart_name: heat-rabbitmq + release: heat-rabbitmq + namespace: openstack + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + endpoints: + oslo_messaging: + auth: + user: + username: heat-rabbitmq + password: ${HEAT_RABBITMQ_PASSWORD} + hosts: + default: heat-rabbitmq + labels: + node_selector_key: openstack-control-plane + node_selector_value: enabled + source: + type: local + location: ${OSH_PATH} + subpath: rabbitmq + reference: master + dependencies: + - helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: heat +data: + chart_name: heat + release: heat + namespace: openstack + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + endpoints: + identity: + auth: + admin: + password: ${KEYSTONE_ADMIN_PASSWORD} + heat: + password: ${HEAT_USER_PASSWORD} + heat_trustee: + password: ${HEAT_TRUSTEE_PASSWORD} + heat_stack_user: + password: ${HEAT_STACK_PASSWORD} + oslo_db: + auth: + admin: + password: ${DB_ADMIN_PASSWORD} + heat: + password: ${HEAT_DB_PASSWORD} + oslo_cache: + hosts: + default: heat-memcached + oslo_messaging: + auth: + heat: + username: heat-rabbitmq + password: ${HEAT_RABBITMQ_PASSWORD} + hosts: + default: heat-rabbitmq + labels: + node_selector_key: openstack-control-plane + node_selector_value: enabled + pod: + replicas: + api: 2 + cfn: 2 + cloudwatch: 2 + engine: 2 + source: + type: local + location: ${OSH_PATH} + subpath: heat + reference: master + dependencies: + - helm-toolkit +--- +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: + 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: + schema: metadata/Document/v1 + name: barbican-rabbitmq +data: + chart_name: barbican-rabbitmq + release: barbican-rabbitmq + namespace: openstack + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + endpoints: + oslo_messaging: + auth: + user: + username: barbican-rabbitmq + password: ${BARBICAN_RABBITMQ_PASSWORD} + hosts: + default: barbican-rabbitmq + labels: + node_selector_key: openstack-control-plane + node_selector_value: enabled + source: + type: local + location: ${OSH_PATH} + subpath: rabbitmq + reference: master + dependencies: + - helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: barbican +data: + chart_name: barbican + release: barbican + namespace: openstack + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + endpoints: + identity: + auth: + admin: + password: ${KEYSTONE_ADMIN_PASSWORD} + barbican: + password: ${BARBICAN_USER_PASSWORD} + oslo_db: + auth: + admin: + password: ${DB_ADMIN_PASSWORD} + barbican: + password: ${BARBICAN_DB_PASSWORD} + oslo_cache: + hosts: + default: barbican-memcached + oslo_messaging: + auth: + barbican: + username: barbican-rabbitmq + password: ${BARBICAN_RABBITMQ_PASSWORD} + hosts: + default: barbican-rabbitmq + labels: + node_selector_key: openstack-control-plane + node_selector_value: enabled + pod: + replicas: + api: 2 + source: + type: local + location: ${OSH_PATH} + subpath: barbican + reference: master + dependencies: + - helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: prometheus-openstack-exporter +data: + chart_name: prometheus-openstack-exporter + release: prometheus-openstack-exporter + namespace: openstack + timeout: 1800 + install: + no_hooks: false + upgrade: + no_hooks: false + values: + endpoints: + identity: + auth: + admin: + password: ${KEYSTONE_ADMIN_PASSWORD} + user: + password: ${OPENSTACK_EXPORTER_USER_PASSWORD} + labels: + node_selector_key: openstack-control-plane + node_selector_value: enabled + source: + type: local + location: ${OSH_INFRA_PATH} + subpath: prometheus-openstack-exporter + reference: master + dependencies: + - osh-infra-helm-toolkit +--- +schema: armada/ChartGroup/v1 +metadata: + schema: metadata/Document/v1 + name: openstack-ingress-controller +data: + description: "OpenStack Ingress Controller" + sequenced: False + chart_group: + - openstack-ingress-controller +--- +schema: armada/ChartGroup/v1 +metadata: + schema: metadata/Document/v1 + name: openstack-ceph-config +data: + description: "OpenStack Ceph Config" + sequenced: True + chart_group: + - openstack-ceph-config +--- +schema: armada/ChartGroup/v1 +metadata: + schema: metadata/Document/v1 + name: deploy-mariadb +data: + description: "Mariadb" + sequenced: True + chart_group: + - mariadb +--- +schema: armada/ChartGroup/v1 +metadata: + schema: metadata/Document/v1 + name: openstack-infra-services +data: + description: "OpenStack Infra Services" + sequenced: True + chart_group: + - libvirt + - openvswitch +--- +schema: armada/ChartGroup/v1 +metadata: + schema: metadata/Document/v1 + name: openstack-keystone +data: + description: "Deploy keystone" + sequenced: True + chart_group: + - keystone-memcached + - keystone-rabbitmq + - keystone +--- +schema: armada/ChartGroup/v1 +metadata: + schema: metadata/Document/v1 + name: openstack-glance +data: + description: "Deploy glance" + sequenced: True + chart_group: + - glance-memcached + - glance-rabbitmq + - glance +--- +schema: armada/ChartGroup/v1 +metadata: + schema: metadata/Document/v1 + name: openstack-radosgw +data: + description: "Deploy rados gateway" + sequenced: False + chart_group: + - radosgw-openstack +--- +schema: armada/ChartGroup/v1 +metadata: + schema: metadata/Document/v1 + name: openstack-cinder +data: + description: "Deploy cinder" + sequenced: True + chart_group: + - cinder-memcached + - cinder-rabbitmq + - cinder +--- +schema: armada/ChartGroup/v1 +metadata: + schema: metadata/Document/v1 + name: openstack-compute-kit +data: + description: "Deploy nova and neutron" + sequenced: False + chart_group: + - nova-memcached + - nova-rabbitmq + - nova + - neutron-memcached + - neutron-rabbitmq + - neutron +--- +schema: armada/ChartGroup/v1 +metadata: + schema: metadata/Document/v1 + name: openstack-heat +data: + description: "Deploy heat" + sequenced: True + chart_group: + - heat-memcached + - heat-rabbitmq + - heat +--- +schema: armada/ChartGroup/v1 +metadata: + schema: metadata/Document/v1 + name: openstack-barbican +data: + description: "Deploy barbican" + sequenced: True + chart_group: + - barbican-memcached + - barbican-rabbitmq + - barbican +--- +schema: armada/ChartGroup/v1 +metadata: + schema: metadata/Document/v1 + name: prometheus-openstack-exporter +data: + description: 'Deploy Prometheus OpenStack exporter' + sequenced: False + chart_group: + - prometheus-openstack-exporter +--- +schema: armada/Manifest/v1 +metadata: + schema: metadata/Document/v1 + name: armada-manifest +data: + release_prefix: osh + chart_groups: + - openstack-ingress-controller + - openstack-ceph-config + - deploy-mariadb + - openstack-infra-services + - openstack-keystone + - openstack-glance + - openstack-radosgw + - openstack-cinder + - openstack-compute-kit + - openstack-heat + - openstack-barbican + - prometheus-openstack-exporter diff --git a/tools/deployment/armada/openstack-master-aio.yaml b/tools/deployment/armada/openstack-master-aio.yaml deleted file mode 100644 index e5344d2c7b..0000000000 --- a/tools/deployment/armada/openstack-master-aio.yaml +++ /dev/null @@ -1,842 +0,0 @@ ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: helm-toolkit -data: - chart_name: helm-toolkit - release: helm-toolkit - namespace: helm-toolkit - timeout: 300 - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: helm-toolkit - reference: master - dependencies: [] ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: ceph -data: - chart_name: ceph - release: ceph - namespace: ceph - timeout: 3600 - install: - no_hooks: false - upgrade: - no_hooks: false - pre: - delete: - - name: ceph-bootstrap - type: job - labels: - - application: ceph - - component: bootstrap - - release_group: osh-ceph - - name: ceph-mds-keyring-generator - type: job - labels: - - application: ceph - - component: mds-keyring-generator - - release_group: osh-ceph - - name: ceph-mon-keyring-generator - type: job - labels: - - application: ceph - - component: mon-keyring-generator - - release_group: osh-ceph - - name: ceph-rgw-keyring-generator - type: job - labels: - - application: ceph - - component: rgw-keyring-generator - - release_group: osh-ceph - - name: ceph-storage-keys-generator - type: job - labels: - - application: ceph - - component: storage-keys-generator - - release_group: osh-ceph - - name: ceph-osd-keyring-generator - type: job - labels: - - application: ceph - - component: osd-keyring-generator - - release_group: osh-ceph - values: - endpoints: - identity: - namespace: openstack - object_store: - namespace: ceph - ceph_mon: - namespace: ceph - ceph: - rgw_keystone_auth: true - network: - public: 192.168.0.0/16 - cluster: 192.168.0.0/16 - deployment: - storage_secrets: true - ceph: true - rbd_provisioner: true - client_secrets: false - rgw_keystone_user_and_endpoints: false - bootstrap: - enabled: true - conf: - ceph: - config: - global: - osd_pool_default_size: 1 - osd: - osd_crush_chooseleaf_type: 0 - source: - type: local - location: /opt/openstack-helm/charts - subpath: ceph - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: ceph-config -data: - chart_name: ceph-config - release: ceph-config - namespace: openstack - timeout: 3600 - install: - no_hooks: false - upgrade: - no_hooks: false - pre: - delete: - - name: ceph-namespace-client-key-generator - type: job - labels: - - application: ceph - - component: namespace-client-key-generator - - release_group: osh-ceph - values: - endpoints: - identity: - namespace: openstack - object_store: - namespace: ceph - ceph_mon: - namespace: ceph - ceph: - rgw_keystone_auth: true - network: - public: 192.168.0.0/16 - cluster: 192.168.0.0/16 - deployment: - storage_secrets: false - ceph: false - rbd_provisioner: false - client_secrets: true - rgw_keystone_user_and_endpoints: false - conf: - ceph: - config: - global: - osd_pool_default_size: 1 - osd: - osd_crush_chooseleaf_type: 0 - source: - type: local - location: /opt/openstack-helm/charts - subpath: ceph - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: mariadb -data: - chart_name: mariadb - release: mariadb - namespace: openstack - timeout: 3600 - install: - no_hooks: false - upgrade: - no_hooks: false - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: mariadb - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: memcached -data: - chart_name: memcached - release: memcached - namespace: openstack - timeout: 300 - install: - no_hooks: false - upgrade: - no_hooks: false - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: memcached - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: etcd -data: - chart_name: etcd - release: etcd - namespace: openstack - timeout: 3600 - install: - no_hooks: false - upgrade: - no_hooks: false - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: etcd - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: rabbitmq -data: - chart_name: rabbitmq - release: rabbitmq - namespace: openstack - timeout: 300 - install: - no_hooks: false - upgrade: - no_hooks: false - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: rabbitmq - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: ingress -data: - chart_name: ingress - release: ingress - namespace: openstack - timeout: 300 - install: - no_hooks: false - upgrade: - no_hooks: false - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: ingress - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: openvswitch -data: - chart_name: openvswitch - release: openvswitch - namespace: openstack - timeout: 300 - install: - no_hooks: false - upgrade: - no_hooks: false - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: openvswitch - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: libvirt -data: - chart_name: libvirt - release: libvirt - namespace: openstack - timeout: 300 - install: - no_hooks: false - upgrade: - no_hooks: false - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: libvirt - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: keystone -data: - chart_name: keystone - release: keystone - namespace: openstack - timeout: 300 - install: - no_hooks: false - upgrade: - no_hooks: false - pre: - delete: - - name: keystone-bootstrap - type: job - labels: - - application: keystone - - component: bootstrap - - release_group: osh-keystone - - name: keystone-credential-setup - type: job - labels: - - application: keystone - - component: credential-setup - - release_group: osh-keystone - - name: keystone-db-init - type: job - labels: - - application: keystone - - component: db-init - - release_group: osh-keystone - - name: keystone-db-sync - type: job - labels: - - application: keystone - - component: db-sync - - release_group: osh-keystone - - name: keystone-fernet-setup - type: job - labels: - - application: keystone - - component: fernet-setup - - release_group: osh-keystone - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: keystone - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: ceph-radosgw-keystone -data: - chart_name: ceph-radosgw-keystone - release: ceph-radosgw-keystone - namespace: openstack - timeout: 3600 - install: - no_hooks: false - upgrade: - no_hooks: false - values: - endpoints: - identity: - namespace: openstack - object_store: - namespace: ceph - endpoints: - ceph_mon: - namespace: ceph - ceph: - rgw_keystone_auth: true - network: - public: 192.168.0.0/16 - cluster: 192.168.0.0/16 - deployment: - storage_secrets: false - ceph: false - rbd_provisioner: false - client_secrets: false - rgw_keystone_user_and_endpoints: true - conf: - ceph: - config: - global: - osd_pool_default_size: 1 - osd: - osd_crush_chooseleaf_type: 0 - source: - type: local - location: /opt/openstack-helm/charts - subpath: ceph - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: horizon -data: - chart_name: horizon - release: horizon - namespace: openstack - timeout: 300 - install: - no_hooks: false - upgrade: - no_hooks: false - pre: - delete: - - name: horizon-db-init - type: job - labels: - - application: horizon - - component: db-init - - release_group: osh-horizon - - name: horizon-db-sync - type: job - labels: - - application: horizon - - component: db-sync - - release_group: osh-horizon - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: horizon - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: glance -data: - chart_name: glance - release: glance - namespace: openstack - timeout: 300 - install: - no_hooks: false - upgrade: - no_hooks: false - pre: - delete: - - name: glance-bootstrap - type: job - labels: - - application: glance - - component: bootstrap - - release_group: osh-glance - - name: glance-db-init - type: job - labels: - - application: glance - - component: db-init - - release_group: osh-glance - - name: glance-db-sync - type: job - labels: - - application: glance - - component: db-sync - - release_group: osh-glance - - name: glance-ks-service - type: job - labels: - - application: glance - - component: ks-service - - release_group: osh-glance - - name: glance-ks-endpoints - type: job - labels: - - application: glance - - component: ks-endpoints - - release_group: osh-glance - - name: glance-ks-user - type: job - labels: - - application: glance - - component: ks-user - - release_group: osh-glance - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: glance - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: neutron -data: - chart_name: neutron - release: neutron - namespace: openstack - timeout: 300 - install: - no_hooks: false - upgrade: - no_hooks: false - pre: - delete: - - name: neutron-bootstrap - type: job - labels: - - application: neutron - - component: bootstrap - - release_group: osh-neutron - - name: neutron-db-init - type: job - labels: - - application: neutron - - component: db-init - - release_group: osh-neutron - - name: neutron-db-sync - type: job - labels: - - application: neutron - - component: db-sync - - release_group: osh-neutron - - name: neutron-ks-service - type: job - labels: - - application: neutron - - component: ks-service - - release_group: osh-neutron - - name: neutron-ks-endpoints - type: job - labels: - - application: neutron - - component: ks-endpoints - - release_group: osh-neutron - - name: neutron-ks-user - type: job - labels: - - application: neutron - - component: ks-user - - release_group: osh-neutron - update: - - name: neutron-l3-agent - type: daemonset - labels: - - component: l3-agent - - application: neutron - - release_group: osh-neutron - values: - network: - interface: - tunnel: docker0 - conf: - neutron: - DEFAULT: - l3_ha: False - min_l3_agents_per_router: 1 - max_l3_agents_per_router: 1 - l3_ha_network_type: vxlan - dhcp_agents_per_network: 1 - ml2_conf: - ml2_type_flat: - flat_networks: public - openvswitch_agent: - agent: - tunnel_types: vxlan - ovs: - bridge_mappings: public:br-ex - source: - type: local - location: /opt/openstack-helm/charts - subpath: neutron - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: nova -data: - chart_name: nova - release: nova - namespace: openstack - timeout: 300 - install: - no_hooks: false - upgrade: - no_hooks: false - pre: - delete: - - name: nova-bootstrap - type: job - labels: - - application: nova - - component: bootstrap - - release_group: osh-nova - - name: nova-db-init - type: job - labels: - - application: nova - - component: db-init - - release_group: osh-nova - - name: nova-db-sync - type: job - labels: - - application: nova - - component: db-sync - - release_group: osh-nova - - name: nova-ks-service - type: job - labels: - - application: nova - - component: ks-service - - release_group: osh-nova - - name: nova-ks-endpoints - type: job - labels: - - application: nova - - component: ks-endpoints - - release_group: osh-nova - - name: nova-ks-user - type: job - labels: - - application: nova - - component: ks-user - - release_group: osh-nova - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: nova - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: cinder -data: - chart_name: cinder - release: cinder - namespace: openstack - timeout: 300 - install: - no_hooks: false - upgrade: - no_hooks: false - pre: - delete: - - name: cinder-bootstrap - type: job - labels: - - application: cinder - - component: bootstrap - - release_group: osh-cinder - - name: cinder-db-init - type: job - labels: - - application: cinder - - component: db-init - - release_group: osh-cinder - - name: cinder-db-sync - type: job - labels: - - application: cinder - - component: db-sync - - release_group: osh-cinder - - name: cinder-ks-service - type: job - labels: - - application: cinder - - component: ks-service - - release_group: osh-cinder - - name: cinder-ks-endpoints - type: job - labels: - - application: cinder - - component: ks-endpoints - - release_group: osh-cinder - - name: cinder-ks-user - type: job - labels: - - application: cinder - - component: ks-user - - release_group: osh-cinder - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: cinder - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: heat -data: - chart_name: heat - release: heat - namespace: openstack - timeout: 300 - install: - no_hooks: false - upgrade: - no_hooks: false - pre: - delete: - - name: heat-bootstrap - type: job - labels: - - application: heat - - component: bootstrap - - release_group: osh-heat - - name: heat-db-init - type: job - labels: - - application: heat - - component: db-init - - release_group: osh-heat - - name: heat-db-sync - type: job - labels: - - application: heat - - component: db-sync - - release_group: osh-heat - - name: heat-ks-service - type: job - labels: - - application: heat - - component: ks-service - - release_group: osh-heat - - name: heat-ks-endpoints - type: job - labels: - - application: heat - - component: ks-endpoints - - release_group: osh-heat - - name: heat-ks-user - type: job - labels: - - application: heat - - component: ks-user - - release_group: osh-heat - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: heat - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/ChartGroup/v1 -metadata: - schema: metadata/Document/v1 - name: ceph-storage -data: - description: "Ceph Storage" - sequenced: True - chart_group: - - ceph - - ceph-config ---- -schema: armada/ChartGroup/v1 -metadata: - schema: metadata/Document/v1 - name: deploy-mariadb -data: - description: "Mariadb" - sequenced: True - chart_group: - - mariadb ---- -schema: armada/ChartGroup/v1 -metadata: - schema: metadata/Document/v1 - name: openstack-infra-services -data: - description: "OpenStack Infra Services" - sequenced: False - chart_group: - - etcd - - rabbitmq - - memcached - - ingress - - libvirt - - openvswitch ---- -schema: armada/ChartGroup/v1 -metadata: - schema: metadata/Document/v1 - name: openstack-components -data: - description: "OpenStack Components" - sequenced: False - chart_group: - - keystone - - ceph-radosgw-keystone - - horizon - - glance - - neutron - - nova - - cinder - - heat ---- -schema: armada/Manifest/v1 -metadata: - schema: metadata/Document/v1 - name: armada-manifest -data: - release_prefix: osh - chart_groups: - - ceph-storage - - deploy-mariadb - - openstack-infra-services - - openstack-components diff --git a/tools/deployment/armada/openstack-master.yaml b/tools/deployment/armada/openstack-master.yaml deleted file mode 100644 index a8f898f884..0000000000 --- a/tools/deployment/armada/openstack-master.yaml +++ /dev/null @@ -1,821 +0,0 @@ ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: helm-toolkit -data: - chart_name: helm-toolkit - release: helm-toolkit - namespace: helm-toolkit - timeout: 300 - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: helm-toolkit - reference: master - dependencies: [] ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: ceph -data: - chart_name: ceph - release: ceph - namespace: ceph - timeout: 3600 - install: - no_hooks: false - upgrade: - no_hooks: false - pre: - delete: - - name: ceph-bootstrap - type: job - labels: - - application: ceph - - component: bootstrap - - release_group: osh-ceph - - name: ceph-mds-keyring-generator - type: job - labels: - - application: ceph - - component: mds-keyring-generator - - release_group: osh-ceph - - name: ceph-mon-keyring-generator - type: job - labels: - - application: ceph - - component: mon-keyring-generator - - release_group: osh-ceph - - name: ceph-rgw-keyring-generator - type: job - labels: - - application: ceph - - component: rgw-keyring-generator - - release_group: osh-ceph - - name: ceph-storage-keys-generator - type: job - labels: - - application: ceph - - component: storage-keys-generator - - release_group: osh-ceph - - name: ceph-osd-keyring-generator - type: job - labels: - - application: ceph - - component: osd-keyring-generator - - release_group: osh-ceph - values: - endpoints: - identity: - namespace: openstack - object_store: - namespace: ceph - ceph_mon: - namespace: ceph - ceph: - rgw_keystone_auth: true - network: - public: 192.168.0.0/16 - cluster: 192.168.0.0/16 - deployment: - storage_secrets: true - ceph: true - rbd_provisioner: true - client_secrets: false - rgw_keystone_user_and_endpoints: false - bootstrap: - enabled: true - source: - type: local - location: /opt/openstack-helm/charts - subpath: ceph - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: ceph-config -data: - chart_name: ceph-config - release: ceph-config - namespace: openstack - timeout: 3600 - install: - no_hooks: false - upgrade: - no_hooks: false - pre: - delete: - - name: ceph-namespace-client-key-generator - type: job - labels: - - application: ceph - - component: namespace-client-key-generator - - release_group: osh-ceph - values: - endpoints: - identity: - namespace: openstack - object_store: - namespace: ceph - ceph_mon: - namespace: ceph - ceph: - rgw_keystone_auth: true - network: - public: 192.168.0.0/16 - cluster: 192.168.0.0/16 - deployment: - storage_secrets: false - ceph: false - rbd_provisioner: false - client_secrets: true - rgw_keystone_user_and_endpoints: false - source: - type: local - location: /opt/openstack-helm/charts - subpath: ceph - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: mariadb -data: - chart_name: mariadb - release: mariadb - namespace: openstack - timeout: 3600 - install: - no_hooks: false - upgrade: - no_hooks: false - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: mariadb - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: memcached -data: - chart_name: memcached - release: memcached - namespace: openstack - timeout: 300 - install: - no_hooks: false - upgrade: - no_hooks: false - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: memcached - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: etcd -data: - chart_name: etcd - release: etcd - namespace: openstack - timeout: 3600 - install: - no_hooks: false - upgrade: - no_hooks: false - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: etcd - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: rabbitmq -data: - chart_name: rabbitmq - release: rabbitmq - namespace: openstack - timeout: 300 - install: - no_hooks: false - upgrade: - no_hooks: false - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: rabbitmq - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: ingress -data: - chart_name: ingress - release: ingress - namespace: openstack - timeout: 300 - install: - no_hooks: false - upgrade: - no_hooks: false - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: ingress - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: openvswitch -data: - chart_name: openvswitch - release: openvswitch - namespace: openstack - timeout: 300 - install: - no_hooks: false - upgrade: - no_hooks: false - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: openvswitch - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: libvirt -data: - chart_name: libvirt - release: libvirt - namespace: openstack - timeout: 300 - install: - no_hooks: false - upgrade: - no_hooks: false - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: libvirt - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: keystone -data: - chart_name: keystone - release: keystone - namespace: openstack - timeout: 300 - install: - no_hooks: false - upgrade: - no_hooks: false - pre: - delete: - - name: keystone-bootstrap - type: job - labels: - - application: keystone - - component: bootstrap - - release_group: osh-keystone - - name: keystone-credential-setup - type: job - labels: - - application: keystone - - component: credential-setup - - release_group: osh-keystone - - name: keystone-db-init - type: job - labels: - - application: keystone - - component: db-init - - release_group: osh-keystone - - name: keystone-db-sync - type: job - labels: - - application: keystone - - component: db-sync - - release_group: osh-keystone - - name: keystone-fernet-setup - type: job - labels: - - application: keystone - - component: fernet-setup - - release_group: osh-keystone - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: keystone - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: ceph-radosgw-keystone -data: - chart_name: ceph-radosgw-keystone - release: ceph-radosgw-keystone - namespace: openstack - timeout: 3600 - install: - no_hooks: false - upgrade: - no_hooks: false - values: - endpoints: - identity: - namespace: openstack - object_store: - namespace: ceph - endpoints: - ceph_mon: - namespace: ceph - ceph: - rgw_keystone_auth: true - network: - public: 192.168.0.0/16 - cluster: 192.168.0.0/16 - deployment: - storage_secrets: false - ceph: false - rbd_provisioner: false - client_secrets: false - rgw_keystone_user_and_endpoints: true - source: - type: local - location: /opt/openstack-helm/charts - subpath: ceph - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: horizon -data: - chart_name: horizon - release: horizon - namespace: openstack - timeout: 300 - install: - no_hooks: false - upgrade: - no_hooks: false - pre: - delete: - - name: horizon-db-init - type: job - labels: - - application: horizon - - component: db-init - - release_group: osh-horizon - - name: horizon-db-sync - type: job - labels: - - application: horizon - - component: db-sync - - release_group: osh-horizon - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: horizon - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: glance -data: - chart_name: glance - release: glance - namespace: openstack - timeout: 300 - install: - no_hooks: false - upgrade: - no_hooks: false - pre: - delete: - - name: glance-bootstrap - type: job - labels: - - application: glance - - component: bootstrap - - release_group: osh-glance - - name: glance-db-init - type: job - labels: - - application: glance - - component: db-init - - release_group: osh-glance - - name: glance-db-sync - type: job - labels: - - application: glance - - component: db-sync - - release_group: osh-glance - - name: glance-ks-service - type: job - labels: - - application: glance - - component: ks-service - - release_group: osh-glance - - name: glance-ks-endpoints - type: job - labels: - - application: glance - - component: ks-endpoints - - release_group: osh-glance - - name: glance-ks-user - type: job - labels: - - application: glance - - component: ks-user - - release_group: osh-glance - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: glance - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: neutron -data: - chart_name: neutron - release: neutron - namespace: openstack - timeout: 300 - install: - no_hooks: false - upgrade: - no_hooks: false - pre: - delete: - - name: neutron-bootstrap - type: job - labels: - - application: neutron - - component: bootstrap - - release_group: osh-neutron - - name: neutron-db-init - type: job - labels: - - application: neutron - - component: db-init - - release_group: osh-neutron - - name: neutron-db-sync - type: job - labels: - - application: neutron - - component: db-sync - - release_group: osh-neutron - - name: neutron-ks-service - type: job - labels: - - application: neutron - - component: ks-service - - release_group: osh-neutron - - name: neutron-ks-endpoints - type: job - labels: - - application: neutron - - component: ks-endpoints - - release_group: osh-neutron - - name: neutron-ks-user - type: job - labels: - - application: neutron - - component: ks-user - - release_group: osh-neutron - update: - - name: neutron-l3-agent - type: daemonset - labels: - - component: l3-agent - - application: neutron - - release_group: osh-neutron - values: - network: - interface: - tunnel: docker0 - conf: - neutron: - DEFAULT: - l3_ha: False - min_l3_agents_per_router: 1 - max_l3_agents_per_router: 1 - l3_ha_network_type: vxlan - dhcp_agents_per_network: 1 - ml2_conf: - ml2_type_flat: - flat_networks: public - openvswitch_agent: - agent: - tunnel_types: vxlan - ovs: - bridge_mappings: public:br-ex - source: - type: local - location: /opt/openstack-helm/charts - subpath: neutron - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: nova -data: - chart_name: nova - release: nova - namespace: openstack - timeout: 300 - install: - no_hooks: false - upgrade: - no_hooks: false - pre: - delete: - - name: nova-bootstrap - type: job - labels: - - application: nova - - component: bootstrap - - release_group: osh-nova - - name: nova-db-init - type: job - labels: - - application: nova - - component: db-init - - release_group: osh-nova - - name: nova-db-sync - type: job - labels: - - application: nova - - component: db-sync - - release_group: osh-nova - - name: nova-ks-service - type: job - labels: - - application: nova - - component: ks-service - - release_group: osh-nova - - name: nova-ks-endpoints - type: job - labels: - - application: nova - - component: ks-endpoints - - release_group: osh-nova - - name: nova-ks-user - type: job - labels: - - application: nova - - component: ks-user - - release_group: osh-nova - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: nova - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: cinder -data: - chart_name: cinder - release: cinder - namespace: openstack - timeout: 300 - install: - no_hooks: false - upgrade: - no_hooks: false - pre: - delete: - - name: cinder-bootstrap - type: job - labels: - - application: cinder - - component: bootstrap - - release_group: osh-cinder - - name: cinder-db-init - type: job - labels: - - application: cinder - - component: db-init - - release_group: osh-cinder - - name: cinder-db-sync - type: job - labels: - - application: cinder - - component: db-sync - - release_group: osh-cinder - - name: cinder-ks-service - type: job - labels: - - application: cinder - - component: ks-service - - release_group: osh-cinder - - name: cinder-ks-endpoints - type: job - labels: - - application: cinder - - component: ks-endpoints - - release_group: osh-cinder - - name: cinder-ks-user - type: job - labels: - - application: cinder - - component: ks-user - - release_group: osh-cinder - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: cinder - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/Chart/v1 -metadata: - schema: metadata/Document/v1 - name: heat -data: - chart_name: heat - release: heat - namespace: openstack - timeout: 300 - install: - no_hooks: false - upgrade: - no_hooks: false - pre: - delete: - - name: heat-bootstrap - type: job - labels: - - application: heat - - component: bootstrap - - release_group: osh-heat - - name: heat-db-init - type: job - labels: - - application: heat - - component: db-init - - release_group: osh-heat - - name: heat-db-sync - type: job - labels: - - application: heat - - component: db-sync - - release_group: osh-heat - - name: heat-ks-service - type: job - labels: - - application: heat - - component: ks-service - - release_group: osh-heat - - name: heat-ks-endpoints - type: job - labels: - - application: heat - - component: ks-endpoints - - release_group: osh-heat - - name: heat-ks-user - type: job - labels: - - application: heat - - component: ks-user - - release_group: osh-heat - values: {} - source: - type: local - location: /opt/openstack-helm/charts - subpath: heat - reference: master - dependencies: - - helm-toolkit ---- -schema: armada/ChartGroup/v1 -metadata: - schema: metadata/Document/v1 - name: ceph-storage -data: - description: "Ceph Storage" - sequenced: True - chart_group: - - ceph - - ceph-config ---- -schema: armada/ChartGroup/v1 -metadata: - schema: metadata/Document/v1 - name: deploy-mariadb -data: - description: "Mariadb" - sequenced: True - chart_group: - - mariadb ---- -schema: armada/ChartGroup/v1 -metadata: - schema: metadata/Document/v1 - name: openstack-infra-services -data: - description: "OpenStack Infra Services" - sequenced: False - chart_group: - - etcd - - rabbitmq - - memcached - - ingress - - libvirt - - openvswitch ---- -schema: armada/ChartGroup/v1 -metadata: - schema: metadata/Document/v1 - name: openstack-components -data: - description: "OpenStack Components" - sequenced: False - chart_group: - - keystone - - ceph-radosgw-keystone - - horizon - - glance - - neutron - - nova - - cinder - - heat ---- -schema: armada/Manifest/v1 -metadata: - schema: metadata/Document/v1 - name: armada-manifest -data: - release_prefix: osh - chart_groups: - - ceph-storage - - deploy-mariadb - - openstack-infra-services - - openstack-components diff --git a/tools/gate/playbooks/armada-fullstack-deploy.yaml b/tools/gate/playbooks/armada-fullstack-deploy.yaml new file mode 100644 index 0000000000..a081ef9dd8 --- /dev/null +++ b/tools/gate/playbooks/armada-fullstack-deploy.yaml @@ -0,0 +1,45 @@ +# Copyright 2017 The Openstack-Helm Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +- hosts: primary + gather_facts: True + tasks: + - name: installing ipcalc on Ubuntu + become: true + become_user: root + when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu' + apt: + name: ipcalc + state: present + - name: Install python3-pip for armada + shell: | + set xe; + ./tools/deployment/armada/010-armada-host-setup.sh + args: + chdir: "{{ zuul.project.src_dir }}" + - name: Build armada + shell: | + set xe; + ./tools/deployment/armada/015-armada-build.sh + args: + chdir: "{{ zuul.project.src_dir }}" + - name: Apply all Armada manifests + vars: + OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path }}" + OSH_PATH: "{{ zuul.project.src_dir }}" + shell: | + set -xe; + ./tools/deployment/armada/020-armada-apply-manifests.sh + args: + chdir: "{{ zuul.project.src_dir }}" diff --git a/tools/gate/playbooks/gather-armada-manifests.yaml b/tools/gate/playbooks/gather-armada-manifests.yaml new file mode 100644 index 0000000000..f7575ca2c7 --- /dev/null +++ b/tools/gate/playbooks/gather-armada-manifests.yaml @@ -0,0 +1,39 @@ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +- hosts: primary + tasks: + - name: "creating directory for rendered armada manifests" + file: + path: "/tmp/logs/armada" + state: directory + + - name: "retrieve all armada manifests" + shell: |- + cat /tmp/{{ manifest }}.yaml > /tmp/logs/armada/{{ manifest }}.yaml + loop_control: + loop_var: manifest + with_items: + - armada-cluster-ingress + - armada-ceph + - armada-lma + - armada-osh + args: + executable: /bin/bash + ignore_errors: True + + - name: "Downloads armada manifests to executor" + synchronize: + src: "/tmp/logs/armada" + dest: "{{ zuul.executor.log_root }}/{{ inventory_hostname }}" + mode: pull + ignore_errors: True