$ ./.tox/py27/bin/glance --verbose --os-image-api-version 2 image-list
No handlers could be found for logger "glanceclient.common.http"
Request returned failure status 404.
<html>
<head>
<title>404 Not Found</title>
</head>
<body>
<h1>404 Not Found</h1>
The resource could not be found.<br /><br />
</body>
</html> (HTTP 404)
versus:
$ ./.tox/py27/bin/glance --verbose --os-image-api-version 1 image-list
+--------------------------------------+---------------------------------+-------------+------------------+------------+--------+
| ID | Name | Disk Format | Container Format | Size | Status |
+--------------------------------------+---------------------------------+-------------+------------------+------------+--------+
| 3def22ed-e2eb-4575-b242-8704517e95d7 | cirros-0.3.2-x86_64-uec | ami | ami | 25165824 | active |
| ca34f1b7-a839-474f-a16b-34779c65905c | cirros-0.3.2-x86_64-uec-kernel | aki | aki | 4969360 | active |
To reproduce:
$ ./.tox/ py27/bin/ glance --verbose --os-image- api-version 2 image-list common. http"
No handlers could be found for logger "glanceclient.
Request returned failure status 404.
<html>
<head>
<title>404 Not Found</title>
</head>
<body>
<h1>404 Not Found</h1>
The resource could not be found.<br /><br />
</body>
</html> (HTTP 404)
versus:
$ ./.tox/ py27/bin/ glance --verbose --os-image- api-version 1 image-list ------- ------- ------- ------- -----+- ------- ------- ------- ------- ----+-- ------- ----+-- ------- ------- --+---- ------- -+----- ---+ ------- ------- ------- ------- -----+- ------- ------- ------- ------- ----+-- ------- ----+-- ------- ------- --+---- ------- -+----- ---+ e2eb-4575- b242-8704517e95 d7 | cirros- 0.3.2-x86_ 64-uec | ami | ami | 25165824 | active | a839-474f- a16b-34779c6590 5c | cirros- 0.3.2-x86_ 64-uec- kernel | aki | aki | 4969360 | active |
+-----
| ID | Name | Disk Format | Container Format | Size | Status |
+-----
| 3def22ed-
| ca34f1b7-