Update keystone middleware in glance for Kilo
Update keystone authentication middleware in glance to support the v3 API in Kilo. Partially implements: blueprint master-kilofication Change-Id: If2427f7e9dc124dc98cf140941623688bde623ed
This commit is contained in:
parent
dd7b47eaca
commit
47df1633e5
@ -109,7 +109,9 @@ neutron_service_metering_program_enabled: true
|
|||||||
glance_service_port: 9292
|
glance_service_port: 9292
|
||||||
glance_service_proto: http
|
glance_service_proto: http
|
||||||
glance_service_user_name: glance
|
glance_service_user_name: glance
|
||||||
glance_service_tenant_name: service
|
glance_service_project_name: service
|
||||||
|
glance_service_project_domain_id: default
|
||||||
|
glance_service_user_domain_id: default
|
||||||
glance_service_adminurl: "{{ glance_service_proto }}://{{ internal_lb_vip_address }}:{{ glance_service_port }}"
|
glance_service_adminurl: "{{ glance_service_proto }}://{{ internal_lb_vip_address }}:{{ glance_service_port }}"
|
||||||
glance_service_region: RegionOne
|
glance_service_region: RegionOne
|
||||||
glance_api_servers: "{% for host in groups['glance_all'] %}{{ hostvars[host]['container_address'] }}:{{ glance_service_port }}{% if not loop.last %},{% endif %}{% endfor %}"
|
glance_api_servers: "{% for host in groups['glance_all'] %}{{ hostvars[host]['container_address'] }}:{{ glance_service_port }}{% if not loop.last %},{% endif %}{% endfor %}"
|
||||||
|
@ -75,7 +75,9 @@ glance_service_proto: http
|
|||||||
glance_service_type: image
|
glance_service_type: image
|
||||||
glance_service_description: "Glance Image Service"
|
glance_service_description: "Glance Image Service"
|
||||||
glance_service_user_name: glance
|
glance_service_user_name: glance
|
||||||
glance_service_tenant_name: service
|
glance_service_project_name: service
|
||||||
|
glance_service_project_domain_id: default
|
||||||
|
glance_service_user_domain_id: default
|
||||||
glance_service_publicuri: "{{ glance_service_proto }}://{{ external_lb_vip_address }}:{{ glance_service_port }}"
|
glance_service_publicuri: "{{ glance_service_proto }}://{{ external_lb_vip_address }}:{{ glance_service_port }}"
|
||||||
glance_service_publicurl: "{{ glance_service_publicuri }}"
|
glance_service_publicurl: "{{ glance_service_publicuri }}"
|
||||||
glance_service_internaluri: "{{ glance_service_proto }}://{{ internal_lb_vip_address }}:{{ glance_service_port }}"
|
glance_service_internaluri: "{{ glance_service_proto }}://{{ internal_lb_vip_address }}:{{ glance_service_port }}"
|
||||||
@ -83,6 +85,9 @@ glance_service_internalurl: "{{ glance_service_internaluri }}"
|
|||||||
glance_service_adminuri: "{{ glance_service_proto }}://{{ internal_lb_vip_address }}:{{ glance_service_port }}"
|
glance_service_adminuri: "{{ glance_service_proto }}://{{ internal_lb_vip_address }}:{{ glance_service_port }}"
|
||||||
glance_service_adminurl: "{{ glance_service_adminuri }}"
|
glance_service_adminurl: "{{ glance_service_adminuri }}"
|
||||||
|
|
||||||
|
## Keystone authentication middleware
|
||||||
|
glance_keystone_auth_plugin: password
|
||||||
|
|
||||||
## Glance config
|
## Glance config
|
||||||
glance_image_cache_max_size: 10737418240
|
glance_image_cache_max_size: 10737418240
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
token: "{{ keystone_auth_admin_token }}"
|
token: "{{ keystone_auth_admin_token }}"
|
||||||
endpoint: "{{ keystone_service_adminurl }}"
|
endpoint: "{{ keystone_service_adminurl }}"
|
||||||
user_name: "{{ glance_service_user_name }}"
|
user_name: "{{ glance_service_user_name }}"
|
||||||
tenant_name: "{{ glance_service_tenant_name }}"
|
tenant_name: "{{ glance_service_project_name }}"
|
||||||
password: "{{ glance_service_password }}"
|
password: "{{ glance_service_password }}"
|
||||||
register: add_service
|
register: add_service
|
||||||
until: add_service|success
|
until: add_service|success
|
||||||
@ -56,7 +56,7 @@
|
|||||||
token: "{{ keystone_auth_admin_token }}"
|
token: "{{ keystone_auth_admin_token }}"
|
||||||
endpoint: "{{ keystone_service_adminurl }}"
|
endpoint: "{{ keystone_service_adminurl }}"
|
||||||
user_name: "{{ glance_service_user_name }}"
|
user_name: "{{ glance_service_user_name }}"
|
||||||
tenant_name: "{{ glance_service_tenant_name }}"
|
tenant_name: "{{ glance_service_project_name }}"
|
||||||
role_name: "{{ glance_role_name }}"
|
role_name: "{{ glance_role_name }}"
|
||||||
register: add_service
|
register: add_service
|
||||||
until: add_service|success
|
until: add_service|success
|
||||||
|
@ -52,12 +52,15 @@ task_executor = {{ glance_task_executor }}
|
|||||||
connection = mysql://{{ glance_galera_user }}:{{ glance_container_mysql_password }}@{{ galera_address }}/{{ glance_galera_database }}?charset=utf8
|
connection = mysql://{{ glance_galera_user }}:{{ glance_container_mysql_password }}@{{ galera_address }}/{{ glance_galera_database }}?charset=utf8
|
||||||
|
|
||||||
[keystone_authtoken]
|
[keystone_authtoken]
|
||||||
|
auth_plugin = {{ glance_keystone_auth_plugin }}
|
||||||
signing_dir = {{ glance_system_user_home }}/cache/api
|
signing_dir = {{ glance_system_user_home }}/cache/api
|
||||||
identity_uri = {{ keystone_service_adminuri }}
|
auth_url = {{ keystone_service_adminuri }}
|
||||||
auth_uri = {{ keystone_service_internalurl }}
|
auth_uri = {{ keystone_service_internaluri }}
|
||||||
admin_tenant_name = {{ glance_service_tenant_name }}
|
project_domain_id = {{ glance_service_project_domain_id }}
|
||||||
admin_user = {{ glance_service_user_name }}
|
user_domain_id = {{ glance_service_user_domain_id }}
|
||||||
admin_password = {{ glance_service_password }}
|
project_name = {{ glance_service_project_name }}
|
||||||
|
username = {{ glance_service_user_name }}
|
||||||
|
password = {{ glance_service_password }}
|
||||||
|
|
||||||
memcached_servers = {{ memcached_servers }}
|
memcached_servers = {{ memcached_servers }}
|
||||||
|
|
||||||
|
@ -21,12 +21,15 @@ limit_param_default = 25
|
|||||||
connection = mysql://{{ glance_galera_user }}:{{ glance_container_mysql_password }}@{{ galera_address }}/{{ glance_galera_database }}?charset=utf8
|
connection = mysql://{{ glance_galera_user }}:{{ glance_container_mysql_password }}@{{ galera_address }}/{{ glance_galera_database }}?charset=utf8
|
||||||
|
|
||||||
[keystone_authtoken]
|
[keystone_authtoken]
|
||||||
|
auth_plugin = {{ glance_keystone_auth_plugin }}
|
||||||
signing_dir = {{ glance_system_user_home }}/cache/registry/
|
signing_dir = {{ glance_system_user_home }}/cache/registry/
|
||||||
identity_uri = {{ keystone_service_adminuri }}
|
auth_url = {{ keystone_service_adminuri }}
|
||||||
auth_uri = {{ keystone_service_internalurl }}
|
auth_uri = {{ keystone_service_internaluri }}
|
||||||
admin_tenant_name = {{ glance_service_tenant_name }}
|
project_domain_id = {{ glance_service_project_domain_id }}
|
||||||
admin_user = {{ glance_service_user_name }}
|
user_domain_id = {{ glance_service_user_domain_id }}
|
||||||
admin_password = {{ glance_service_password }}
|
project_name = {{ glance_service_project_name }}
|
||||||
|
username = {{ glance_service_user_name }}
|
||||||
|
password = {{ glance_service_password }}
|
||||||
|
|
||||||
memcached_servers = {{ memcached_servers }}
|
memcached_servers = {{ memcached_servers }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user