2014-09-07 12:21:45 |
Feilong Wang |
description |
We're using **id** in image schema[1,2], but using **image_id** for most of the internal functions[3,4]. So use will got a key error if he is passing in **id**.
[1] https://github.com/openstack/glance/blob/master/glance/api/v2/images.py#L672
[2] https://github.com/openstack/python-glanceclient/blob/master/glanceclient/v2/shell.py#L37
[3] https://github.com/openstack/glance/blob/master/glance/domain/__init__.py#L73
[4] https://github.com/openstack/glance/blob/master/glance/domain/__init__.py#L78 |
We're using **id** in image schema[1,2], but using **image_id** for most of the internal functions[3,4]. So usr will got a key error if he is passing in **id**.
[1] https://github.com/openstack/glance/blob/master/glance/api/v2/images.py#L672
[2] https://github.com/openstack/python-glanceclient/blob/master/glanceclient/v2/shell.py#L37
[3] https://github.com/openstack/glance/blob/master/glance/domain/__init__.py#L73
[4] https://github.com/openstack/glance/blob/master/glance/domain/__init__.py#L78 |
|
2014-09-07 12:23:01 |
Feilong Wang |
description |
We're using **id** in image schema[1,2], but using **image_id** for most of the internal functions[3,4]. So usr will got a key error if he is passing in **id**.
[1] https://github.com/openstack/glance/blob/master/glance/api/v2/images.py#L672
[2] https://github.com/openstack/python-glanceclient/blob/master/glanceclient/v2/shell.py#L37
[3] https://github.com/openstack/glance/blob/master/glance/domain/__init__.py#L73
[4] https://github.com/openstack/glance/blob/master/glance/domain/__init__.py#L78 |
We're using **id** in image schema[1,2], but using **image_id** for most of the internal functions[3,4]. So user will got a key error if he is passing in **id**.
[1] https://github.com/openstack/glance/blob/master/glance/api/v2/images.py#L672
[2] https://github.com/openstack/python-glanceclient/blob/master/glanceclient/v2/shell.py#L37
[3] https://github.com/openstack/glance/blob/master/glance/domain/__init__.py#L73
[4] https://github.com/openstack/glance/blob/master/glance/domain/__init__.py#L78 |
|