After Deprec

openstack_cloud_computing_cookbook

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

Contents of this Issue

Navigation

Page 80 of 317

Keystone OpenStack Identity Service 70 Configuring OpenStack Image Service to use OpenStack Identity Service Configuring OpenStack Image Service to use OpenStack Identity Service is required to allow our OpenStack Compute to operate correctly. OpenStack Image Service is covered in more detail in Chapter 7, Glance OpenStack Image Service. Getting ready To begin with, ensure you're logged in to our OpenStack Compute host or the host that is running OpenStack Image Service. If the OpenStack Image Service host isn't running on the same server as OpenStack Identity Service, you will need to install the python-keystone package, as follows: sudo apt-get update sudo apt-get -y python-keystone How to do it... To configure OpenStack Image Service to use OpenStack Identity Service, carry out the following steps: 1. We first edit the /etc/glance/glance-api-paste.ini file and configure the [filter:authtoken] section found at the bottom of this file, to match our glance service user configured previously: [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 2. With the file saved, we add in the following at the bottom of the /etc/glance/ glance-api.conf file, to tell OpenStack Image Service to utilize OpenStack Identity Service and the information in the glance-api-paste.ini file: [paste_deploy] flavor = keystone 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