- Learning OpenStack Networking
- James Denton
- 105字
- 2025-02-24 14:51:46
Configuring authentication settings
Both the glance-api and glance-registry service configuration files must be updated with the appropriate authentication settings before the services will operate.
Update the [keystone_authtoken] settings in the glance-api configuration file found at /etc/glance/glance-api.conf:
[keystone_authtoken]
...
auth_uri = http://controller01:5000
auth_url = http://controller01:35357
memcached_servers = controller01:11211
auth_type = password
user_domain_name = default
project_domain_name = default
project_name = service
username = glance
password = glance
Repeat the process for the glance-registry configuration file found at /etc/glance/glance-registry.conf:
[keystone_authtoken]
...
auth_uri = http://controller01:5000
auth_url = http://controller01:35357
memcached_servers = controller01:11211
auth_type = password
user_domain_name = default
project_domain_name = default
project_name = service
username = glance
password = glance