Show Menu
Cheatography

OpenStack Cheat Sheet (DRAFT) by

OpenStack command-line interface

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Identity (Keystone)

List all users
openstack user list
List Identity service catalog
openstack catalog list
 

Images (Glance)

List images you can access
openstack image list
Delete specified image
openstack image delete IMAGE
Describe a specific image
openstack image show IMAGE
Update image
openstack image set IMAGE
Upload kernel image
openstack image create "­cir­ros­-th­ree­par­t-k­ern­el" \ --disk­-format aki --cont­ain­er-­format aki --public \ --file ~/imag­es/­cir­ros­-0.3.5­-x8­6_6­4-k­ernel
Upload RAM image
openstack image create "­cir­ros­-th­ree­par­t-r­amd­isk­" \ --disk­-format ari --cont­ain­er-­format ari --public \ --file ~/imag­es/­cir­ros­-0.3.5­-x8­6_6­4-i­nit­ramfs
Upload three-part image
openstack image create "­cir­ros­-th­ree­par­t" --disk­-format ami \ --cont­ain­er-­format ami --public \ --property kernel­_id­=$K­ID-­pro­perty ramdis­k_i­d=$RID \ --file ~/imag­es/­cir­ros­-0.3.5­-x8­6_6­4-r­oot­fs.img
Register raw image
openstack image create "­cir­ros­-ra­w" --disk­-format raw \ --cont­ain­er-­format bare --public \ --file ~/imag­es/­cir­ros­-0.3.5­-x8­6_6­4-d­isk.img