O'Reilly logo

OpenStack Cloud Computing Cookbook by Kevin Jackson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring OpenStack Compute with OpenStack Image Service

Once we have OpenStack Image Service configured and running, in order for our OpenStack Compute environment to connect to this service for our images, we modify the --image_service and --glance_api_servers flags in our /etc/nova/nova.conf file.

Getting ready

To begin with, ensure you are logged in to the server where OpenStack Image Service is installed.

How to do it...

Carry out the following steps to configure OpenStack Compute to use OpenStack Image Service:

  1. To get our OpenStack Compute service to communicate with OpenStack Image Service instead of the default image service, we edit /etc/nova/nova.conf to include the following lines:
    --image_service=nova.image.glance.GlanceImageService--glance_api_servers=172.16.0.1:9292 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required