yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #38504
[Bug 1493026] Re: location-add return error when add new location to 'queued' image
** Description changed:
Reproduce:
1. create a new image:
glance image-create --disk-format qcow2 --container-format bare --name test
suppose the image'id is 11111
2.add location to the image:
glance location-add 11111 --url xxxx
-
- Result : the client raise an error:'The administrator has disabled API access to image locations'.
-
+ Result : the client raise an error:'The administrator has disabled API
+ access to image locations'.
But when use REST API to reproduce the step 2, it runs well and the image's status will be changed into 'active'.
+ According to the code: https://github.com/openstack/glance/blob/master/glance/api/v2/images.py#L735-L750
+ I think we should add check in glance like client does.
** Project changed: python-glanceclient => glance
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1493026
Title:
location-add return error when add new location to 'queued' image
Status in Glance:
In Progress
Bug description:
Reproduce:
1. create a new image:
glance image-create --disk-format qcow2 --container-format bare --name test
suppose the image'id is 11111
2.add location to the image:
glance location-add 11111 --url xxxx
Result : the client raise an error:'The administrator has disabled
API access to image locations'.
But when use REST API to reproduce the step 2, it runs well and the image's status will be changed into 'active'.
According to the code: https://github.com/openstack/glance/blob/master/glance/api/v2/images.py#L735-L750
I think we should add check in glance like client does.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1493026/+subscriptions