Skip to Content
Learning OpenStack Networking - Third Edition
book

Learning OpenStack Networking - Third Edition

by James Denton
August 2018
Beginner
462 pages
12h 36m
English
Packt Publishing
Content preview from Learning OpenStack Networking - Third Edition

Verifying the Glance image service installation

Source the adminrc script to set or update the environment variables:

# source ~/adminrc

To verify that Glance was installed and configured properly, download a test image from the internet and verify it can be uploaded to the image server:

    # mkdir /tmp/images    # wget -P /tmp/images http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img

Upload the image to Glance using the following command:

    # openstack image create "cirros-0.4.0"    --file /tmp/images/cirros-0.4.0-x86_64-disk.img    --disk-format qcow2    --container-format bare    --public

Verify the image exists in Glance using the openstack image list command shown here:

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

You might also like

OpenStack Certification, 2/e

OpenStack Certification, 2/e

Sander van Vugt
Mastering OpenStack - Second Edition

Mastering OpenStack - Second Edition

Omar Khedher, Chandan Dutta

Publisher Resources

ISBN: 9781788392495