Another Glance-fix.
Without those changes i wasn't able to run glance-post. Necessary changes in order to make glance-post work. Signed-off-by: DTadrzak <daniel.tadrzak@intel.com>
This commit is contained in:
parent
5bd8ddb407
commit
c22e7ba78d
@ -7,34 +7,34 @@ data:
|
||||
#!/bin/bash
|
||||
set -ex
|
||||
|
||||
ansible localhost -vvv -m kolla_keystone_service -a 'service_name=glance \
|
||||
ansible localhost -vvv -m kolla_keystone_service -a "service_name=glance \
|
||||
service_type=image \
|
||||
description="Openstack Image" \
|
||||
endpoint_region="{{ .Values.keystone.glance_region_name }}" \
|
||||
url="http://glance-api:{{ .Values.network.port.api }}" \
|
||||
description='Openstack Image' \
|
||||
endpoint_region='{{ .Values.keystone.glance_region_name }}' \
|
||||
url='http://glance-api:{{ .Values.network.port.api }}' \
|
||||
interface=admin \
|
||||
region_name="{{ .Values.keystone.admin_region_name }}" \
|
||||
auth="{# openstack_glance_auth #}"' \
|
||||
-e "{ 'openstack_glance_auth': {{ include "keystone_auth" . }} }"
|
||||
region_name='{{ .Values.keystone.admin_region_name }}' \
|
||||
auth='{{ include "keystone_auth" . }}'" \
|
||||
-e "{'openstack_glance_auth': {{ include "keystone_auth" . }}}"
|
||||
|
||||
ansible localhost -vvv -m kolla_keystone_service -a 'service_name=glance \
|
||||
ansible localhost -vvv -m kolla_keystone_service -a "service_name=glance \
|
||||
service_type=image \
|
||||
description="Openstack Image" \
|
||||
endpoint_region="{{ .Values.keystone.glance_region_name }}" \
|
||||
url="http://glance-api:{{ .Values.network.port.api }}" \
|
||||
description='Openstack Image' \
|
||||
endpoint_region='{{ .Values.keystone.glance_region_name }}' \
|
||||
url='http://glance-api:{{ .Values.network.port.api }}' \
|
||||
interface=internal \
|
||||
region_name="{{ .Values.keystone.admin_region_name }}" \
|
||||
auth="{# openstack_glance_auth #}"' \
|
||||
region_name='{{ .Values.keystone.admin_region_name }}' \
|
||||
auth='{{ include "keystone_auth" . }}'" \
|
||||
-e "{ 'openstack_glance_auth': {{ include "keystone_auth" . }} }"
|
||||
|
||||
ansible localhost -vvv -m kolla_keystone_service -a 'service_name=glance \
|
||||
ansible localhost -vvv -m kolla_keystone_service -a "service_name=glance \
|
||||
service_type=image \
|
||||
description="Openstack Image" \
|
||||
endpoint_region="{{ .Values.keystone.glance_region_name }}" \
|
||||
url="http://glance-api:{{ .Values.network.port.api }}" \
|
||||
description='Openstack Image' \
|
||||
endpoint_region='{{ .Values.keystone.glance_region_name }}' \
|
||||
url='http://glance-api:{{ .Values.network.port.api }}' \
|
||||
interface=public \
|
||||
region_name="{{ .Values.keystone.admin_region_name }}" \
|
||||
auth="{# openstack_glance_auth #}"' \
|
||||
region_name='{{ .Values.keystone.admin_region_name }}' \
|
||||
auth='{{ include "keystone_auth" . }}'" \
|
||||
-e "{ 'openstack_glance_auth': {{ include "keystone_auth" . }} }"
|
||||
|
||||
ansible localhost -vvv -m kolla_keystone_user -a "project=service \
|
||||
@ -42,5 +42,5 @@ data:
|
||||
password={{ .Values.keystone.glance_password }} \
|
||||
role=admin \
|
||||
region_name={{ .Values.keystone.admin_region_name }} \
|
||||
auth="{# openstack_glance_auth #}"' \
|
||||
auth='{{ include "keystone_auth" . }}'" \
|
||||
-e "{ 'openstack_glance_auth': {{ include "keystone_auth" . }} }"
|
||||
|
@ -44,6 +44,9 @@ spec:
|
||||
- name: postsh
|
||||
mountPath: /tmp/post.sh
|
||||
subPath: post.sh
|
||||
env:
|
||||
- name: ANSIBLE_LIBRARY
|
||||
value: /usr/share/ansible/
|
||||
volumes:
|
||||
- name: postsh
|
||||
configMap:
|
||||
|
Loading…
Reference in New Issue
Block a user