After Deprec

openstack_cloud_computing_cookbook

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

Contents of this Issue

Navigation

Page 157 of 317

Chapter 7 147 8. Once restarted, when we upload images, they will now be stored in OpenStack Storage. Warning: If you have previously uploaded images to OpenStack Image Service prior to changing over to OpenStack Storage, you will need to re-upload your images so that they exist in OpenStack Storage. How it works... Setting up OpenStack Image Service to use OpenStack Storage as its backing store is straightforward. Once you have created an appropriate account that OpenStack Image Service can use to store images in OpenStack Storage, you configure the glance-api.conf file appropriately to point to your OpenStack Storage proxy server with these account details. The key configuration lines are: swift_store_auth_address = http://KEYSTONE_HOST:5000/v2.0/ swift_store_user = service:USER swift_store_key = PASSWORD swift_store_container = glance You also must ensure that the target swift_store_container exists within the OpenStack Storage datastore, before you can use OpenStack Image Service. See also f The Configuring OpenStack Storage with OpenStack Identity Service recipe in Chapter 4, Installing OpenStack Storage Managing images with OpenStack Image Service Uploading and managing images within OpenStack Storage is achieved using the glance command-line tool. This tool allows us to upload, remove, and change information about the stored images for use within our OpenStack environment. Getting ready To begin with, ensure you are logged in to our Ubuntu client, where we can run the glance tool. This can be installed using: sudo apt-get update sudo apt-get -y install glance-client 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