try this
This commit is contained in:
parent
e67081afe1
commit
fa1ad51ca9
1 changed files with 12 additions and 11 deletions
|
@ -245,17 +245,18 @@
|
||||||
# - openstack-nova-scheduler
|
# - openstack-nova-scheduler
|
||||||
|
|
||||||
# flip endpoints internalurl to internal IP
|
# flip endpoints internalurl to internal IP
|
||||||
#- shell: source /root/keystonerc_admin && keystone endpoint-list | awk '{print $2}'
|
# ceilometer
|
||||||
# register: ENDPOINT_ID
|
- shell: source /root/keystonerc_admin && keystone service-list | grep ceilometer | awk '{print $2}'
|
||||||
#- shell: source /root/keystonerc_admin && keystone endpoint-list |grep 1cd097ab63754d8fab2e87754ebb132f |grep -v {{ controller_private_ip }} && (keystone endpoint-delete 1cd097ab63754d8fab2e87754ebb132f &&
|
register: SERVICE_ID
|
||||||
- keystone_service:
|
- shell: source /root/keystonerc_admin && keystone endpoint-list | grep {{SERVICE_ID.stdout}} | awk '{print $2}'
|
||||||
name=ceilometer
|
register: ENDPOINT_ID
|
||||||
type=metering
|
- shell: source /root/keystonerc_admin && keystone endpoint-list |grep {{SERVICE_ID.stdout}} |grep -v {{ controller_private_ip }} && (keystone endpoint-delete {{ENDPOINT_ID.stdout}} && keystone endpoint-create --region 'RegionOne' --service {{SERVICE_ID.stdout}} --publicurl 'http://{{controller_public_ip}}:8777' --adminurl 'http://{{controller_private_ip}}:8777' --internalurl 'http://{{controller_private_ip}}:8777' )
|
||||||
description="Openstack Metering Service"
|
# cinder
|
||||||
publicurl="http://{{ controller_public_ip }}:8777"
|
- shell: source /root/keystonerc_admin && keystone service-list | grep 'cinder ' | awk '{print $2}'
|
||||||
internalurl="http://{{ controller_private_ip }}:8777"
|
register: SERVICE_ID
|
||||||
adminurl="http://{{ controller_private_ip }}:8777"
|
- shell: source /root/keystonerc_admin && keystone endpoint-list | grep {{SERVICE_ID.stdout}} | awk '{print $2}'
|
||||||
region="RegionOne"
|
register: ENDPOINT_ID
|
||||||
|
- shell: source /root/keystonerc_admin && keystone endpoint-list |grep {{SERVICE_ID.stdout}} |grep -v {{ controller_private_ip }} && (keystone endpoint-delete {{ENDPOINT_ID.stdout}} && keystone endpoint-create --region 'RegionOne' --service {{SERVICE_ID.stdout}} --publicurl 'http://{{controller_public_ip}}/v1/%(tenant_id)s' --adminurl 'http://{{controller_private_ip}}/v1/%(tenant_id)s' --internalurl 'http://{{controller_private_ip}}/v1/%(tenant_id)s' )
|
||||||
|
|
||||||
# configure cider with multi back-end
|
# configure cider with multi back-end
|
||||||
# https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/5/html/Cloud_Administrator_Guide/section_manage-volumes.html
|
# https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/5/html/Cloud_Administrator_Guide/section_manage-volumes.html
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue