yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #37454
[Bug 1490429] [NEW] glance image-show just returns 'id'
Public bug reported:
glance -d image-show 31e0d3a0-c29d-49bc-bc71-ee8a3f11c693
curl -g -i -X HEAD -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: python-glanceclient' -H 'Connection: keep-alive' -H 'X-Auth-Token: {SHA1}936d7b4cf9f2f0a3793e0ebb446a58ecd3d577aa' -H 'Content-Type: application/octet-stream' http://192.168.1.51:9292/v1/images/31e0d3a0-c29d-49bc-bc71-ee8a3f11c693
HTTP/1.1 200 OK
Content-Length: 0
X-Image-Meta-Id: 31e0d3a0-c29d-49bc-bc71-ee8a3f11c693
X-Image-Meta-Deleted: False
X-Image-Meta-Checksum: ee1eca47dc88f4879d8a229cc70a07c6
X-Image-Meta-Status: active
X-Image-Meta-Container_format: bare
X-Image-Meta-Protected: False
X-Image-Meta-Min_disk: 0
X-Image-Meta-Min_ram: 0
X-Image-Meta-Created_at: 2015-08-31T07:57:41.000000
X-Image-Meta-Size: 13287936
Connection: keep-alive
Etag: ee1eca47dc88f4879d8a229cc70a07c6
X-Image-Meta-Is_public: True
Date: Mon, 31 Aug 2015 07:59:49 GMT
X-Image-Meta-Owner: 7cadb48541814309be95e0a977517b49
X-Image-Meta-Updated_at: 2015-08-31T07:57:41.000000
Content-Type: text/html; charset=UTF-8
X-Openstack-Request-Id: req-e6434a2b-a014-4ae2-bcc3-07377afbc5a5
X-Image-Meta-Disk_format: qcow2
X-Image-Meta-Name: cirros-0.3.4
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/glanceclient/shell.py", line 667, in main
args.func(client, args)
File "/usr/lib/python2.7/site-packages/glanceclient/v1/shell.py", line 142, in do_image_show
image_id = utils.find_resource(gc.images, args.image).id
File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 491, in __getattr__
self.get()
File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 509, in get
new = self.manager.get(self.id)
File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 494, in __getattr__
raise AttributeError(k)
AttributeError: id
id
I don't see any error in g-reg.log or g-api.log
** Affects: python-glanceclient
Importance: Undecided
Status: New
** Project changed: glance => python-glanceclient
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1490429
Title:
glance image-show just returns 'id'
Status in python-glanceclient:
New
Bug description:
glance -d image-show 31e0d3a0-c29d-49bc-bc71-ee8a3f11c693
curl -g -i -X HEAD -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: python-glanceclient' -H 'Connection: keep-alive' -H 'X-Auth-Token: {SHA1}936d7b4cf9f2f0a3793e0ebb446a58ecd3d577aa' -H 'Content-Type: application/octet-stream' http://192.168.1.51:9292/v1/images/31e0d3a0-c29d-49bc-bc71-ee8a3f11c693
HTTP/1.1 200 OK
Content-Length: 0
X-Image-Meta-Id: 31e0d3a0-c29d-49bc-bc71-ee8a3f11c693
X-Image-Meta-Deleted: False
X-Image-Meta-Checksum: ee1eca47dc88f4879d8a229cc70a07c6
X-Image-Meta-Status: active
X-Image-Meta-Container_format: bare
X-Image-Meta-Protected: False
X-Image-Meta-Min_disk: 0
X-Image-Meta-Min_ram: 0
X-Image-Meta-Created_at: 2015-08-31T07:57:41.000000
X-Image-Meta-Size: 13287936
Connection: keep-alive
Etag: ee1eca47dc88f4879d8a229cc70a07c6
X-Image-Meta-Is_public: True
Date: Mon, 31 Aug 2015 07:59:49 GMT
X-Image-Meta-Owner: 7cadb48541814309be95e0a977517b49
X-Image-Meta-Updated_at: 2015-08-31T07:57:41.000000
Content-Type: text/html; charset=UTF-8
X-Openstack-Request-Id: req-e6434a2b-a014-4ae2-bcc3-07377afbc5a5
X-Image-Meta-Disk_format: qcow2
X-Image-Meta-Name: cirros-0.3.4
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/glanceclient/shell.py", line 667, in main
args.func(client, args)
File "/usr/lib/python2.7/site-packages/glanceclient/v1/shell.py", line 142, in do_image_show
image_id = utils.find_resource(gc.images, args.image).id
File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 491, in __getattr__
self.get()
File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 509, in get
new = self.manager.get(self.id)
File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 494, in __getattr__
raise AttributeError(k)
AttributeError: id
id
I don't see any error in g-reg.log or g-api.log
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-glanceclient/+bug/1490429/+subscriptions