Comment 1 for bug 1367326

Revision history for this message
Stuart McLaren (stuart-mclaren) wrote : Re: metadef exception when client run against older server's v2 api

To reproduce:

 $ ./.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 |