Add checks for armada fullstack deployment

This adds a check to openstack-helm for deploying the full osh +
lma stack with armada. It deploys a manifest that will install
a rabbitmq and memcached per openstack service

Depends-On: Id58f85f150054d82c047bd360258ebe9e571360f
Change-Id: Ie2cb29279a7e47570b7faee82828f7ec753ab73f
This commit is contained in:
Steve Wilkerson 2018-01-19 15:40:24 -06:00 committed by Matt McEuen
parent a0f9697be2
commit 0ad2b5ed7a
15 changed files with 2194 additions and 1664 deletions

1
.gitignore vendored
View File

@ -71,3 +71,4 @@ releasenotes/build
# Gate and Check Logs
logs/
tmp/

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -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}

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

File diff suppressed because it is too large Load Diff

View File

@ -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

View File

@ -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

View File

@ -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 }}"

View File

@ -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