image id is checked after uploading image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
version: mitaka
When uploading an image, the ID is checked after the image is uploaded.
This is not much of an issue for small images like cirros but for larger images like rhel, it takes up lot of network.
Ideally, the ID of the image should be checked before the upload takes place.
Log below:--
glance --debug image-upload --file ubuntu-
[======
Request returned failure status 404.
Traceback (most recent call last):
File "/usr/lib/
args.
File "/usr/lib/
gc.
File "/usr/lib/
self.
File "/usr/lib/
return self.request(url, 'PUT', **kwargs)
File "/usr/lib/
return self._handle_
File "/usr/lib/
raise exc.from_
HTTPNotFound: 404 Not Found: No image found with ID 4a525188-
404 Not Found: No image found with ID 4a525188-
Changed in python-glanceclient: | |
assignee: | Feilong Wang (flwang) → nobody |
status: | New → Triaged |
Changed in python-glanceclient: | |
assignee: | nobody → Deepak Mourya (mourya007) |
Changed in python-glanceclient: | |
assignee: | Deepak Mourya (mourya007) → nobody |
Changed in python-glanceclient: | |
assignee: | nobody → HanGuangyu (hanguangyu) |
Changed in python-glanceclient: | |
assignee: | HanGuangyu (hanguangyu) → nobody |
It's not a glance server problem. And I don't think it's a bug but an enhancement for the client.