Merge "Glance Config Overrides"

This commit is contained in:
Jenkins 2017-04-25 22:12:21 +00:00 committed by Gerrit Code Review
commit 89d6b06325
14 changed files with 7316 additions and 131 deletions

View File

@ -65,13 +65,13 @@ kubectl update -f https://raw.githubusercontent.com/openstack/openstack-helm/mas
kubectl label nodes openstack-control-plane=enabled --all --namespace=openstack kubectl label nodes openstack-control-plane=enabled --all --namespace=openstack
# Deploy each chart: # Deploy each chart:
helm install --name mariadb --set development.enabled=true local/mariadb --namespace=openstack helm install --name mariadb local/mariadb --namespace=openstack --set development.enabled=true
helm install --name=memcached local/memcached --namespace=openstack helm install --name=memcached local/memcached --namespace=openstack
helm install --name=etcd-rabbitmq local/etcd --namespace=openstack helm install --name=etcd-rabbitmq local/etcd --namespace=openstack
helm install --name=rabbitmq local/rabbitmq --namespace=openstack helm install --name=rabbitmq local/rabbitmq --namespace=openstack
helm install --name=keystone local/keystone --namespace=openstack helm install --name=keystone local/keystone --namespace=openstack
helm install --name=cinder local/cinder --namespace=openstack helm install --name=cinder local/cinder --namespace=openstack
helm install --name=glance local/glance --namespace=openstack helm install --name=glance local/glance --namespace=openstack --values=./glance/_values-mvp.yaml
helm install --name=heat local/heat --namespace=openstack helm install --name=heat local/heat --namespace=openstack
helm install --name=nova local/nova --namespace=openstack helm install --name=nova local/nova --namespace=openstack
helm install --name=neutron local/neutron --namespace=openstack helm install --name=neutron local/neutron --namespace=openstack

29
glance/_values-mvp.yaml Normal file
View File

@ -0,0 +1,29 @@
# 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.
# MVP values for glance.
# This file contains overrides to launch a MVP deployment of glance for the
# OpenStack-Helm Single node gates, and local development use. It should be
# kept to the bare minimum required for this purpose.
storage: file
conf:
glance:
glance_store:
glance:
store:
stores: file, http
default_store: file
filesystem_store_datadir: /var/lib/glance/images

View File

@ -11,6 +11,56 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
{{- include "glance.conf.glance_values_skeleton" .Values.conf.glance | trunc 0 -}}
{{- include "glance.conf.glance_registry_values_skeleton" .Values.conf.glance_registry | trunc 0 -}}
{{- if empty .Values.conf.glance.keystone_authtoken.keystonemiddleware.auth_token.auth_uri -}}
{{- tuple "identity" "internal" "api" . | include "helm-toolkit.keystone_endpoint_uri_lookup"| set .Values.conf.glance.keystone_authtoken.keystonemiddleware.auth_token "auth_uri" | quote | trunc 0 -}}
{{- end -}}
{{- if empty .Values.conf.glance_registry.keystone_authtoken.keystonemiddleware.auth_token.auth_uri -}}
{{- tuple "identity" "internal" "api" . | include "helm-toolkit.keystone_endpoint_uri_lookup"| set .Values.conf.glance_registry.keystone_authtoken.keystonemiddleware.auth_token "auth_uri" | quote | trunc 0 -}}
{{- end -}}
# FIXME(alanmeadows) fix for broken keystonemiddleware oslo config gen in newton - will remove in future
{{- if empty .Values.conf.glance.keystone_authtoken.keystonemiddleware.auth_token.auth_url -}}
{{- tuple "identity" "internal" "api" . | include "helm-toolkit.keystone_endpoint_uri_lookup"| set .Values.conf.glance.keystone_authtoken.keystonemiddleware.auth_token "auth_url" | quote | trunc 0 -}}
{{- end -}}
{{- if empty .Values.conf.glance_registry.keystone_authtoken.keystonemiddleware.auth_token.auth_url -}}
{{- tuple "identity" "internal" "api" . | include "helm-toolkit.keystone_endpoint_uri_lookup"| set .Values.conf.glance_registry.keystone_authtoken.keystonemiddleware.auth_token "auth_url" | quote | trunc 0 -}}
{{- end -}}
{{- if empty .Values.conf.glance.keystone_authtoken.keystonemiddleware.auth_token.memcached_servers -}}
{{- tuple "oslo_cache" "internal" "memcache" . | include "helm-toolkit.hostname_endpoint_uri_lookup" | set .Values.conf.glance.keystone_authtoken.keystonemiddleware.auth_token "memcached_servers" | quote | trunc 0 -}}
{{- end -}}
{{- if empty .Values.conf.glance_registry.keystone_authtoken.keystonemiddleware.auth_token.memcached_servers -}}
{{- tuple "oslo_cache" "internal" "memcache" . | include "helm-toolkit.hostname_endpoint_uri_lookup" | set .Values.conf.glance_registry.keystone_authtoken.keystonemiddleware.auth_token "memcached_servers" | quote | trunc 0 -}}
{{- end -}}
{{- if empty .Values.conf.glance.database.oslo.db.connection -}}
{{- tuple "oslo_db" "internal" "user" "mysql" . | include "helm-toolkit.authenticated_endpoint_uri_lookup"| set .Values.conf.glance.database.oslo.db "connection" | quote | trunc 0 -}}
{{- end -}}
{{- if empty .Values.conf.glance_registry.database.oslo.db.connection -}}
{{- tuple "oslo_db" "internal" "user" "mysql" . | include "helm-toolkit.authenticated_endpoint_uri_lookup"| set .Values.conf.glance_registry.database.oslo.db "connection" | quote | trunc 0 -}}
{{- end -}}
{{- if empty .Values.conf.glance.default.oslo.messaging.transport_url -}}
{{- tuple "oslo_messaging" "internal" "user" "amqp" . | include "helm-toolkit.authenticated_endpoint_uri_lookup" | set .Values.conf.glance.default.oslo.messaging "transport_url" | quote | trunc 0 -}}
{{- end -}}
{{- if empty .Values.conf.glance_registry.default.oslo.messaging.transport_url -}}
{{- tuple "oslo_messaging" "internal" "user" "amqp" . | include "helm-toolkit.authenticated_endpoint_uri_lookup" | set .Values.conf.glance_registry.default.oslo.messaging "transport_url" | quote | trunc 0 -}}
{{- end -}}
{{- if empty .Values.conf.glance.default.glance.api.registry_host -}}
{{- $imageRegistry := tuple "image_registry" "internal" "api" . | include "helm-toolkit.hostname_endpoint_uri_lookup" }}
{{- $imageRegistryHostURI := split ":" $imageRegistry -}}
{{- $imageRegistryHostURI._0 | set .Values.conf.glance.default.glance.api "registry_host" | quote | trunc 0 -}}
{{- end -}}
{{- if empty .Values.conf.glance.default.glance.api.registry_port -}}
{{- $imageRegistry := tuple "image_registry" "internal" "api" . | include "helm-toolkit.hostname_endpoint_uri_lookup" }}
{{- $imageRegistryHostURI := split ":" $imageRegistry -}}
{{- $imageRegistryHostURI._1 | set .Values.conf.glance.default.glance.api "registry_port" | quote | trunc 0 -}}
{{- end -}}
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
@ -18,16 +68,80 @@ metadata:
name: glance-etc name: glance-etc
data: data:
ceph.conf: |+ ceph.conf: |+
{{ if .Values.conf.ceph.override -}}
{{ .Values.conf.ceph.override | indent 4 }}
{{- else -}}
{{- if .Values.conf.ceph.prefix -}}
{{ .Values.conf.ceph.prefix | indent 4 }}
{{- end }}
{{ tuple "etc/_ceph.conf.tpl" . | include "helm-toolkit.template" | indent 4 }} {{ tuple "etc/_ceph.conf.tpl" . | include "helm-toolkit.template" | indent 4 }}
ceph.client.{{ .Values.ceph.glance_user }}.keyring: |+ {{- end }}
{{- if .Values.conf.ceph.append -}}
{{ .Values.conf.ceph.append | indent 4 }}
{{- end }}
ceph.client.{{ .Values.conf.glance.glance_store.glance.store.rbd_store_user }}.keyring: |+
{{ if .Values.conf.ceph_client.override -}}
{{ .Values.conf.ceph_client.override | indent 4 }}
{{- else -}}
{{- if .Values.conf.ceph_client.prefix -}}
{{ .Values.conf.ceph_client.prefix | indent 4 }}
{{- end }}
{{ tuple "etc/_ceph.client.glance.keyring.tpl" . | include "helm-toolkit.template" | indent 4 }} {{ tuple "etc/_ceph.client.glance.keyring.tpl" . | include "helm-toolkit.template" | indent 4 }}
{{- end }}
{{- if .Values.conf.ceph_client.append -}}
{{ .Values.conf.ceph_client.append | indent 4 }}
{{- end }}
glance-api.conf: |+ glance-api.conf: |+
{{ if .Values.conf.glance.override -}}
{{ .Values.conf.glance.override | indent 4 }}
{{- else -}}
{{- if .Values.conf.glance.prefix -}}
{{ .Values.conf.glance.prefix | indent 4 }}
{{- end }}
{{ tuple "etc/_glance-api.conf.tpl" . | include "helm-toolkit.template" | indent 4 }} {{ tuple "etc/_glance-api.conf.tpl" . | include "helm-toolkit.template" | indent 4 }}
{{- end }}
{{- if .Values.conf.glance.append -}}
{{ .Values.conf.glance.append | indent 4 }}
{{- end }}
glance-api-paste.ini: |+ glance-api-paste.ini: |+
{{ if .Values.conf.paste.override -}}
{{ .Values.conf.paste.override | indent 4 }}
{{- else -}}
{{- if .Values.conf.paste.prefix -}}
{{ .Values.conf.paste.prefix | indent 4 }}
{{- end }}
{{ tuple "etc/_glance-api-paste.ini.tpl" . | include "helm-toolkit.template" | indent 4 }} {{ tuple "etc/_glance-api-paste.ini.tpl" . | include "helm-toolkit.template" | indent 4 }}
{{- end }}
{{- if .Values.conf.paste.append -}}
{{ .Values.conf.paste.append | indent 4 }}
{{- end }}
glance-registry.conf: |+ glance-registry.conf: |+
{{ if .Values.conf.glance_registry.override -}}
{{ .Values.conf.glance_registry.override | indent 4 }}
{{- else -}}
{{- if .Values.conf.glance_registry.prefix -}}
{{ .Values.conf.glance_registry.prefix | indent 4 }}
{{- end }}
{{ tuple "etc/_glance-registry.conf.tpl" . | include "helm-toolkit.template" | indent 4 }} {{ tuple "etc/_glance-registry.conf.tpl" . | include "helm-toolkit.template" | indent 4 }}
{{- end }}
{{- if .Values.conf.glance_registry.append -}}
{{ .Values.conf.glance_registry.append | indent 4 }}
{{- end }}
glance-registry-paste.ini: |+ glance-registry-paste.ini: |+
{{ if .Values.conf.paste_registry.override -}}
{{ .Values.conf.paste_registry.override | indent 4 }}
{{- else -}}
{{- if .Values.conf.paste_registry.prefix -}}
{{ .Values.conf.paste_registry.prefix | indent 4 }}
{{- end }}
{{ tuple "etc/_glance-registry-paste.ini.tpl" . | include "helm-toolkit.template" | indent 4 }} {{ tuple "etc/_glance-registry-paste.ini.tpl" . | include "helm-toolkit.template" | indent 4 }}
{{- end }}
{{- if .Values.conf.paste_registry.append -}}
{{ .Values.conf.paste_registry.append | indent 4 }}
{{- end }}
policy.json: |+ policy.json: |+
{{ if .Values.conf.policy.override -}}
{{ .Values.conf.policy.override | indent 4 }}
{{- else -}}
{{ tuple "etc/_policy.json.tpl" . | include "helm-toolkit.template" | indent 4 }} {{ tuple "etc/_policy.json.tpl" . | include "helm-toolkit.template" | indent 4 }}
{{- end }}

View File

@ -19,11 +19,7 @@ kind: Deployment
metadata: metadata:
name: glance-api name: glance-api
spec: spec:
{{- if .Values.development.enabled }}
replicas: 1
{{- else }}
replicas: {{ .Values.replicas.api }} replicas: {{ .Values.replicas.api }}
{{- end }}
revisionHistoryLimit: {{ .Values.upgrades.revision_history }} revisionHistoryLimit: {{ .Values.upgrades.revision_history }}
strategy: strategy:
type: {{ .Values.upgrades.pod_replacement_strategy }} type: {{ .Values.upgrades.pod_replacement_strategy }}
@ -63,10 +59,10 @@ spec:
- --config-file - --config-file
- /etc/glance/glance-api.conf - /etc/glance/glance-api.conf
ports: ports:
- containerPort: {{ .Values.network.api.port }} - containerPort: {{ .Values.conf.glance.default.glance.api.bind_port }}
readinessProbe: readinessProbe:
tcpSocket: tcpSocket:
port: {{ .Values.network.api.port }} port: {{ .Values.conf.glance.default.glance.api.bind_port }}
volumeMounts: volumeMounts:
- name: etcglance - name: etcglance
mountPath: /etc/glance mountPath: /etc/glance
@ -82,9 +78,9 @@ spec:
mountPath: /etc/glance/policy.json mountPath: /etc/glance/policy.json
subPath: policy.json subPath: policy.json
readOnly: true readOnly: true
{{- if .Values.development.enabled }} {{- if eq .Values.storage "file" }}
- name: glance-data - name: glance-images
mountPath: /var/lib/glance/images mountPath: {{ .Values.conf.glance.glance_store.glance.store.filesystem_store_datadir }}
{{- else }} {{- else }}
- name: cephconf - name: cephconf
mountPath: /etc/ceph/ceph.conf mountPath: /etc/ceph/ceph.conf
@ -102,10 +98,10 @@ spec:
- name: glanceapipaste - name: glanceapipaste
configMap: configMap:
name: glance-etc name: glance-etc
{{- if .Values.development.enabled }} {{- if eq .Values.storage "file" }}
- name: glance-data - name: glance-images
hostPath: persistentVolumeClaim:
path: {{ .Values.development.storage_path }} claimName: glance-images
{{- else }} {{- else }}
- name: cephconf - name: cephconf
configMap: configMap:

View File

@ -19,11 +19,7 @@ kind: Deployment
metadata: metadata:
name: glance-registry name: glance-registry
spec: spec:
{{- if .Values.development.enabled }}
replicas: 1
{{- else }}
replicas: {{ .Values.replicas.registry }} replicas: {{ .Values.replicas.registry }}
{{- end }}
template: template:
metadata: metadata:
labels: labels:
@ -41,7 +37,7 @@ spec:
- name: glance-registry - name: glance-registry
image: {{ .Values.images.registry }} image: {{ .Values.images.registry }}
imagePullPolicy: {{ .Values.images.pull_policy }} imagePullPolicy: {{ .Values.images.pull_policy }}
{{- if .Values.resources.enabled }} {{- if .Values.resources.enabled }}
resources: resources:
limits: limits:
cpu: {{ .Values.resources.registry.limits.cpu | quote }} cpu: {{ .Values.resources.registry.limits.cpu | quote }}
@ -55,10 +51,10 @@ spec:
- --config-file - --config-file
- /etc/glance/glance-registry.conf - /etc/glance/glance-registry.conf
ports: ports:
- containerPort: {{ .Values.network.registry.port }} - containerPort: {{ .Values.conf.glance_registry.default.glance.registry.bind_port }}
readinessProbe: readinessProbe:
tcpSocket: tcpSocket:
port: {{ .Values.network.registry.port }} port: {{ .Values.conf.glance_registry.default.glance.registry.bind_port }}
volumeMounts: volumeMounts:
- name: etcglance - name: etcglance
mountPath: /etc/glance mountPath: /etc/glance

View File

@ -1,17 +1,3 @@
# 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.
# Use this pipeline for no auth or image caching - DEFAULT # Use this pipeline for no auth or image caching - DEFAULT
[pipeline:glance-api] [pipeline:glance-api]
pipeline = cors healthcheck http_proxy_to_wsgi versionnegotiation osprofiler unauthenticated-context rootapp pipeline = cors healthcheck http_proxy_to_wsgi versionnegotiation osprofiler unauthenticated-context rootapp

File diff suppressed because it is too large Load Diff

View File

@ -1,17 +1,3 @@
# 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.
# Use this pipeline for no auth - DEFAULT # Use this pipeline for no auth - DEFAULT
[pipeline:glance-registry] [pipeline:glance-registry]
pipeline = healthcheck osprofiler unauthenticated-context registryapp pipeline = healthcheck osprofiler unauthenticated-context registryapp

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,27 @@
# 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.
{{- if eq .Values.storage "file" }}
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: glance-images
annotations:
volume.beta.kubernetes.io/storage-class: general
spec:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 20Gi
{{- end }}

View File

@ -21,14 +21,14 @@ data:
OS_AUTH_URL: | OS_AUTH_URL: |
{{ tuple "identity" "internal" "api" . | include "helm-toolkit.keystone_endpoint_uri_lookup" | b64enc | indent 4 }} {{ tuple "identity" "internal" "api" . | include "helm-toolkit.keystone_endpoint_uri_lookup" | b64enc | indent 4 }}
OS_REGION_NAME: | OS_REGION_NAME: |
{{ .Values.keystone.glance_region_name | b64enc | indent 4 }} {{ .Values.conf.glance.keystone_authtoken.keystonemiddleware.auth_token.region_name | b64enc | indent 4 }}
OS_PROJECT_DOMAIN_NAME: | OS_PROJECT_DOMAIN_NAME: |
{{ .Values.keystone.glance_project_domain | b64enc | indent 4 }} {{ .Values.conf.glance.keystone_authtoken.keystonemiddleware.auth_token.project_domain_name | b64enc | indent 4 }}
OS_PROJECT_NAME: | OS_PROJECT_NAME: |
{{ .Values.keystone.glance_project_name | b64enc | indent 4 }} {{ .Values.conf.glance.keystone_authtoken.keystonemiddleware.auth_token.project_name | b64enc | indent 4 }}
OS_USER_DOMAIN_NAME: | OS_USER_DOMAIN_NAME: |
{{ .Values.keystone.glance_user_domain | b64enc | indent 4 }} {{ .Values.conf.glance.keystone_authtoken.keystonemiddleware.auth_token.user_domain_name | b64enc | indent 4 }}
OS_USERNAME: | OS_USERNAME: |
{{ .Values.keystone.glance_user | b64enc | indent 4 }} {{ .Values.conf.glance.keystone_authtoken.keystonemiddleware.auth_token.username | b64enc | indent 4 }}
OS_PASSWORD: | OS_PASSWORD: |
{{ .Values.keystone.glance_password | b64enc | indent 4 }} {{ .Values.conf.glance.keystone_authtoken.keystonemiddleware.auth_token.password | b64enc | indent 4 }}

View File

@ -18,7 +18,7 @@ metadata:
name: glance-api name: glance-api
spec: spec:
ports: ports:
- port: {{ .Values.network.api.port }} - port: {{ .Values.conf.glance.default.glance.api.bind_port }}
{{ if .Values.network.api.node_port.enabled }} {{ if .Values.network.api.node_port.enabled }}
nodePort: .Values.network.api.node_port.port nodePort: .Values.network.api.node_port.port
{{ end }} {{ end }}

View File

@ -18,7 +18,7 @@ metadata:
name: glance-registry name: glance-registry
spec: spec:
ports: ports:
- port: {{ .Values.network.registry.port }} - port: {{ .Values.conf.glance_registry.default.glance.registry.bind_port }}
{{ if .Values.network.registry.node_port.enabled }} {{ if .Values.network.registry.node_port.enabled }}
nodePort: {{ .Values.network.register.node_port.port }} nodePort: {{ .Values.network.register.node_port.port }}
{{ end }} {{ end }}

View File

@ -21,9 +21,7 @@ replicas:
api: 1 api: 1
registry: 1 registry: 1
development: storage: ceph
enabled: false
storage_path: /var/lib/localkube/openstack-helm/glance/images
labels: labels:
node_selector_key: openstack-control-plane node_selector_key: openstack-control-plane
@ -69,25 +67,79 @@ keystone:
admin_project_name: "admin" admin_project_name: "admin"
admin_project_domain: "default" admin_project_domain: "default"
admin_region_name: "RegionOne" admin_region_name: "RegionOne"
glance_user: "glance"
glance_user_domain: "default"
glance_user_role: "admin" glance_user_role: "admin"
glance_password: "password"
glance_project_name: "service"
glance_project_domain: "default" conf:
glance_region_name: "RegionOne" ceph:
override:
append:
ceph_client:
override:
append:
paste:
override:
append:
policy:
override:
append:
glance:
override:
append:
default:
glance:
api:
bind_port: 9292
keystone_authtoken:
keystonemiddleware:
auth_token:
auth_type: password
auth_version: v3
region_name: RegionOne
project_domain_name: default
project_name: service
user_domain_name: default
username: glance
password: password
glance_store:
glance:
store:
stores: file, http, rbd
default_store: rbd
rbd_store_chunk_size: 8
rbd_store_pool: images
rbd_store_user: admin
rbd_store_ceph_conf: /etc/ceph/ceph.conf
paste_registry:
override:
append:
glance_registry:
override:
append:
default:
glance:
registry:
bind_port: 9191
keystone_authtoken:
keystonemiddleware:
auth_token:
auth_type: password
auth_version: v3
region_name: RegionOne
project_domain_name: default
project_name: service
user_domain_name: default
username: glance
password: password
network: network:
api: api:
name: "glance-api" name: "glance-api"
port: 9292
node_port: node_port:
enabled: false enabled: false
port: 30092 port: 30092
registry: registry:
name: "glance-registry" name: "glance-registry"
port: 9191
node_port: node_port:
enabled: false enabled: false
port: 30091 port: 30091
@ -95,8 +147,6 @@ network:
ceph: ceph:
enabled: true enabled: true
monitors: [] monitors: []
glance_user: "admin"
glance_pool: "images"
# a null value for the keyring will # a null value for the keyring will
# attempt to use the key from # attempt to use the key from
# common/secrets/ceph-client-key # common/secrets/ceph-client-key
@ -221,7 +271,14 @@ endpoints:
scheme: 'http' scheme: 'http'
port: port:
api: 9292 api: 9292
registry: 9191 image_registry:
name: glance-registry
hosts:
default: glance-registry
path: null
scheme: 'http'
port:
api: 9191
oslo_db: oslo_db:
auth: auth:
admin: admin:
@ -236,3 +293,22 @@ endpoints:
scheme: mysql+pymysql scheme: mysql+pymysql
port: port:
mysql: 3306 mysql: 3306
oslo_cache:
hosts:
default: memcache
port:
memcache: 11211
oslo_messaging:
auth:
admin:
username: admin
password: password
user:
username: rabbitmq
password: password
hosts:
default: rabbitmq
path: /
scheme: rabbit
port:
amqp: 5672