Configuring OpenStack Compute for Cinder-volume

We now need to tell our OpenStack compute service about our new Cinder-volume service.

Getting ready

As we are performing this setup in a multi-node environment, you will need to be logged into your controller, compute, and cinder nodes.

If you are using the Vagrant environment that accompanies this book, you can log in to these nodes as follows:

vagrant ssh controller
vagrant ssh cinder

This recipe assumes you have created an openrc file. To create an openrc file on each node where you need it, open a text file named openrc and add the following contents:

export OS_TENANT_NAME=cookbook export OS_USERNAME=admin export OS_PASSWORD=openstack export OS_AUTH_URL=https://192.168.100.200:5000/v2.0/ export ...

Get OpenStack Cloud Computing Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.