Gate: Deploy remaining services in multinode gate

This PS deploys the remaining OSH charts in the multinode gate.

Change-Id: I66b412c5e2d987e5d071f37829be9c2fbbea29e4
This commit is contained in:
portdirect 2018-01-15 15:50:32 -05:00
parent 57b3aece1f
commit ec4e747064
12 changed files with 290 additions and 15 deletions

View File

@ -307,11 +307,11 @@ pod:
congress:
uid: 42424
affinity:
anti:
type:
default: preferredDuringSchedulingIgnoredDuringExecution
topologyKey:
default: kubernetes.io/hostname
anti:
type:
default: preferredDuringSchedulingIgnoredDuringExecution
topologyKey:
default: kubernetes.io/hostname
replicas:
api: 1
policy_engine: 1

View File

@ -131,11 +131,11 @@ pod:
gnocchi:
uid: 1000
affinity:
anti:
type:
default: preferredDuringSchedulingIgnoredDuringExecution
topologyKey:
default: kubernetes.io/hostname
anti:
type:
default: preferredDuringSchedulingIgnoredDuringExecution
topologyKey:
default: kubernetes.io/hostname
mounts:
gnocchi_api:
init_container: null

View File

@ -302,11 +302,11 @@ pod:
mistral:
uid: 1000
affinity:
anti:
type:
default: preferredDuringSchedulingIgnoredDuringExecution
topologyKey:
default: kubernetes.io/hostname
anti:
type:
default: preferredDuringSchedulingIgnoredDuringExecution
topologyKey:
default: kubernetes.io/hostname
mounts:
mistral_api:
init_container: null

View File

@ -0,0 +1,29 @@
#!/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
#NOTE: Deploy command
helm upgrade --install senlin ./senlin \
--namespace=openstack \
--set pod.replicas.api=2 \
--set pod.replicas.engine=2
#NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack
#NOTE: Validate Deployment info
export OS_CLOUD=openstack_helm
openstack service list

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
#NOTE: Deploy command
helm upgrade --install mistral ./mistral \
--namespace=openstack \
--set pod.replicas.api=2 \
--set pod.replicas.engine=2 \
--set pod.replicas.event_engine=2 \
--set pod.replicas.executor=2
#NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack
#NOTE: Validate Deployment info
export OS_CLOUD=openstack_helm
openstack service list

View File

@ -0,0 +1,29 @@
#!/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
#NOTE: Deploy command
helm upgrade --install magnum ./magnum \
--namespace=openstack \
--set pod.replicas.api=2 \
--set pod.replicas.conductor=2
#NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack
#NOTE: Validate Deployment info
export OS_CLOUD=openstack_helm
openstack service list

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
#NOTE: Deploy command
# dont scale out ds node
# only one node per environment should be in active state
# https://docs.openstack.org/congress/latest/admin/ha-overview.html#ha-overview
helm upgrade --install congress ./congress \
--namespace=openstack \
--set pod.replicas.api=2 \
--set pod.replicas.policy_engine=2 \
--set pod.replicas.datasource=1
#NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack
#NOTE: Validate Deployment info
export OS_CLOUD=openstack_helm
openstack service list

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
#NOTE: Wait for deploy
helm upgrade --install postgresql ./postgresql \
--namespace=openstack
#NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -0,0 +1,28 @@
#!/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
#NOTE: Wait for deploy
helm upgrade --install gnocchi ./gnocchi \
--namespace=openstack \
--set pod.replicas.api=2
#NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack
#NOTE: Validate Deployment info
export OS_CLOUD=openstack_helm
openstack service list

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
#NOTE: Wait for deploy
helm upgrade --install mongodb ./mongodb \
--namespace=openstack
#NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack

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
#NOTE: Wait for deploy
helm upgrade --install ceilometer ./ceilometer \
--namespace=openstack \
--set pod.replicas.api=2 \
--set pod.replicas.central=2 \
--set pod.replicas.collector=2 \
--set pod.replicas.notification=2
#NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack
#NOTE: Validate Deployment info
export OS_CLOUD=openstack_helm
openstack service list

View File

@ -132,3 +132,51 @@
./tools/deployment/multinode/160-barbican.sh
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Senlin
shell: |
set -xe;
./tools/deployment/multinode/170-senlin.sh
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Mistral
shell: |
set -xe;
./tools/deployment/multinode/180-mistral.sh
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Magnum
shell: |
set -xe;
./tools/deployment/multinode/190-magnum.sh
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Congress
shell: |
set -xe;
./tools/deployment/multinode/200-congress.sh
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Postgresql
shell: |
set -xe;
./tools/deployment/multinode/210-postgresql.sh
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Gnocchi
shell: |
set -xe;
./tools/deployment/multinode/220-gnocchi.sh
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy MongoDB
shell: |
set -xe;
./tools/deployment/multinode/230-mongodb.sh
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Ceilometer
shell: |
set -xe;
./tools/deployment/multinode/240-ceilometer.sh
args:
chdir: "{{ zuul.project.src_dir }}"