1GLANCE(1) python-glanceclient GLANCE(1)
2
3
4
6 glance - Client for OpenStack Images API
7
9 glance [options] <command> [command-options]
10
11 glance help
12
13 glance help <command>
14
16 The glance command line utility interacts with OpenStack Images Service
17 (Glance).
18
19 In order to use the CLI, you must provide your OpenStack username,
20 password, project (historically called tenant), and auth endpoint. You
21 can use configuration options --os-username, --os-password, --os-ten‐
22 ant-id, and --os-auth-url or set corresponding environment variables:
23
24 export OS_USERNAME=user
25 export OS_PASSWORD=pass
26 export OS_TENANT_ID=b363706f891f48019483f8bd6503c54b
27 export OS_AUTH_URL=http://auth.example.com:5000/v2.0
28
29 The command line tool will attempt to reauthenticate using provided
30 credentials for every request. You can override this behavior by manu‐
31 ally supplying an auth token using --os-image-url and --os-auth-token
32 or by setting corresponding environment variables:
33
34 export OS_IMAGE_URL=http://glance.example.org:9292/
35 export OS_AUTH_TOKEN=3bcc3d3a03f44e3d8377f9247b0ad155
36
37 You can select an API version to use by --os-image-api-version option
38 or by setting corresponding environment variable:
39
40 export OS_IMAGE_API_VERSION=1
41
42 Default Images API used is v2.
43
45 To get a list of available commands and options run:
46
47 glance help
48
49 To get usage and options of a command:
50
51 glance help <command>
52
54 Get information about image-create command:
55
56 glance help image-create
57
58 See available images:
59
60 glance image-list
61
62 Create new image:
63
64 glance image-create --name foo --disk-format=qcow2 \
65 --container-format=bare --visibility=public \
66 --file /tmp/foo.img
67
68 Describe a specific image:
69
70 glance image-show <Image-ID>
71
73 Glance client is hosted in Launchpad so you can view current bugs at
74 https://bugs.launchpad.net/python-glanceclient/.
75
77 OpenStack Foundation
78
80 OpenStack Foundation
81
82
83
84
852.10.0 Jan 31, 2019 GLANCE(1)