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,
22 --os-project-id, and --os-auth-url or set corresponding environment
23 variables:
24
25 export OS_USERNAME=user
26 export OS_PASSWORD=pass
27 export OS_PROJECT_ID=b363706f891f48019483f8bd6503c54b
28 export OS_AUTH_URL=http://auth.example.com:5000/v2.0
29
30 The command line tool will attempt to reauthenticate using provided
31 credentials for every request. You can override this behavior by manu‐
32 ally supplying an auth token using --os-image-url and --os-auth-token
33 or by setting corresponding environment variables:
34
35 export OS_IMAGE_URL=http://glance.example.org:9292/
36 export OS_AUTH_TOKEN=3bcc3d3a03f44e3d8377f9247b0ad155
37
38 You can select an API version to use by --os-image-api-version option
39 or by setting corresponding environment variable:
40
41 export OS_IMAGE_API_VERSION=1
42
43 Default Images API used is v2.
44
46 To get a list of available commands and options run:
47
48 glance help
49
50 To get usage and options of a command:
51
52 glance help <command>
53
55 Get information about image-create command:
56
57 glance help image-create
58
59 See available images:
60
61 glance image-list
62
63 Create new image:
64
65 glance image-create --name foo --disk-format=qcow2 \
66 --container-format=bare --visibility=public \
67 --file /tmp/foo.img
68
69 Describe a specific image:
70
71 glance image-show <Image-ID>
72
74 Glance client is hosted in Launchpad so you can view current bugs at
75 https://bugs.launchpad.net/python-glanceclient/.
76
78 OpenStack Foundation
79
81 OpenStack Foundation
82
83
84
85
86 Jul 26, 2019 GLANCE(1)