After Deprec

openstack_cloud_computing_cookbook

Issue link: https://read.uberflip.com/i/1334488

Contents of this Issue

Navigation

Page 81 of 317

Chapter 3 71 3. We repeat this process for the /etc/glance/glance-registry-paste.ini file, configuring the glance service user in the [filter:authtoken] section: [filter:authtoken] paste.filter_factory = keystone.middleware.auth_token:filter_ factory service_protocol = http service_host = 172.16.0.1 service_port = 5000 auth_host = 172.16.0.1 auth_port = 35357 auth_protocol = http auth_uri = http://172.16.0.1:5000/ admin_tenant_name = service admin_user = glance admin_password = glance 4. Then, we add the following to the corresponding /etc/glance/glance-registry. conf file, to use this information and enable it to use OpenStack Identity Service: [paste_deploy] flavor = keystone 5. Finally, we restart the two OpenStack Identity Service processes to pick up the changes: sudo restart glance-api sudo restart glance-registry How it works... OpenStack Image Service runs two processes. These are the glance-api, which is the service that our clients and services talk to, and the glance-registry process that manages the objects on the disk and in the database registry. Both of these services need to have matching credentials that were defined previously in OpenStack Identity Service in their configuration files, in order for these services to allow a user to authenticate with the service successfully. Refer to the Managing images with OpenStack Image Service recipe in Chapter 7, Glance OpenStack Image Service, to upload a new image in our OpenStack Identity Service managed environment, as our test images uploaded under deprecated_auth will not be accessible. www.it-ebooks.info

Articles in this issue

Links on this page

Archives of this issue

view archives of After Deprec - openstack_cloud_computing_cookbook