Issue link: https://read.uberflip.com/i/1334488
Keystone OpenStack Identity Service 72 Configuring OpenStack Compute to use OpenStack Identity Service In our configuration of OpenStack Compute, we are using deprecated_auth, which stores user and project information within the nova database, managed by the nova-manage command directly on the OpenStack Compute host. This authentication method is limited in its use and will likely be dropped from future versions of OpenStack. With OpenStack Identity Service installed and configured, we now need to tell our OpenStack Compute service that it can be used instead of the deprecated_auth mechanism. Note that any existing users and projects created in deprecated_auth are not moved over to OpenStack Identity Service automatically and will need recreating again under this new service. Getting ready To begin with, ensure you're logged into our OpenStack Compute host. How to do it... Replacing the authentication mechanism in our OpenStack Compute sandbox environment is simply achieved with the following steps: 1. We first ensure that our OpenStack Compute host has the required python- keystone package installed, if this host is a standalone Compute host, as follows: sudo apt-get update sudo apt-get -y install python-keystone 2. Configuration of the OpenStack Compute service to use the OpenStack Identity Service is first done by filling in the [filter:authtoken] section with the details that we created for the nova service user in the previous section, as follows: [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 = nova admin_password = nova www.it-ebooks.info

