After Deprec

openstack_cloud_computing_cookbook

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

Contents of this Issue

Navigation

Page 83 of 317

Chapter 3 73 3. With the api-paste.ini file configured correctly, we edit /etc/nova/nova.conf to inform it to use the paste file and set keystone as the authentication mechanism by adding in the following lines: --api-paste_config=/etc/nova/api-paste.ini --keystone_ec2_url=http://172.16.0.1:5000/v2.0/ec2tokens --auth_strategy=keystone 4. It is important to remove the following line from /etc/nova/nova.conf: --use_deprecated_auth 5. With our OpenStack Identity Service running, we can restart our OpenStack Compute services to pick up this authentication change, as follows: sudo restart nova-api How it works... Configuration of OpenStack Compute to use OpenStack Identity Service first involves editing the /etc/nova/api-paste.ini file and filling in the [filter:authtoken] part of the file with details of the nova service user we created in the previous section. We then configure the /etc/nova/nova.conf file, which is directed at this paste file, as well as specifying that the auth_strategy option is set to keystone. Using OpenStack Compute with OpenStack Identity Service OpenStack Identity Service underpins all of the OpenStack services. With OpenStack Image Service configured to also use OpenStack Identity Service, the OpenStack Compute environment can now be used. Getting ready To begin with, log in to an Ubuntu client and ensure that euca2ools and Nova Client are available. If they aren't, they can be installed as follows: sudo apt-get update sudo apt-get -y euca2ools python-novaclient 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