Images: Move default to LOCI and Kolla newton gate

This PS moves the default image in OSH for most services to use LOCI
and also provides a Kolla gate for newton openstack.

Change-Id: Ice6cb9f89bc3ce6e8280e580d215aedda9e71904
This commit is contained in:
portdirect 2018-02-13 12:42:32 -05:00
parent 984d7ceb12
commit 2cb634789d
49 changed files with 662 additions and 191 deletions

View File

@ -57,6 +57,11 @@
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
- openstack-helm-kolla-deploy-ceph:
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
gate:
jobs:
- openstack-helm-linter:
@ -79,6 +84,11 @@
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
- openstack-helm-kolla-deploy-ceph:
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
- job:
name: openstack-helm-linter
@ -160,3 +170,8 @@
parent: openstack-helm-multinode
nodeset: openstack-helm-ubuntu
run: tools/gate/playbooks/ironic-deploy.yaml
- job:
name: openstack-helm-kolla-deploy-ceph
parent: openstack-helm-dev-deploy
run: tools/gate/playbooks/kolla-deploy-ceph.yaml

View File

@ -21,22 +21,22 @@ release_group: null
images:
tags:
bootstrap: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
bootstrap: docker.io/openstackhelm/heat:newton
dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.2.1
scripted_test: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
db_init: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
barbican_db_sync: docker.io/kolla/ubuntu-source-barbican-api:3.0.3
db_drop: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_user: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_service: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_endpoints: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
barbican_api: docker.io/kolla/ubuntu-source-barbican-api:3.0.3
scripted_test: docker.io/openstackhelm/heat:newton
db_init: docker.io/openstackhelm/heat:newton
barbican_db_sync: docker.io/openstackhelm/barbican:newton
db_drop: docker.io/openstackhelm/heat:newton
ks_user: docker.io/openstackhelm/heat:newton
ks_service: docker.io/openstackhelm/heat:newton
ks_endpoints: docker.io/openstackhelm/heat:newton
barbican_api: docker.io/openstackhelm/barbican:newton
pull_policy: "IfNotPresent"
pod:
user:
barbican:
uid: 1000
uid: 42424
affinity:
anti:
type:

View File

@ -43,9 +43,9 @@ images:
db_init_mongodb: docker.io/mongo:3.4.9-jessie
db_init: docker.io/kolla/ubuntu-source-ceilometer-api:3.0.3
ceilometer_db_sync: docker.io/kolla/ubuntu-source-ceilometer-api:3.0.3
ks_user: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_service: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_endpoints: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_user: docker.io/openstackhelm/heat:newton
ks_service: docker.io/openstackhelm/heat:newton
ks_endpoints: docker.io/openstackhelm/heat:newton
ceilometer_api: quay.io/larryrensing/ubuntu-source-ceilometer-api:3.0.3
ceilometer_central: quay.io/larryrensing/ubuntu-source-ceilometer-central:3.0.3
ceilometer_collector: quay.io/larryrensing/ubuntu-source-ceilometer-collector:3.0.3

View File

@ -22,9 +22,9 @@ deployment:
images:
tags:
ks_user: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_service: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_endpoints: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_user: docker.io/openstackhelm/heat:newton
ks_service: docker.io/openstackhelm/heat:newton
ks_endpoints: docker.io/openstackhelm/heat:newton
ceph_bootstrap: docker.io/ceph/daemon:tag-build-master-luminous-ubuntu-16.04
dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.2.1
ceph_daemon: docker.io/ceph/daemon:tag-build-master-luminous-ubuntu-16.04

View File

@ -31,19 +31,19 @@ release_group: null
images:
tags:
test: docker.io/kolla/ubuntu-source-rally:4.0.0
db_init: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
cinder_db_sync: docker.io/kolla/ubuntu-source-cinder-api:3.0.3
db_drop: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_user: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_service: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_endpoints: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
cinder_api: docker.io/kolla/ubuntu-source-cinder-api:3.0.3
bootstrap: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
cinder_scheduler: docker.io/kolla/ubuntu-source-cinder-scheduler:3.0.3
cinder_volume: docker.io/kolla/ubuntu-source-cinder-volume:3.0.3
cinder_volume_usage_audit: docker.io/kolla/ubuntu-source-cinder-volume:3.0.3
db_init: docker.io/openstackhelm/heat:newton
cinder_db_sync: docker.io/openstackhelm/cinder:newton
db_drop: docker.io/openstackhelm/heat:newton
ks_user: docker.io/openstackhelm/heat:newton
ks_service: docker.io/openstackhelm/heat:newton
ks_endpoints: docker.io/openstackhelm/heat:newton
cinder_api: docker.io/openstackhelm/cinder:newton
bootstrap: docker.io/openstackhelm/heat:newton
cinder_scheduler: docker.io/openstackhelm/cinder:newton
cinder_volume: docker.io/openstackhelm/cinder:newton
cinder_volume_usage_audit: docker.io/openstackhelm/cinder:newton
cinder_storage_init: docker.io/ceph/daemon:tag-build-master-luminous-ubuntu-16.04
cinder_backup: docker.io/kolla/ubuntu-source-cinder-backup:3.0.3
cinder_backup: docker.io/openstackhelm/cinder:newton
cinder_backup_storage_init: docker.io/ceph/daemon:tag-build-master-luminous-ubuntu-16.04
dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.2.1
pull_policy: "IfNotPresent"

View File

@ -25,17 +25,17 @@ release_group: null
images:
tags:
congress_api: docker.io/kolla/ubuntu-source-congress-api:3.0.3
congress_datasource: docker.io/kolla/ubuntu-source-congress-datasource:3.0.3
congress_policy_engine: docker.io/kolla/ubuntu-source-congress-policy-engine:3.0.3
db_init: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
congress_db_sync: docker.io/kolla/ubuntu-source-congress-api:3.0.3
db_drop: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_user: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_service: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_endpoints: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
congress_ds_create: docker.io/kolla/ubuntu-source-congress-api:3.0.3
congress_scripted_test: docker.io/kolla/ubuntu-source-congress-api:3.0.3
congress_api: docker.io/openstackhelm/congress:newton
congress_datasource: docker.io/openstackhelm/congress:newton
congress_policy_engine: docker.io/openstackhelm/congress:newton
db_init: docker.io/openstackhelm/heat:newton
congress_db_sync: docker.io/openstackhelm/congress:newton
db_drop: docker.io/openstackhelm/heat:newton
ks_user: docker.io/openstackhelm/heat:newton
ks_service: docker.io/openstackhelm/heat:newton
ks_endpoints: docker.io/openstackhelm/heat:newton
congress_ds_create: docker.io/openstackhelm/congress:newton
congress_scripted_test: docker.io/openstackhelm/congress:newton
dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.2.1
pull_policy: "IfNotPresent"
@ -305,7 +305,7 @@ conf:
pod:
user:
congress:
uid: 1000
uid: 42424
affinity:
anti:
type:

View File

@ -57,17 +57,17 @@ chart:
images:
tags:
bootstrap: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
db_init: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
bootstrap: docker.io/openstackhelm/heat:newton
db_init: docker.io/openstackhelm/heat:newton
db_sync: docker.io/kolla/ubuntu-source-heat-api:3.0.3
db_drop: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_user: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_service: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_endpoints: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
db_drop: docker.io/openstackhelm/heat:newton
ks_user: docker.io/openstackhelm/heat:newton
ks_service: docker.io/openstackhelm/heat:newton
ks_endpoints: docker.io/openstackhelm/heat:newton
api: docker.io/kolla/ubuntu-source-heat-api:3.0.3
cfn: docker.io/kolla/ubuntu-source-heat-api:3.0.3
cloudwatch: docker.io/kolla/ubuntu-source-heat-api:3.0.3
engine: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
engine: docker.io/openstackhelm/heat:newton
dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.2.1
pull_policy: "IfNotPresent"

View File

@ -39,7 +39,7 @@ spec:
{{ tuple $envAll $dependencies list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
containers:
- name: glance-bootstrap
image: {{ .Values.images.tags.bootstrap }}
image: {{ .Values.images.tags.glance_bootstrap }}
imagePullPolicy: {{ .Values.images.pull_policy }}
{{ tuple $envAll $envAll.Values.pod.resources.jobs.bootstrap | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
env:

View File

@ -97,7 +97,7 @@ spec:
readOnly: true
{{ end }}
- name: glance-image-clean
image: {{ .Values.images.tags.bootstrap }}
image: {{ .Values.images.tags.glance_bootstrap }}
imagePullPolicy: {{ .Values.images.pull_policy }}
{{ tuple $envAll $envAll.Values.pod.resources.jobs.bootstrap | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
env:

View File

@ -33,16 +33,16 @@ images:
tags:
test: docker.io/kolla/ubuntu-source-rally:4.0.0
glance_storage_init: docker.io/ceph/daemon:tag-build-master-luminous-ubuntu-16.04
db_init: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
glance_db_sync: docker.io/kolla/ubuntu-source-glance-api:3.0.3
db_drop: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_user: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_service: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_endpoints: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
glance_api: docker.io/kolla/ubuntu-source-glance-api:3.0.3
glance_registry: docker.io/kolla/ubuntu-source-glance-registry:3.0.3
db_init: docker.io/openstackhelm/heat:newton
glance_db_sync: docker.io/openstackhelm/glance:newton
db_drop: docker.io/openstackhelm/heat:newton
ks_user: docker.io/openstackhelm/heat:newton
ks_service: docker.io/openstackhelm/heat:newton
ks_endpoints: docker.io/openstackhelm/heat:newton
glance_api: docker.io/openstackhelm/glance:newton
glance_registry: docker.io/openstackhelm/glance:newton
# Bootstrap image requires curl
bootstrap: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
glance_bootstrap: docker.io/openstackhelm/heat:newton
dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.2.1
pull_policy: "IfNotPresent"
@ -517,7 +517,7 @@ endpoints:
pod:
user:
glance:
uid: 1000
uid: 42424
affinity:
anti:
type:

View File

@ -18,9 +18,9 @@ images:
# an indexer
db_init: quay.io/attcomdev/ubuntu-source-gnocchi-api:3.0.3
db_sync: quay.io/attcomdev/ubuntu-source-gnocchi-api:3.0.3
ks_user: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_service: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_endpoints: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_user: docker.io/openstackhelm/heat:newton
ks_service: docker.io/openstackhelm/heat:newton
ks_endpoints: docker.io/openstackhelm/heat:newton
gnocchi_api: quay.io/attcomdev/ubuntu-source-gnocchi-api:3.0.3
gnocchi_statsd: quay.io/attcomdev/ubuntu-source-gnocchi-statsd:3.0.3
gnocchi_metricd: quay.io/attcomdev/ubuntu-source-gnocchi-metricd:3.0.3

View File

@ -28,17 +28,17 @@ labels:
images:
tags:
bootstrap: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
db_init: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
heat_db_sync: docker.io/kolla/ubuntu-source-heat-api:3.0.3
db_drop: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_user: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_service: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_endpoints: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
heat_api: docker.io/kolla/ubuntu-source-heat-api:3.0.3
heat_cfn: docker.io/kolla/ubuntu-source-heat-api:3.0.3
heat_cloudwatch: docker.io/kolla/ubuntu-source-heat-api:3.0.3
heat_engine: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
bootstrap: docker.io/openstackhelm/heat:newton
db_init: docker.io/openstackhelm/heat:newton
heat_db_sync: docker.io/openstackhelm/heat:newton
db_drop: docker.io/openstackhelm/heat:newton
ks_user: docker.io/openstackhelm/heat:newton
ks_service: docker.io/openstackhelm/heat:newton
ks_endpoints: docker.io/openstackhelm/heat:newton
heat_api: docker.io/openstackhelm/heat:newton
heat_cfn: docker.io/openstackhelm/heat:newton
heat_cloudwatch: docker.io/openstackhelm/heat:newton
heat_engine: docker.io/openstackhelm/heat:newton
dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.2.1
pull_policy: "IfNotPresent"
@ -493,7 +493,7 @@ endpoints:
pod:
user:
heat:
uid: 1000
uid: 42424
affinity:
anti:
type:

View File

@ -19,10 +19,10 @@
images:
tags:
db_init: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
horizon_db_sync: docker.io/kolla/ubuntu-source-horizon:ocata
db_drop: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
horizon: docker.io/kolla/ubuntu-source-horizon:ocata
db_init: docker.io/openstackhelm/heat:newton
horizon_db_sync: docker.io/openstackhelm/horizon:newton
db_drop: docker.io/openstackhelm/heat:newton
horizon: docker.io/openstackhelm/horizon:newton
dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.2.1
pull_policy: "IfNotPresent"

View File

@ -18,8 +18,11 @@ limitations under the License.
set -ex
apt-get update
apt-get install ipxe -y
#NOTE(portdirect): this works round a limitation in Kolla images
if ! dpkg -l ipxe; then
apt-get update
apt-get install ipxe -y
fi
mkdir -p /var/lib/openstack-helm/tftpboot
mkdir -p /var/lib/openstack-helm/tftpboot/master_images

View File

@ -48,7 +48,7 @@ spec:
initContainers:
{{ tuple $envAll $dependencies $mounts_ironic_api_init | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
- name: ironic-retrive-cleaning-net
image: {{ .Values.images.tags.retrive_cleaning_network }}
image: {{ .Values.images.tags.ironic_retrive_cleaning_network }}
imagePullPolicy: {{ .Values.images.pull_policy }}
{{ tuple $envAll $envAll.Values.pod.resources.conductor | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
env:

View File

@ -42,7 +42,7 @@ spec:
{{ tuple $envAll $dependencies $mounts_ironic_bootstrap_init | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
containers:
- name: ironic-bootstrap
image: {{ .Values.images.tags.bootstrap }}
image: {{ .Values.images.tags.ironic_bootstrap }}
imagePullPolicy: {{ .Values.images.pull_policy }}
{{ tuple $envAll $envAll.Values.pod.resources.jobs.bootstrap | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
env:

View File

@ -39,7 +39,7 @@ spec:
{{ tuple $envAll $dependencies list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
containers:
- name: ironic-manage-cleaning-network
image: {{ .Values.images.tags.manage_cleaning_network }}
image: {{ .Values.images.tags.ironic_manage_cleaning_network }}
imagePullPolicy: {{ .Values.images.pull_policy }}
{{ tuple $envAll $envAll.Values.pod.resources.jobs.manage_cleaning_network | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
env:

View File

@ -98,7 +98,7 @@ spec:
- name: pod-shared
mountPath: /tmp/pod-shared
- name: ironic-retrive-cleaning-net
image: {{ .Values.images.tags.retrive_cleaning_network }}
image: {{ .Values.images.tags.ironic_retrive_cleaning_network }}
imagePullPolicy: {{ .Values.images.pull_policy }}
{{ tuple $envAll $envAll.Values.pod.resources.conductor | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
env:

View File

@ -23,18 +23,19 @@ labels:
images:
tags:
manage_cleaning_network: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
retrive_cleaning_network: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
bootstrap: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
db_init: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ironic_db_sync: docker.io/kolla/ubuntu-source-ironic-api:3.0.3
ks_user: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_service: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_endpoints: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ironic_api: docker.io/kolla/ubuntu-source-ironic-api:3.0.3
ironic_conductor: docker.io/kolla/ubuntu-source-ironic-conductor:3.0.3
ironic_pxe: docker.io/kolla/ubuntu-source-ironic-pxe:3.0.3
ironic_pxe_init: docker.io/kolla/ubuntu-source-ironic-pxe:3.0.3
ironic_manage_cleaning_network: docker.io/openstackhelm/heat:newton
ironic_retrive_cleaning_network: docker.io/openstackhelm/heat:newton
# Bootstrap image requires curl
ironic_bootstrap: docker.io/openstackhelm/heat:newton
db_init: docker.io/openstackhelm/heat:newton
ironic_db_sync: docker.io/openstackhelm/ironic:newton
ks_user: docker.io/openstackhelm/heat:newton
ks_service: docker.io/openstackhelm/heat:newton
ks_endpoints: docker.io/openstackhelm/heat:newton
ironic_api: docker.io/openstackhelm/ironic:newton
ironic_conductor: docker.io/openstackhelm/ironic:newton
ironic_pxe: docker.io/openstackhelm/ironic:newton
ironic_pxe_init: docker.io/openstackhelm/ironic:newton
ironic_pxe_http: docker.io/nginx:1.13.3
dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.2.1
pull_policy: "IfNotPresent"

View File

@ -25,17 +25,17 @@ release_group: null
images:
tags:
keystone_bootstrap: docker.io/kolla/ubuntu-source-keystone:3.0.3
keystone_bootstrap: docker.io/openstackhelm/heat:newton
test: docker.io/kolla/ubuntu-source-rally:4.0.0
db_init: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
keystone_db_sync: docker.io/kolla/ubuntu-source-keystone:3.0.3
db_drop: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_user: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
keystone_fernet_setup: docker.io/kolla/ubuntu-source-keystone:3.0.3
keystone_fernet_rotate: docker.io/kolla/ubuntu-source-keystone:3.0.3
keystone_credential_setup: docker.io/kolla/ubuntu-source-keystone:3.0.3
keystone_credential_rotate: docker.io/kolla/ubuntu-source-keystone:3.0.3
keystone_api: docker.io/kolla/ubuntu-source-keystone:3.0.3
db_init: docker.io/openstackhelm/heat:newton
keystone_db_sync: docker.io/openstackhelm/keystone:newton
db_drop: docker.io/openstackhelm/heat:newton
ks_user: docker.io/openstackhelm/heat:newton
keystone_fernet_setup: docker.io/openstackhelm/keystone:newton
keystone_fernet_rotate: docker.io/openstackhelm/keystone:newton
keystone_credential_setup: docker.io/openstackhelm/keystone:newton
keystone_credential_rotate: docker.io/openstackhelm/keystone:newton
keystone_api: docker.io/openstackhelm/keystone:newton
dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.2.1
pull_policy: "IfNotPresent"

View File

@ -28,15 +28,15 @@ labels:
images:
tags:
bootstrap: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
db_init: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
magnum_db_sync: docker.io/kolla/ubuntu-source-magnum-api:3.0.3
db_drop: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_user: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_service: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_endpoints: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
magnum_api: docker.io/kolla/ubuntu-source-magnum-api:3.0.3
magnum_conductor: docker.io/kolla/ubuntu-source-magnum-conductor:3.0.3
bootstrap: docker.io/openstackhelm/heat:newton
db_init: docker.io/openstackhelm/heat:newton
magnum_db_sync: docker.io/openstackhelm/magnum:newton
db_drop: docker.io/openstackhelm/heat:newton
ks_user: docker.io/openstackhelm/heat:newton
ks_service: docker.io/openstackhelm/heat:newton
ks_endpoints: docker.io/openstackhelm/heat:newton
magnum_api: docker.io/openstackhelm/magnum:newton
magnum_conductor: docker.io/openstackhelm/magnum:newton
dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.2.1
pull_policy: "IfNotPresent"
@ -285,7 +285,7 @@ endpoints:
pod:
user:
magnum:
uid: 1000
uid: 42424
affinity:
anti:
type:

View File

@ -17,7 +17,7 @@ images:
mariadb: docker.io/mariadb:10.1.23
prometheus_create_mysql_user: docker.io/mariadb:10.1.23
prometheus_mysql_exporter: docker.io/prom/mysqld-exporter:v0.10.0
prometheus_mysql_exporter_helm_tests: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
prometheus_mysql_exporter_helm_tests: docker.io/openstackhelm/heat:newton
dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.2.1
pull_policy: IfNotPresent

View File

@ -28,14 +28,14 @@ release_group: null
images:
tags:
bootstrap: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
bootstrap: docker.io/openstackhelm/heat:newton
dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.2.1
db_init: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
db_init: docker.io/openstackhelm/heat:newton
mistral_db_sync: docker.io/kolla/ubuntu-source-mistral-api:3.0.3
db_drop: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_user: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_service: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_endpoints: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
db_drop: docker.io/openstackhelm/heat:newton
ks_user: docker.io/openstackhelm/heat:newton
ks_service: docker.io/openstackhelm/heat:newton
ks_endpoints: docker.io/openstackhelm/heat:newton
mistral_api: docker.io/kolla/ubuntu-source-mistral-api:3.0.3
mistral_engine: docker.io/kolla/ubuntu-source-mistral-engine:3.0.3
mistral_event_engine: docker.io/kolla/ubuntu-source-mistral-engine:3.0.3

View File

@ -21,20 +21,20 @@ release_group: null
images:
tags:
bootstrap: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
bootstrap: docker.io/openstackhelm/heat:newton
test: docker.io/kolla/ubuntu-source-rally:4.0.0
db_init: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
neutron_db_sync: docker.io/kolla/ubuntu-source-neutron-server:3.0.3
db_drop: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_user: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_service: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_endpoints: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
neutron_server: docker.io/kolla/ubuntu-source-neutron-server:3.0.3
neutron_dhcp: docker.io/kolla/ubuntu-source-neutron-dhcp-agent:3.0.3
neutron_metadata: docker.io/kolla/ubuntu-source-neutron-metadata-agent:3.0.3
neutron_l3: docker.io/kolla/ubuntu-source-neutron-l3-agent:3.0.3
neutron_openvswitch_agent: docker.io/kolla/ubuntu-source-neutron-openvswitch-agent:3.0.3
neutron_linuxbridge_agent: docker.io/kolla/ubuntu-source-neutron-linuxbridge-agent:3.0.3
db_init: docker.io/openstackhelm/heat:newton
neutron_db_sync: docker.io/openstackhelm/neutron:newton
db_drop: docker.io/openstackhelm/heat:newton
ks_user: docker.io/openstackhelm/heat:newton
ks_service: docker.io/openstackhelm/heat:newton
ks_endpoints: docker.io/openstackhelm/heat:newton
neutron_server: docker.io/openstackhelm/neutron:newton
neutron_dhcp: docker.io/openstackhelm/neutron:newton
neutron_metadata: docker.io/openstackhelm/neutron:newton
neutron_l3: docker.io/openstackhelm/neutron:newton
neutron_openvswitch_agent: docker.io/openstackhelm/neutron:newton
neutron_linuxbridge_agent: docker.io/openstackhelm/neutron:newton
dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.2.1
pull_policy: "IfNotPresent"
@ -216,7 +216,7 @@ dependencies:
pod:
user:
neutron:
uid: 1000
uid: 42424
affinity:
anti:
type:
@ -930,7 +930,7 @@ conf:
database:
max_retries: -1
agent:
root_helper: sudo /var/lib/kolla/venv/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
root_helper: sudo /var/lib/openstack/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
oslo_messaging_notifications:
driver: messagingv2
nova:

View File

@ -39,7 +39,7 @@ spec:
{{ tuple $envAll $dependencies list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
containers:
- name: nova-db-sync
image: {{ .Values.images.tags.db_sync }}
image: {{ .Values.images.tags.nova_db_sync }}
imagePullPolicy: {{ .Values.images.pull_policy }}
{{ tuple $envAll $envAll.Values.pod.resources.jobs.db_sync | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
command:

View File

@ -58,26 +58,26 @@ labels:
images:
pull_policy: IfNotPresent
tags:
bootstrap: 'docker.io/kolla/ubuntu-source-heat-engine:3.0.3'
db_drop: 'docker.io/kolla/ubuntu-source-heat-engine:3.0.3'
db_init: 'docker.io/kolla/ubuntu-source-heat-engine:3.0.3'
db_sync: 'docker.io/kolla/ubuntu-source-nova-api:3.0.3'
bootstrap: docker.io/openstackhelm/heat:newton
db_drop: docker.io/openstackhelm/heat:newton
db_init: docker.io/openstackhelm/heat:newton
dep_check: 'quay.io/stackanetes/kubernetes-entrypoint:v0.2.1'
ks_endpoints: 'docker.io/kolla/ubuntu-source-heat-engine:3.0.3'
ks_service: 'docker.io/kolla/ubuntu-source-heat-engine:3.0.3'
ks_user: 'docker.io/kolla/ubuntu-source-heat-engine:3.0.3'
nova_api: 'docker.io/kolla/ubuntu-source-nova-api:3.0.3'
nova_cell_setup: 'docker.io/kolla/ubuntu-source-nova-api:3.0.3'
nova_compute: 'docker.io/kolla/ubuntu-source-nova-compute:3.0.3'
ks_user: docker.io/openstackhelm/heat:newton
ks_service: docker.io/openstackhelm/heat:newton
ks_endpoints: docker.io/openstackhelm/heat:newton
nova_api: docker.io/openstackhelm/nova:newton
nova_cell_setup: docker.io/openstackhelm/nova:newton
nova_compute: docker.io/openstackhelm/nova:newton
nova_compute_ironic: 'docker.io/kolla/ubuntu-source-nova-compute-ironic:3.0.3'
nova_compute_ssh: 'docker.io/kolla/ubuntu-source-nova-ssh:3.0.3'
nova_conductor: 'docker.io/kolla/ubuntu-source-nova-conductor:3.0.3'
nova_consoleauth: 'docker.io/kolla/ubuntu-source-nova-consoleauth:3.0.3'
nova_novncproxy: 'docker.io/kolla/ubuntu-source-nova-novncproxy:3.0.3'
nova_compute_ssh: docker.io/openstackhelm/nova:newton
nova_conductor: docker.io/openstackhelm/nova:newton
nova_consoleauth: docker.io/openstackhelm/nova:newton
nova_db_sync: docker.io/openstackhelm/nova:newton
nova_novncproxy: docker.io/openstackhelm/nova:newton
nova_novncproxy_assets: 'docker.io/kolla/ubuntu-source-nova-novncproxy:3.0.3'
nova_placement: 'docker.io/kolla/ubuntu-source-nova-placement-api:3.0.3-beta.1'
nova_scheduler: 'docker.io/kolla/ubuntu-source-nova-scheduler:3.0.3'
nova_spiceproxy: 'docker.io/kolla/ubuntu-source-nova-spicehtml5proxy:3.0.3'
nova_placement: docker.io/openstackhelm/nova:newton
nova_scheduler: docker.io/openstackhelm/nova:newton
nova_spiceproxy: docker.io/openstackhelm/nova:newton
nova_spiceproxy_assets: 'docker.io/kolla/ubuntu-source-nova-spicehtml5proxy:3.0.3'
test: 'docker.io/kolla/ubuntu-source-rally:4.0.0'
@ -1085,7 +1085,7 @@ endpoints:
default: mariadb
host_fqdn_override:
default: null
path: /nova_api_cell0
path: /nova_cell0
scheme: mysql+pymysql
port:
mysql:
@ -1302,7 +1302,7 @@ endpoints:
pod:
user:
nova:
uid: 1000
uid: 42424
affinity:
anti:
type:

View File

@ -28,7 +28,7 @@ labels:
images:
tags:
prometheus_rabbitmq_exporter: docker.io/kbudde/rabbitmq-exporter:v0.21.0
prometheus_rabbitmq_exporter_helm_tests: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
prometheus_rabbitmq_exporter_helm_tests: docker.io/openstackhelm/heat:newton
rabbitmq: docker.io/rabbitmq:3.7
dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.2.1
pull_policy: "IfNotPresent"

View File

@ -26,9 +26,9 @@ images:
db_init: docker.io/kolla/ubuntu-source-rally:3.0.3
manage_db: docker.io/kolla/ubuntu-source-rally:3.0.3
run_task: docker.io/kolla/ubuntu-source-rally:3.0.3
ks_user: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_service: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_endpoints: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_user: docker.io/openstackhelm/heat:newton
ks_service: docker.io/openstackhelm/heat:newton
ks_endpoints: docker.io/openstackhelm/heat:newton
api: docker.io/kolla/ubuntu-source-rally:3.0.3
pull_policy: "IfNotPresent"

View File

@ -28,15 +28,15 @@ release_group: null
images:
tags:
bootstrap: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
db_init: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
senlin_db_sync: docker.io/kolla/ubuntu-source-senlin-api:3.0.3
db_drop: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_user: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_service: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ks_endpoints: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
senlin_api: docker.io/kolla/ubuntu-source-senlin-api:3.0.3
senlin_engine: docker.io/kolla/ubuntu-source-senlin-engine:3.0.3
bootstrap: docker.io/openstackhelm/heat:newton
db_init: docker.io/openstackhelm/heat:newton
senlin_db_sync: docker.io/openstackhelm/senlin:newton
db_drop: docker.io/openstackhelm/heat:newton
ks_user: docker.io/openstackhelm/heat:newton
ks_service: docker.io/openstackhelm/heat:newton
ks_endpoints: docker.io/openstackhelm/heat:newton
senlin_api: docker.io/openstackhelm/senlin:newton
senlin_engine: docker.io/openstackhelm/senlin:newton
dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.2.1
pull_policy: "IfNotPresent"
@ -297,7 +297,7 @@ endpoints:
pod:
user:
senlin:
uid: 1000
uid: 42424
affinity:
anti:
type:

View File

@ -57,7 +57,7 @@ for LIBVIRT_POD in ${LIBVIRT_PODS}; do
kubectl exec -n libvirt ${LIBVIRT_POD} -- sh -c "virsh undefine fake-baremetal-1 || true"
kubectl exec -n libvirt ${LIBVIRT_POD} -- virsh define /tmp/fake-baremetal-1.xml
kubectl exec -n libvirt ${LIBVIRT_POD} -- sh -c "vbmc delete fake-baremetal-1 || true"
kubectl exec -n libvirt ${LIBVIRT_POD} -- vbmc add fake-baremetal-1
kubectl exec -n libvirt ${LIBVIRT_POD} -- vbmc add fake-baremetal-1 --address ${LIBVIRT_NODE_IP}
kubectl exec -n libvirt ${LIBVIRT_POD} -- sh -c "nohup vbmc start fake-baremetal-1 &>/dev/null &"
kubectl exec -n libvirt ${LIBVIRT_POD} -- virsh list --all
kubectl exec -n libvirt ${LIBVIRT_POD} -- vbmc show fake-baremetal-1

View File

@ -20,8 +20,10 @@ set -xe
make pull-images memcached
#NOTE: Deploy command
: ${EXTRA_CONFIG:=""}
helm upgrade --install memcached ./memcached \
--namespace=openstack
--namespace=openstack \
${EXTRA_CONFIG}
#NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -20,6 +20,7 @@ set -xe
make pull-images ceph
#NOTE: Deploy command
: ${EXTRA_CONFIG:=""}
uuidgen > /tmp/ceph-fs-uuid.txt
CEPH_FS_ID="$(cat /tmp/ceph-fs-uuid.txt)"
#NOTE(portdirect): to use RBD devices with Ubuntu kernels < 4.5 this
@ -155,7 +156,8 @@ conf:
EOF
helm upgrade --install ceph ./ceph \
--namespace=ceph \
--values=/tmp/ceph.yaml
--values=/tmp/ceph.yaml \
${EXTRA_CONFIG}
#NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh ceph

View File

@ -20,6 +20,7 @@ set -xe
make pull-images ceph
#NOTE: Deploy command
: ${EXTRA_CONFIG:=""}
CEPH_FS_ID="$(cat /tmp/ceph-fs-uuid.txt)"
tee /tmp/ceph-openstack-config.yaml <<EOF
endpoints:
@ -50,7 +51,8 @@ conf:
EOF
helm upgrade --install ceph-openstack-config ./ceph \
--namespace=openstack \
--values=/tmp/ceph-openstack-config.yaml
--values=/tmp/ceph-openstack-config.yaml \
${EXTRA_CONFIG}
#NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -20,6 +20,7 @@ set -xe
make pull-images ceph
#NOTE: Deploy command
: ${EXTRA_CONFIG:=""}
CEPH_FS_ID="$(cat /tmp/ceph-fs-uuid.txt)"
tee /tmp/radosgw-openstack.yaml <<EOF
endpoints:
@ -50,7 +51,8 @@ conf:
EOF
helm upgrade --install radosgw-openstack ./ceph \
--namespace=openstack \
--values=/tmp/radosgw-openstack.yaml
--values=/tmp/radosgw-openstack.yaml \
${EXTRA_CONFIG}
#NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -20,10 +20,12 @@ set -xe
make pull-images glance
#NOTE: Deploy command
: ${EXTRA_CONFIG:=""}
GLANCE_BACKEND="radosgw" # NOTE(portdirect), this could be: radosgw, rbd, swift or pvc
helm upgrade --install glance ./glance \
--namespace=openstack \
--set storage=${GLANCE_BACKEND}
--set storage=${GLANCE_BACKEND} \
${EXTRA_CONFIG}
#NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -19,8 +19,10 @@ set -xe
make pull-images cinder
#NOTE: Deploy command
: ${EXTRA_CONFIG:=""}
helm upgrade --install cinder ./cinder \
--namespace=openstack
--namespace=openstack \
${EXTRA_CONFIG}
#NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -19,8 +19,10 @@ set -xe
make pull-images libvirt
#NOTE: Deploy command
: ${EXTRA_CONFIG:=""}
helm upgrade --install libvirt ./libvirt \
--namespace=openstack
--namespace=openstack \
${EXTRA_CONFIG}
#NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -20,15 +20,18 @@ make pull-images nova
make pull-images neutron
#NOTE: Deploy nova
: ${EXTRA_CONFIG:=""}
if [ "x$(systemd-detect-virt)" == "xnone" ]; then
echo 'OSH is not being deployed in virtualized environment'
helm upgrade --install nova ./nova \
--namespace=openstack
--namespace=openstack \
${EXTRA_CONFIG}
else
echo 'OSH is being deployed in virtualized environment, using qemu for nova'
helm upgrade --install nova ./nova \
--namespace=openstack \
--set conf.nova.libvirt.virt_type=qemu
--set conf.nova.libvirt.virt_type=qemu \
${EXTRA_CONFIG}
fi
#NOTE: Deploy neutron
@ -56,7 +59,8 @@ conf:
EOF
helm upgrade --install neutron ./neutron \
--namespace=openstack \
--values=/tmp/neutron.yaml
--values=/tmp/neutron.yaml \
${EXTRA_CONFIG}
#NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -19,6 +19,8 @@ set -xe
#NOTE: Pull images and lint chart
make pull-images ingress
#NOTE: Deploy command
: ${EXTRA_CONFIG:=""}
tee /tmp/ingress-kube-system.yaml << EOF
deployment:
mode: cluster
@ -28,7 +30,8 @@ network:
EOF
helm upgrade --install ingress-kube-system ./ingress \
--namespace=kube-system \
--values=/tmp/ingress-kube-system.yaml
--values=/tmp/ingress-kube-system.yaml \
${EXTRA_CONFIG}
#NOTE: Deploy namespace ingress
helm upgrade --install ingress-openstack ./ingress \

View File

@ -20,9 +20,11 @@ set -xe
make pull-images mariadb
#NOTE: Deploy command
: ${EXTRA_CONFIG:=""}
helm upgrade --install mariadb ./mariadb \
--namespace=openstack \
--set pod.replicas.server=1
--set pod.replicas.server=1 \
${EXTRA_CONFIG}
#NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -20,9 +20,11 @@ set -xe
make pull-images rabbitmq
#NOTE: Deploy command
: ${EXTRA_CONFIG:=""}
helm upgrade --install rabbitmq ./rabbitmq \
--namespace=openstack \
--set pod.replicas.server=1
--set pod.replicas.server=1 \
${EXTRA_CONFIG}
#NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -20,8 +20,10 @@ set -xe
make pull-images keystone
#NOTE: Deploy command
: ${EXTRA_CONFIG:=""}
helm upgrade --install keystone ./keystone \
--namespace=openstack
--namespace=openstack \
${EXTRA_CONFIG}
#NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -19,8 +19,10 @@ set -xe
make pull-images heat
#NOTE: Deploy command
: ${EXTRA_CONFIG:=""}
helm upgrade --install heat ./heat \
--namespace=openstack
--namespace=openstack \
${EXTRA_CONFIG}
#NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -20,10 +20,12 @@ set -xe
make pull-images horizon
#NOTE: Deploy command
: ${EXTRA_CONFIG:=""}
helm upgrade --install horizon ./horizon \
--namespace=openstack \
--set network.node_port.enabled=true \
--set network.node_port.port=31000
--set network.node_port.port=31000 \
${EXTRA_CONFIG}
#NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -19,8 +19,10 @@ set -xe
make pull-images openvswitch
#NOTE: Deploy command
: ${EXTRA_CONFIG:=""}
helm upgrade --install openvswitch ./openvswitch \
--namespace=openstack
--namespace=openstack \
${EXTRA_CONFIG}
#NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -24,7 +24,7 @@
shell: |
set -xe;
./tools/deployment/developer/nfs/010-deploy-k8s.sh
vars:
environment:
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args:
chdir: "{{ zuul.project.src_dir }}"

View File

@ -0,0 +1,175 @@
# 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
tasks:
- name: Deploy Required packages
shell: |
set -xe;
./tools/deployment/developer/ceph/000-install-packages.sh
environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml"
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Required packages
shell: |
set -xe;
./tools/deployment/developer/ceph/010-deploy-k8s.sh
environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Setup OS and K8s Clients
shell: |
set -xe;
./tools/deployment/developer/ceph/020-setup-client.sh
environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml"
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Ingress
shell: |
set -xe;
./tools/deployment/developer/ceph/030-ingress.sh
environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml"
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Ceph
shell: |
set -xe;
./tools/deployment/developer/ceph/040-ceph.sh
environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml"
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Ceph NS Activate
shell: |
set -xe;
./tools/deployment/developer/ceph/045-ceph-ns-activate.sh
environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml"
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Mariadb
shell: |
set -xe;
./tools/deployment/developer/ceph/050-mariadb.sh
environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml"
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy RabbitMQ
shell: |
set -xe;
./tools/deployment/developer/ceph/060-rabbitmq.sh
environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml"
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Memcached
shell: |
set -xe;
./tools/deployment/developer/ceph/070-memcached.sh
environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml"
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Keystone
shell: |
set -xe;
./tools/deployment/developer/ceph/080-keystone.sh
environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml"
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Heat
shell: |
set -xe;
./tools/deployment/developer/ceph/090-heat.sh
environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml"
args:
chdir: "{{ zuul.project.src_dir }}"
# - name: Deploy Horizon
# shell: |
# set -xe;
# ./tools/deployment/developer/ceph/100-horizon.sh
# args:
# chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Keystone Endpoints and User management for CephRGW
shell: |
set -xe;
./tools/deployment/developer/ceph/110-ceph-radosgateway.sh
environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml"
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Glance
shell: |
set -xe;
./tools/deployment/developer/ceph/120-glance.sh
environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml"
args:
chdir: "{{ zuul.project.src_dir }}"
# - name: Deploy Cinder
# shell: |
# set -xe;
# ./tools/deployment/developer/ceph/130-cinder.sh
# environment:
# EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml"
# args:
# chdir: "{{ zuul.project.src_dir }}"
- name: Deploy OpenvSwitch
shell: |
set -xe;
./tools/deployment/developer/ceph/140-openvswitch.sh
environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml"
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Libvirt
shell: |
set -xe;
./tools/deployment/developer/ceph/150-libvirt.sh
environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml"
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy VM Compute Kit
shell: |
set -xe;
./tools/deployment/developer/ceph/160-compute-kit.sh
environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml"
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Setup Gateway
shell: |
set -xe;
./tools/deployment/developer/ceph/170-setup-gateway.sh
environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml"
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy use the cloud
shell: |
set -xe;
./tools/deployment/developer/ceph/900-use-it.sh
environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml"
args:
chdir: "{{ zuul.project.src_dir }}"

View File

@ -0,0 +1,102 @@
conf:
neutron:
agent:
root_helper: sudo /var/lib/kolla/venv/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
endpoints:
oslo_db_cell0:
path: /nova_api_cell0
images:
tags:
barbican_api: 'docker.io/kolla/ubuntu-source-barbican-api:3.0.3'
barbican_db_sync: 'docker.io/kolla/ubuntu-source-barbican-api:3.0.3'
bootstrap: 'docker.io/kolla/ubuntu-source-heat-engine:3.0.3'
cinder_api: 'docker.io/kolla/ubuntu-source-cinder-api:3.0.3'
cinder_backup: 'docker.io/kolla/ubuntu-source-cinder-backup:3.0.3'
cinder_db_sync: 'docker.io/kolla/ubuntu-source-cinder-api:3.0.3'
cinder_scheduler: 'docker.io/kolla/ubuntu-source-cinder-scheduler:3.0.3'
cinder_volume: 'docker.io/kolla/ubuntu-source-cinder-volume:3.0.3'
cinder_volume_usage_audit: 'docker.io/kolla/ubuntu-source-cinder-volume:3.0.3'
congress_api: 'docker.io/kolla/ubuntu-source-congress-api:3.0.3'
congress_datasource: 'docker.io/kolla/ubuntu-source-congress-datasource:3.0.3'
congress_db_sync: 'docker.io/kolla/ubuntu-source-congress-api:3.0.3'
congress_ds_create: 'docker.io/kolla/ubuntu-source-congress-api:3.0.3'
congress_policy_engine: 'docker.io/kolla/ubuntu-source-congress-policy-engine:3.0.3'
congress_scripted_test: 'docker.io/kolla/ubuntu-source-congress-api:3.0.3'
db_drop: 'docker.io/kolla/ubuntu-source-heat-engine:3.0.3'
db_init: 'docker.io/kolla/ubuntu-source-heat-engine:3.0.3'
glance_api: 'docker.io/kolla/ubuntu-source-glance-api:3.0.3'
glance_bootstrap: 'docker.io/kolla/ubuntu-source-heat-engine:3.0.3'
glance_db_sync: 'docker.io/kolla/ubuntu-source-glance-api:3.0.3'
glance_registry: 'docker.io/kolla/ubuntu-source-glance-registry:3.0.3'
heat_api: 'docker.io/kolla/ubuntu-source-heat-api:3.0.3'
heat_cfn: 'docker.io/kolla/ubuntu-source-heat-api:3.0.3'
heat_cloudwatch: 'docker.io/kolla/ubuntu-source-heat-api:3.0.3'
heat_db_sync: 'docker.io/kolla/ubuntu-source-heat-api:3.0.3'
heat_engine: 'docker.io/kolla/ubuntu-source-heat-engine:3.0.3'
horizon: 'docker.io/kolla/ubuntu-source-horizon:ocata'
horizon_db_sync: 'docker.io/kolla/ubuntu-source-horizon:ocata'
keystone_api: 'docker.io/kolla/ubuntu-source-keystone:3.0.3'
keystone_bootstrap: 'docker.io/kolla/ubuntu-source-keystone:3.0.3'
keystone_credential_rotate: 'docker.io/kolla/ubuntu-source-keystone:3.0.3'
keystone_credential_setup: 'docker.io/kolla/ubuntu-source-keystone:3.0.3'
keystone_db_sync: 'docker.io/kolla/ubuntu-source-keystone:3.0.3'
keystone_fernet_rotate: 'docker.io/kolla/ubuntu-source-keystone:3.0.3'
keystone_fernet_setup: 'docker.io/kolla/ubuntu-source-keystone:3.0.3'
ks_endpoints: 'docker.io/kolla/ubuntu-source-heat-engine:3.0.3'
ks_service: 'docker.io/kolla/ubuntu-source-heat-engine:3.0.3'
ks_user: 'docker.io/kolla/ubuntu-source-heat-engine:3.0.3'
magnum_api: 'docker.io/kolla/ubuntu-source-magnum-api:3.0.3'
magnum_conductor: 'docker.io/kolla/ubuntu-source-magnum-conductor:3.0.3'
magnum_db_sync: 'docker.io/kolla/ubuntu-source-magnum-api:3.0.3'
neutron_db_sync: 'docker.io/kolla/ubuntu-source-neutron-server:3.0.3'
neutron_dhcp: 'docker.io/kolla/ubuntu-source-neutron-dhcp-agent:3.0.3'
neutron_l3: 'docker.io/kolla/ubuntu-source-neutron-l3-agent:3.0.3'
neutron_linuxbridge_agent: 'docker.io/kolla/ubuntu-source-neutron-linuxbridge-agent:3.0.3'
neutron_metadata: 'docker.io/kolla/ubuntu-source-neutron-metadata-agent:3.0.3'
neutron_openvswitch_agent: 'docker.io/kolla/ubuntu-source-neutron-openvswitch-agent:3.0.3'
neutron_server: 'docker.io/kolla/ubuntu-source-neutron-server:3.0.3'
nova_api: 'docker.io/kolla/ubuntu-source-nova-api:3.0.3'
nova_cell_setup: 'docker.io/kolla/ubuntu-source-nova-api:3.0.3'
nova_compute: 'docker.io/kolla/ubuntu-source-nova-compute:3.0.3'
nova_compute_ironic: 'docker.io/kolla/ubuntu-source-nova-compute-ironic:3.0.3'
nova_compute_ssh: 'docker.io/kolla/ubuntu-source-nova-ssh:3.0.3'
nova_conductor: 'docker.io/kolla/ubuntu-source-nova-conductor:3.0.3'
nova_consoleauth: 'docker.io/kolla/ubuntu-source-nova-consoleauth:3.0.3'
nova_db_sync: 'docker.io/kolla/ubuntu-source-nova-api:3.0.3'
nova_novncproxy: 'docker.io/kolla/ubuntu-source-nova-novncproxy:3.0.3'
nova_novncproxy_assets: 'docker.io/kolla/ubuntu-source-nova-novncproxy:3.0.3'
nova_placement: 'docker.io/kolla/ubuntu-source-nova-placement-api:3.0.3-beta.1'
nova_scheduler: 'docker.io/kolla/ubuntu-source-nova-scheduler:3.0.3'
nova_spiceproxy: 'docker.io/kolla/ubuntu-source-nova-spicehtml5proxy:3.0.3'
nova_spiceproxy_assets: 'docker.io/kolla/ubuntu-source-nova-spicehtml5proxy:3.0.3'
scripted_test: 'docker.io/kolla/ubuntu-source-heat-engine:3.0.3'
senlin_api: 'docker.io/kolla/ubuntu-source-senlin-api:3.0.3'
senlin_db_sync: 'docker.io/kolla/ubuntu-source-senlin-api:3.0.3'
senlin_engine: 'docker.io/kolla/ubuntu-source-senlin-engine:3.0.3'
test: 'docker.io/kolla/ubuntu-source-rally:4.0.0'
ironic_bootstrap: docker.io/kolla/ubuntu-source-heat-engine:3.0.3
ironic_db_sync: docker.io/kolla/ubuntu-source-ironic-api:3.0.3
ironic_api: docker.io/kolla/ubuntu-source-ironic-api:3.0.3
ironic_conductor: docker.io/kolla/ubuntu-source-ironic-conductor:3.0.3
ironic_pxe: docker.io/kolla/ubuntu-source-ironic-pxe:3.0.3
ironic_pxe_init: docker.io/kolla/ubuntu-source-ironic-pxe:3.0.3
pod:
user:
barbican:
uid: 1000
cinder:
uid: 1000
congress:
uid: 1000
glance:
uid: 1000
heat:
uid: 1000
magnum:
uid: 1000
neutron:
uid: 1000
nova:
uid: 1000
senlin:
uid: 1000

View File

@ -0,0 +1,142 @@
#!/bin/bash
set -ex
sudo docker run -d \
--name docker-in-docker \
--privileged=true \
--net=host \
-v /var/lib/docker \
-v ${HOME}/.docker/config.json:/root/.docker/config.json:ro\
docker.io/docker:17.07.0-dind \
dockerd \
--pidfile=/var/run/docker.pid \
--host=unix:///var/run/docker.sock \
--storage-driver=overlay2
sudo docker exec docker-in-docker apk update
sudo docker exec docker-in-docker apk add git
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
https://git.openstack.org/openstack/loci.git \
--network host \
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
--build-arg PROJECT=requirements \
--build-arg PROJECT_REF=stable/newton \
--tag docker.io/openstackhelm/requirements:newton
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/requirements:newton
sudo docker exec docker-in-docker docker build https://git.openstack.org/openstack/loci.git \
--build-arg PROJECT=keystone \
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
--build-arg PROJECT_REF=newton-eol \
--build-arg PROFILES="apache" \
--build-arg PIP_PACKAGES="pycrypto" \
--build-arg WHEELS=openstackhelm/requirements:newton \
--tag docker.io/openstackhelm/keystone:newton
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/keystone:newton
sudo docker exec docker-in-docker docker build https://git.openstack.org/openstack/loci.git \
--build-arg PROJECT=heat \
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
--build-arg PROJECT_REF=newton-eol \
--build-arg PROFILES="apache" \
--build-arg PIP_PACKAGES="pycrypto" \
--build-arg DIST_PACKAGES="curl" \
--build-arg WHEELS=openstackhelm/requirements:newton \
--tag docker.io/openstackhelm/heat:newton
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/heat:newton
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
https://git.openstack.org/openstack/loci.git \
--build-arg PROJECT=glance \
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
--build-arg PROJECT_REF=newton-eol \
--build-arg PROFILES="glance ceph" \
--build-arg PIP_PACKAGES="pycrypto python-swiftclient" \
--build-arg WHEELS=openstackhelm/requirements:newton \
--tag docker.io/openstackhelm/glance:newton
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/glance:newton
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
https://git.openstack.org/openstack/loci.git \
--build-arg PROJECT=cinder \
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
--build-arg PROJECT_REF=newton-eol \
--build-arg PROFILES="cinder lvm ceph" \
--build-arg PIP_PACKAGES="pycrypto python-swiftclient" \
--build-arg WHEELS=openstackhelm/requirements:newton \
--tag docker.io/openstackhelm/cinder:newton
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/cinder:newton
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
https://git.openstack.org/openstack/loci.git \
--build-arg PROJECT=neutron \
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
--build-arg PROJECT_REF=newton-eol \
--build-arg PROFILES="neutron linuxbridge openvswitch" \
--build-arg PIP_PACKAGES="pycrypto" \
--build-arg WHEELS=openstackhelm/requirements:newton \
--tag docker.io/openstackhelm/neutron:newton
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/neutron:newton
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
https://git.openstack.org/openstack/loci.git \
--build-arg PROJECT=nova \
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
--build-arg PROJECT_REF=stable/newton \
--build-arg PROFILES="nova ceph linuxbridge openvswitch configdrive qemu apache" \
--build-arg PIP_PACKAGES="pycrypto" \
--build-arg WHEELS=openstackhelm/requirements:newton \
--tag docker.io/openstackhelm/nova:newton
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/nova:newton
sudo docker exec docker-in-docker docker build --force-rm --pull --no-cache \
https://git.openstack.org/openstack/loci.git \
--build-arg PROJECT=horizon \
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
--build-arg PROJECT_REF=newton-eol \
--build-arg PROFILES="horizon apache" \
--build-arg PIP_PACKAGES="pycrypto" \
--build-arg WHEELS=openstackhelm/requirements:newton \
--tag docker.io/openstackhelm/horizon:newton
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/horizon:newton
sudo docker exec docker-in-docker docker build https://git.openstack.org/openstack/loci.git \
--build-arg PROJECT=senlin \
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
--build-arg PROJECT_REF=newton-eol \
--build-arg PROFILES="senlin" \
--build-arg PIP_PACKAGES="pycrypto" \
--build-arg WHEELS=openstackhelm/requirements:newton \
--tag docker.io/openstackhelm/senlin:newton
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/senlin:newton
sudo docker exec docker-in-docker docker build https://git.openstack.org/openstack/loci.git \
--build-arg PROJECT=congress \
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
--build-arg PROJECT_REF=newton-eol \
--build-arg PROFILES="congress" \
--build-arg PIP_PACKAGES="pycrypto python-congressclient" \
--build-arg WHEELS=openstackhelm/requirements:newton \
--tag docker.io/openstackhelm/congress:newton
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/congress:newton
sudo docker exec docker-in-docker docker build https://git.openstack.org/openstack/loci.git \
--build-arg PROJECT=magnum \
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
--build-arg PROJECT_REF=newton-eol \
--build-arg PROFILES="magnum" \
--build-arg PIP_PACKAGES="pycrypto" \
--build-arg WHEELS=openstackhelm/requirements:newton \
--tag docker.io/openstackhelm/magnum:newton
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/magnum:newton
sudo docker exec docker-in-docker docker build https://git.openstack.org/openstack/loci.git \
--build-arg PROJECT=ironic \
--build-arg FROM=gcr.io/google_containers/ubuntu-slim:0.14 \
--build-arg PROJECT_REF=newton-eol \
--build-arg PROFILES="ironic ipxe" \
--build-arg PIP_PACKAGES="pycrypto" \
--build-arg DIST_PACKAGES="iproute2 tftpd-hpa ipmitool qemu-utils" \
--build-arg WHEELS=openstackhelm/requirements:newton \
--tag docker.io/openstackhelm/ironic:newton
sudo docker exec docker-in-docker docker push docker.io/openstackhelm/ironic:newton