2014-05-27 14:07:49 |
Bart Wensley |
bug |
|
|
added bug |
2014-07-09 07:17:10 |
Yoshiaki Kosaka |
bug |
|
|
added subscriber Yoshiaki Kosaka |
2014-07-10 03:24:22 |
Vincent Hou |
bug |
|
|
added subscriber Vincent Hou |
2014-11-13 10:05:27 |
SamP |
bug |
|
|
added subscriber Sampath Priyankara |
2015-01-27 09:15:40 |
Pranali Deore |
cinder: assignee |
|
Pranali Deore (pranali-deore) |
|
2015-03-24 18:08:52 |
Ivan Kolodyazhny |
cinder: status |
New |
Confirmed |
|
2015-03-27 13:04:18 |
Michal Dulko |
bug task added |
|
glance |
|
2015-03-27 13:09:35 |
Michal Dulko |
bug task deleted |
glance |
|
|
2015-03-27 13:44:11 |
Michal Dulko |
bug task added |
|
glance |
|
2015-03-27 15:02:00 |
Alexander Tivelkov |
glance: status |
New |
Confirmed |
|
2015-03-27 15:03:20 |
Alexander Tivelkov |
glance: assignee |
|
Alexander Tivelkov (ativelkov) |
|
2015-03-27 15:15:34 |
Alexander Tivelkov |
glance: status |
Confirmed |
In Progress |
|
2015-03-27 17:32:18 |
Anton Arefiev |
cinder: assignee |
Pranali Deore (pranali-deore) |
Anton Arefiev (aarefiev) |
|
2015-03-27 17:32:22 |
Anton Arefiev |
cinder: status |
Confirmed |
In Progress |
|
2015-04-02 14:45:20 |
Ian Cordasco |
glance: milestone |
|
kilo-rc1 |
|
2015-04-02 14:45:33 |
Ian Cordasco |
glance: importance |
Undecided |
High |
|
2015-04-02 15:02:32 |
Ian Cordasco |
affects |
glance |
python-glanceclient |
|
2015-04-02 15:02:32 |
Ian Cordasco |
python-glanceclient: milestone |
kilo-rc1 |
|
|
2015-04-02 15:46:36 |
Ian Cordasco |
python-glanceclient: status |
In Progress |
Fix Committed |
|
2015-07-24 00:48:54 |
OpenStack Infra |
cinder: status |
In Progress |
Fix Committed |
|
2015-07-28 18:32:26 |
Doug Hellmann |
cinder: status |
Fix Committed |
Fix Released |
|
2015-07-28 18:32:26 |
Doug Hellmann |
cinder: milestone |
|
liberty-2 |
|
2015-07-29 10:49:16 |
Erno Kuvaja |
tags |
|
kilo-backport-potential |
|
2015-07-29 14:02:56 |
Ian Cordasco |
nominated for series |
|
python-glanceclient/kilo |
|
2015-07-29 14:02:56 |
Ian Cordasco |
bug task added |
|
python-glanceclient/kilo |
|
2015-07-29 14:03:17 |
Ian Cordasco |
python-glanceclient/kilo: status |
New |
In Progress |
|
2015-07-29 14:03:20 |
Ian Cordasco |
python-glanceclient/kilo: importance |
Undecided |
High |
|
2015-07-29 14:03:30 |
Ian Cordasco |
python-glanceclient/kilo: assignee |
|
Mike Fedosin (mfedosin) |
|
2015-08-05 02:59:55 |
OpenStack Infra |
tags |
kilo-backport-potential |
in-stable-kilo kilo-backport-potential |
|
2015-08-18 20:56:55 |
Brendan Johnson |
bug task added |
|
ubuntu |
|
2015-08-18 20:57:18 |
Brendan Johnson |
bug task deleted |
ubuntu |
|
|
2015-08-31 16:13:26 |
Doug Hellmann |
python-glanceclient: status |
Fix Committed |
Fix Released |
|
2015-08-31 16:13:26 |
Doug Hellmann |
python-glanceclient: milestone |
|
1.0.0 |
|
2015-10-15 11:46:42 |
Thierry Carrez |
cinder: milestone |
liberty-2 |
7.0.0 |
|
2015-11-03 15:49:36 |
Flavio Percoco |
python-glanceclient/kilo: status |
In Progress |
Fix Released |
|
2015-11-03 15:49:53 |
Flavio Percoco |
python-glanceclient/kilo: status |
Fix Released |
Fix Committed |
|
2016-09-26 10:58:50 |
Edward Hope-Morley |
bug task added |
|
cloud-archive |
|
2016-09-26 10:59:08 |
Edward Hope-Morley |
nominated for series |
|
cloud-archive/icehouse |
|
2016-09-26 10:59:33 |
Edward Hope-Morley |
nominated for series |
|
cloud-archive/kilo |
|
2016-09-26 10:59:39 |
Edward Hope-Morley |
bug task deleted |
cloud-archive |
|
|
2016-09-27 01:18:08 |
Seyeong Kim |
bug task added |
|
ubuntu |
|
2016-09-27 09:09:31 |
Seyeong Kim |
bug task deleted |
ubuntu |
|
|
2016-09-27 09:10:14 |
Seyeong Kim |
bug task added |
|
cinder (Ubuntu) |
|
2016-09-27 09:16:45 |
Seyeong Kim |
bug task added |
|
python-glanceclient (Ubuntu) |
|
2016-09-27 09:19:38 |
Louis Bouchard |
nominated for series |
|
Ubuntu Trusty |
|
2016-09-27 09:19:38 |
Louis Bouchard |
bug task added |
|
python-glanceclient (Ubuntu Trusty) |
|
2016-09-27 09:19:38 |
Louis Bouchard |
bug task added |
|
cinder (Ubuntu Trusty) |
|
2016-09-27 09:29:26 |
Seyeong Kim |
cinder (Ubuntu): status |
New |
Invalid |
|
2016-09-27 09:29:31 |
Seyeong Kim |
python-glanceclient (Ubuntu): status |
New |
Invalid |
|
2016-10-04 10:00:24 |
Edward Hope-Morley |
cinder (Ubuntu): status |
Invalid |
Fix Released |
|
2016-10-04 10:00:30 |
Edward Hope-Morley |
python-glanceclient (Ubuntu): status |
Invalid |
Fix Released |
|
2016-10-04 10:03:10 |
Edward Hope-Morley |
bug task added |
|
cloud-archive |
|
2016-10-05 06:28:45 |
Seyeong Kim |
python-glanceclient (Ubuntu Trusty): status |
New |
In Progress |
|
2016-10-05 06:28:48 |
Seyeong Kim |
cinder (Ubuntu Trusty): assignee |
|
Seyeong Kim (xtrusia) |
|
2016-10-05 06:28:50 |
Seyeong Kim |
python-glanceclient (Ubuntu Trusty): assignee |
|
Seyeong Kim (xtrusia) |
|
2016-10-05 06:28:55 |
Seyeong Kim |
cinder (Ubuntu Trusty): status |
New |
In Progress |
|
2016-10-05 06:33:33 |
Seyeong Kim |
attachment added |
|
Trusty_glanceclient_Expose_is_base_schema_property_attribute.debdiff https://bugs.launchpad.net/cinder/+bug/1323660/+attachment/4754752/+files/Trusty_glanceclient_Expose_is_base_schema_property_attribute.debdiff |
|
2016-10-05 06:34:01 |
Seyeong Kim |
attachment added |
|
Trusty_cinder_Fix_extract_properties_from_image_with_glance_api_v2.debdiff https://bugs.launchpad.net/cinder/+bug/1323660/+attachment/4754753/+files/Trusty_cinder_Fix_extract_properties_from_image_with_glance_api_v2.debdiff |
|
2016-10-05 06:34:23 |
Seyeong Kim |
attachment added |
|
Kilo_cinder_Fix_extract_properties_from_image_with_glance_api_v2.debdiff https://bugs.launchpad.net/cinder/+bug/1323660/+attachment/4754754/+files/Kilo_cinder_Fix_extract_properties_from_image_with_glance_api_v2.debdiff |
|
2016-10-05 06:36:52 |
Seyeong Kim |
cloud-archive: status |
New |
In Progress |
|
2016-10-05 06:36:56 |
Seyeong Kim |
cloud-archive: assignee |
|
Seyeong Kim (xtrusia) |
|
2016-10-05 06:37:06 |
Seyeong Kim |
attachment added |
|
Kilo_glanceclient_Expose_is_base_schema_property_attribute.debdiff https://bugs.launchpad.net/cinder/+bug/1323660/+attachment/4754755/+files/Kilo_glanceclient_Expose_is_base_schema_property_attribute.debdiff |
|
2016-10-05 06:37:56 |
Seyeong Kim |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2016-10-05 06:38:08 |
Seyeong Kim |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2016-10-05 09:45:12 |
Seyeong Kim |
tags |
in-stable-kilo kilo-backport-potential |
in-stable-kilo kilo-backport-potential openstack sts |
|
2016-10-05 09:45:18 |
Seyeong Kim |
tags |
in-stable-kilo kilo-backport-potential openstack sts |
in-stable-kilo kilo-backport-potential openstack sts sts-sru |
|
2016-10-14 00:18:00 |
Mathew Hodson |
cinder (Ubuntu): importance |
Undecided |
Medium |
|
2016-10-14 00:18:14 |
Mathew Hodson |
cinder (Ubuntu Trusty): importance |
Undecided |
Medium |
|
2016-10-14 00:18:22 |
Mathew Hodson |
python-glanceclient (Ubuntu): importance |
Undecided |
Medium |
|
2016-10-14 00:18:27 |
Mathew Hodson |
python-glanceclient (Ubuntu Trusty): importance |
Undecided |
Medium |
|
2016-11-10 21:28:36 |
Corey Bryant |
bug task added |
|
cloud-archive/icehouse |
|
2016-11-10 21:28:52 |
Corey Bryant |
cloud-archive/icehouse: status |
New |
Triaged |
|
2016-11-10 21:29:03 |
Corey Bryant |
cloud-archive/icehouse: assignee |
|
Seyeong Kim (xtrusia) |
|
2016-11-10 21:29:08 |
Corey Bryant |
cloud-archive/icehouse: status |
Triaged |
In Progress |
|
2016-11-11 02:00:46 |
Seyeong Kim |
attachment removed |
Kilo_cinder_Fix_extract_properties_from_image_with_glance_api_v2.debdiff https://bugs.launchpad.net/cinder/+bug/1323660/+attachment/4754754/+files/Kilo_cinder_Fix_extract_properties_from_image_with_glance_api_v2.debdiff |
|
|
2016-11-11 02:01:01 |
Seyeong Kim |
attachment removed |
Kilo_glanceclient_Expose_is_base_schema_property_attribute.debdiff https://bugs.launchpad.net/cinder/+bug/1323660/+attachment/4754755/+files/Kilo_glanceclient_Expose_is_base_schema_property_attribute.debdiff |
|
|
2016-11-11 03:05:23 |
Seyeong Kim |
attachment added |
|
Trusty-cinder-Fix-properties-extracting-from-image-with-glance-api.debdiff https://bugs.launchpad.net/cinder/+bug/1323660/+attachment/4775672/+files/Trusty-cinder-Fix-properties-extracting-from-image-with-glance-api.debdiff |
|
2016-11-11 03:05:42 |
Seyeong Kim |
attachment added |
|
Icehouse-cinder-Fix-properties-extracting-from-image-with-glance-api.debdiff https://bugs.launchpad.net/cinder/+bug/1323660/+attachment/4775673/+files/Icehouse-cinder-Fix-properties-extracting-from-image-with-glance-api.debdiff |
|
2016-11-11 03:05:59 |
Seyeong Kim |
attachment added |
|
Icehouse-glanceclient-Expose_is_base_schema_property_attribute.debdiff https://bugs.launchpad.net/cinder/+bug/1323660/+attachment/4775674/+files/Icehouse-glanceclient-Expose_is_base_schema_property_attribute.debdiff |
|
2016-11-14 10:04:24 |
Seyeong Kim |
attachment removed |
Icehouse-cinder-Fix-properties-extracting-from-image-with-glance-api.debdiff https://bugs.launchpad.net/cinder/+bug/1323660/+attachment/4775673/+files/Icehouse-cinder-Fix-properties-extracting-from-image-with-glance-api.debdiff |
|
|
2016-11-14 10:04:53 |
Seyeong Kim |
attachment removed |
Trusty-cinder-Fix-properties-extracting-from-image-with-glance-api.debdiff https://bugs.launchpad.net/cinder/+bug/1323660/+attachment/4775672/+files/Trusty-cinder-Fix-properties-extracting-from-image-with-glance-api.debdiff |
|
|
2016-11-14 10:05:54 |
Seyeong Kim |
attachment removed |
Trusty_cinder_Fix_extract_properties_from_image_with_glance_api_v2.debdiff https://bugs.launchpad.net/cinder/+bug/1323660/+attachment/4754753/+files/Trusty_cinder_Fix_extract_properties_from_image_with_glance_api_v2.debdiff |
|
|
2016-11-14 10:08:22 |
Seyeong Kim |
attachment added |
|
Trusty_cinder.debdiff https://bugs.launchpad.net/cinder/+bug/1323660/+attachment/4777151/+files/Trusty_cinder.debdiff |
|
2016-11-14 10:09:04 |
Seyeong Kim |
attachment added |
|
Icehouse_cinder.debdiff https://bugs.launchpad.net/cinder/+bug/1323660/+attachment/4777152/+files/Icehouse_cinder.debdiff |
|
2016-11-14 13:27:54 |
Corey Bryant |
summary |
Glance image properties not copied to cinder volume with glance V2 API |
[SRU] Glance image properties not copied to cinder volume with glance V2 API |
|
2016-11-14 13:33:38 |
Corey Bryant |
description |
When a cinder volume is created from a glance image, the "properties" attached to the glance image are not copied to the cinder volume (in the volume_image_metadata) if the glance V2 API is used. If the glance V1 API is used, the properties are copied correctly.
To illustrate, here is a glance image with a hw_vif_model property defined:
[root@controller-0 log(keystone_admin)]# glance image-show wrl5-avp
+-------------------------+--------------------------------------+
| Property | Value |
+-------------------------+--------------------------------------+
| Property 'hw_vif_model' | avp |
| checksum | 2386997c1a85709759c3d26ba0f11192 |
| container_format | bare |
| created_at | 2014-05-23T15:25:01.804247 |
| deleted | False |
| disk_format | raw |
| id | 78e935d4-3b8e-4cc4-ab9f-c24959492c22 |
| is_public | True |
| min_disk | 0 |
| min_ram | 0 |
| name | wrl5-avp |
| owner | 376000978ffb43159aa3ec554d62b7df |
| protected | False |
| size | 507510784 |
| status | active |
| updated_at | 2014-05-23T15:25:03.852936 |
+-------------------------+--------------------------------------+
When a volume is created (using glance V1 API) from this image (with "cinder create --image-id 2386997c1a85709759c3d26ba0f11192 --display-name=wrl5-avp-from-volume 1"), the volume_image_metadata for the resulting volume is:
{u'container_format': u'bare', u'min_ram': u'0', u'hw_vif_model': u'avp', u'disk_format': u'qcow2', u'image_name': u'wrl5-avp', u'image_id': u'8f1b7941-cbac-484e-8ef4-5714e01f5c66', u'checksum': u'2386997c1a85709759c3d26ba0f11192', u'min_disk': u'0', u'size': u'507510784'}
When a volume is created using the glance V2 API, the volume_image_metadata is missing the hw_vif_model:
{u'container_format': u'bare', u'min_ram': u'0', u'disk_format': u'qcow2', u'image_name': u'wrl5-avp', u'image_id': u'8f1b7941-cbac-484e-8ef4-5714e01f5c66', u'checksum': u'2386997c1a85709759c3d26ba0f11192', u'min_disk': u'0', u'size': u'507510784'}
With debug logs turned on, the results of the image get from glance are different. For the glance V1 API:
May 25 12:49:48 localhost 2014-05-25 12:49:48.221 1773 DEBUG glanceclient.common.http [-] HTTP/1.1 200 OK content-length: 0 x-image-meta-status: active x-image-meta-owner: 621793db5e664ca390af686640b24543 x-image-meta-name: wrl5-avp x-image-meta-container_format: bare x-image-meta-created_at: 2014-05-22T17:59:05.446468 etag: 2386997c1a85709759c3d26ba0f11192 location: http://192.168.204.2:9292/v1/images/8f1b7941-cbac-484e-8ef4-5714e01f5c66 x-image-meta-min_ram: 0 x-image-meta-updated_at: 2014-05-22T17:59:11.446979 x-image-meta-id: 8f1b7941-cbac-484e-8ef4-5714e01f5c66 date: Sun, 25 May 2014 12:49:48 GMT x-openstack-request-id: req-884ad959-fe85-4653-81e9-97a9205db3b8 x-image-meta-deleted: False x-image-meta-checksum: 2386997c1a85709759c3d26ba0f11192 x-image-meta-property-hw_vif_model: avp x-image-meta-protected: False x-image-meta-min_disk: 0 x-image-meta-size: 507510784 x-image-meta-is_public: True content-type: text/html; charset=UTF-8 x-image-meta-disk_format: qcow2 log_http_response /usr/lib64/python2.7/site-packages/glanceclient/common/http.py:152
With the glance V2 API:
May 25 12:07:15 localhost 2014-05-25 12:07:15.589 12689 DEBUG glanceclient.common.http [-] HTTP/1.1 200 OK date: Sun, 25 May 2014 12:07:15 GMT content-length: 543 content-type: application/json; charset=UTF-8 x-openstack-request-id: req-5c8b6f6c-0880-4054-ba03-4fc89326f64e {"status": "active", "name": "wrl5-avp", "tags": [], "container_format": "bare", "created_at": "2014-05-22T17:59:05Z", "hw_vif_model": "avp", "disk_format": "qcow2", "updated_at": "2014-05-22T17:59:11Z", "visibility": "public", "self": "/v2/images/8f1b7941-cbac-484e-8ef4-5714e01f5c66", "protected": false, "id": "8f1b7941-cbac-484e-8ef4-5714e01f5c66", "file": "/v2/images/8f1b7941-cbac-484e-8ef4-5714e01f5c66/file", "checksum": "2386997c1a85709759c3d26ba0f11192", "min_disk": 0, "size": 507510784, "min_ram": 0, "schema": "/v2/schemas/image"} log_http_response /usr/lib64/python2.7/site-packages/glanceclient/common/http.py:152
The difference (other than the switch to the json encoding) is that the hw_vif_model is returned as a property in the V1 case and returned as a regular field in the V2 case. From a look at the cinder code, I suspect that the problem happens because the _extract_attributes function (in cinder/image/glance.py) is using a whitelist to copy certain attributes and then copying the "properties" from the image transparently. In the case of the glance V2 API, the hw_vif_model isn't a "property", so it isn't getting copied. Here is the code (from Havana):
def _extract_attributes(image):
IMAGE_ATTRIBUTES = ['size', 'disk_format', 'owner',
'container_format', 'checksum', 'id',
'name', 'created_at', 'updated_at',
'deleted_at', 'deleted', 'status',
'min_disk', 'min_ram', 'is_public']
output = {}
for attr in IMAGE_ATTRIBUTES:
output[attr] = getattr(image, attr, None)
output['properties'] = getattr(image, 'properties', {})
return output
I don't know why the glance V2 API is returning the properties as regular attributes, but I expect that is what is causing the problem.
I am testing this in Havana, using the Ceph backend, but I don't expect the backend matters here. |
[Description]
When a cinder volume is created from a glance image, the "properties" attached to the glance image are not copied to the cinder volume (in the volume_image_metadata) if the glance V2 API is used. If the glance V1 API is used, the properties are copied correctly.
[Test Case]
To illustrate, here is a glance image with a hw_vif_model property defined:
[root@controller-0 log(keystone_admin)]# glance image-show wrl5-avp
+-------------------------+--------------------------------------+
| Property | Value |
+-------------------------+--------------------------------------+
| Property 'hw_vif_model' | avp |
| checksum | 2386997c1a85709759c3d26ba0f11192 |
| container_format | bare |
| created_at | 2014-05-23T15:25:01.804247 |
| deleted | False |
| disk_format | raw |
| id | 78e935d4-3b8e-4cc4-ab9f-c24959492c22 |
| is_public | True |
| min_disk | 0 |
| min_ram | 0 |
| name | wrl5-avp |
| owner | 376000978ffb43159aa3ec554d62b7df |
| protected | False |
| size | 507510784 |
| status | active |
| updated_at | 2014-05-23T15:25:03.852936 |
+-------------------------+--------------------------------------+
When a volume is created (using glance V1 API) from this image (with "cinder create --image-id 2386997c1a85709759c3d26ba0f11192 --display-name=wrl5-avp-from-volume 1"), the volume_image_metadata for the resulting volume is:
{u'container_format': u'bare', u'min_ram': u'0', u'hw_vif_model': u'avp', u'disk_format': u'qcow2', u'image_name': u'wrl5-avp', u'image_id': u'8f1b7941-cbac-484e-8ef4-5714e01f5c66', u'checksum': u'2386997c1a85709759c3d26ba0f11192', u'min_disk': u'0', u'size': u'507510784'}
When a volume is created using the glance V2 API, the volume_image_metadata is missing the hw_vif_model:
{u'container_format': u'bare', u'min_ram': u'0', u'disk_format': u'qcow2', u'image_name': u'wrl5-avp', u'image_id': u'8f1b7941-cbac-484e-8ef4-5714e01f5c66', u'checksum': u'2386997c1a85709759c3d26ba0f11192', u'min_disk': u'0', u'size': u'507510784'}
With debug logs turned on, the results of the image get from glance are different. For the glance V1 API:
May 25 12:49:48 localhost 2014-05-25 12:49:48.221 1773 DEBUG glanceclient.common.http [-] HTTP/1.1 200 OK content-length: 0 x-image-meta-status: active x-image-meta-owner: 621793db5e664ca390af686640b24543 x-image-meta-name: wrl5-avp x-image-meta-container_format: bare x-image-meta-created_at: 2014-05-22T17:59:05.446468 etag: 2386997c1a85709759c3d26ba0f11192 location: http://192.168.204.2:9292/v1/images/8f1b7941-cbac-484e-8ef4-5714e01f5c66 x-image-meta-min_ram: 0 x-image-meta-updated_at: 2014-05-22T17:59:11.446979 x-image-meta-id: 8f1b7941-cbac-484e-8ef4-5714e01f5c66 date: Sun, 25 May 2014 12:49:48 GMT x-openstack-request-id: req-884ad959-fe85-4653-81e9-97a9205db3b8 x-image-meta-deleted: False x-image-meta-checksum: 2386997c1a85709759c3d26ba0f11192 x-image-meta-property-hw_vif_model: avp x-image-meta-protected: False x-image-meta-min_disk: 0 x-image-meta-size: 507510784 x-image-meta-is_public: True content-type: text/html; charset=UTF-8 x-image-meta-disk_format: qcow2 log_http_response /usr/lib64/python2.7/site-packages/glanceclient/common/http.py:152
With the glance V2 API:
May 25 12:07:15 localhost 2014-05-25 12:07:15.589 12689 DEBUG glanceclient.common.http [-] HTTP/1.1 200 OK date: Sun, 25 May 2014 12:07:15 GMT content-length: 543 content-type: application/json; charset=UTF-8 x-openstack-request-id: req-5c8b6f6c-0880-4054-ba03-4fc89326f64e {"status": "active", "name": "wrl5-avp", "tags": [], "container_format": "bare", "created_at": "2014-05-22T17:59:05Z", "hw_vif_model": "avp", "disk_format": "qcow2", "updated_at": "2014-05-22T17:59:11Z", "visibility": "public", "self": "/v2/images/8f1b7941-cbac-484e-8ef4-5714e01f5c66", "protected": false, "id": "8f1b7941-cbac-484e-8ef4-5714e01f5c66", "file": "/v2/images/8f1b7941-cbac-484e-8ef4-5714e01f5c66/file", "checksum": "2386997c1a85709759c3d26ba0f11192", "min_disk": 0, "size": 507510784, "min_ram": 0, "schema": "/v2/schemas/image"} log_http_response /usr/lib64/python2.7/site-packages/glanceclient/common/http.py:152
The difference (other than the switch to the json encoding) is that the hw_vif_model is returned as a property in the V1 case and returned as a regular field in the V2 case. From a look at the cinder code, I suspect that the problem happens because the _extract_attributes function (in cinder/image/glance.py) is using a whitelist to copy certain attributes and then copying the "properties" from the image transparently. In the case of the glance V2 API, the hw_vif_model isn't a "property", so it isn't getting copied. Here is the code (from Havana):
def _extract_attributes(image):
IMAGE_ATTRIBUTES = ['size', 'disk_format', 'owner',
'container_format', 'checksum', 'id',
'name', 'created_at', 'updated_at',
'deleted_at', 'deleted', 'status',
'min_disk', 'min_ram', 'is_public']
output = {}
for attr in IMAGE_ATTRIBUTES:
output[attr] = getattr(image, attr, None)
output['properties'] = getattr(image, 'properties', {})
return output
I don't know why the glance V2 API is returning the properties as regular attributes, but I expect that is what is causing the problem.
I am testing this in Havana, using the Ceph backend, but I don't expect the backend matters here.
[Regression Potential]
Regression potential is low. Patch is cherry-picked from upstream stable/liberty branch without any changes. |
|
2016-11-14 13:41:17 |
Launchpad Janitor |
branch linked |
|
lp:~ubuntu-server-dev/cinder/icehouse |
|
2016-11-14 17:24:44 |
Launchpad Janitor |
branch linked |
|
lp:~ubuntu-server-dev/python-glanceclient/icehouse |
|
2016-11-15 10:28:56 |
Martin Pitt |
cinder (Ubuntu Trusty): status |
In Progress |
Fix Committed |
|
2016-11-15 10:29:01 |
Martin Pitt |
bug |
|
|
added subscriber SRU Verification |
2016-11-15 10:29:06 |
Martin Pitt |
tags |
in-stable-kilo kilo-backport-potential openstack sts sts-sru |
in-stable-kilo kilo-backport-potential openstack sts sts-sru verification-needed |
|
2016-11-15 10:29:24 |
Martin Pitt |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2016-11-15 10:30:12 |
Martin Pitt |
python-glanceclient (Ubuntu Trusty): status |
In Progress |
Fix Committed |
|
2016-11-15 13:31:43 |
Seyeong Kim |
tags |
in-stable-kilo kilo-backport-potential openstack sts sts-sru verification-needed |
in-stable-kilo kilo-backport-potential openstack sts sts-sru verification-done |
|
2016-11-23 07:45:49 |
Launchpad Janitor |
cinder (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2016-11-23 07:45:58 |
Robie Basak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2016-11-23 07:46:06 |
Launchpad Janitor |
python-glanceclient (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2016-11-29 20:14:34 |
Corey Bryant |
bug task added |
|
cloud-archive/kilo |
|
2016-12-01 01:45:51 |
Seyeong Kim |
cloud-archive/kilo: status |
New |
In Progress |
|
2016-12-01 01:45:51 |
Seyeong Kim |
cloud-archive/kilo: assignee |
|
Seyeong Kim (xtrusia) |
|
2016-12-01 01:54:18 |
Seyeong Kim |
attachment added |
|
Kilo_cinder.debdiff https://bugs.launchpad.net/cloud-archive/kilo/+bug/1323660/+attachment/4785533/+files/Kilo_cinder.debdiff |
|
2016-12-01 01:54:48 |
Seyeong Kim |
attachment added |
|
Kilo_Expose_is_base_schema_property_attribute.debdiff https://bugs.launchpad.net/cloud-archive/kilo/+bug/1323660/+attachment/4785534/+files/Kilo_Expose_is_base_schema_property_attribute.debdiff |
|
2016-12-01 03:13:54 |
Seyeong Kim |
attachment removed |
Kilo_cinder.debdiff https://bugs.launchpad.net/cloud-archive/kilo/+bug/1323660/+attachment/4785533/+files/Kilo_cinder.debdiff |
|
|
2016-12-01 04:14:45 |
Seyeong Kim |
attachment added |
|
Kilo_cinder.debdiff https://bugs.launchpad.net/cloud-archive/kilo/+bug/1323660/+attachment/4785565/+files/Kilo_cinder.debdiff |
|
2016-12-02 17:34:26 |
Seyeong Kim |
attachment removed |
Kilo_cinder.debdiff https://bugs.launchpad.net/cinder/+bug/1323660/+attachment/4785565/+files/Kilo_cinder.debdiff |
|
|
2016-12-02 17:35:10 |
Seyeong Kim |
attachment added |
|
Kilo_cinder.debdiff https://bugs.launchpad.net/cinder/+bug/1323660/+attachment/4786555/+files/Kilo_cinder.debdiff |
|
2016-12-02 22:12:46 |
Corey Bryant |
cloud-archive/icehouse: status |
In Progress |
Fix Committed |
|
2016-12-02 22:13:07 |
Corey Bryant |
cloud-archive: status |
In Progress |
Invalid |
|
2016-12-07 17:28:16 |
Launchpad Janitor |
branch linked |
|
lp:~ubuntu-server-dev/python-glanceclient/kilo |
|
2016-12-07 17:38:31 |
Launchpad Janitor |
branch linked |
|
lp:~ubuntu-server-dev/cinder/kilo |
|
2016-12-07 17:42:18 |
Ryan Beisner |
cloud-archive/kilo: status |
In Progress |
Fix Committed |
|
2016-12-07 17:42:21 |
Ryan Beisner |
tags |
in-stable-kilo kilo-backport-potential openstack sts sts-sru verification-done |
in-stable-kilo kilo-backport-potential openstack sts sts-sru verification-done verification-kilo-needed |
|
2016-12-14 13:45:45 |
Corey Bryant |
tags |
in-stable-kilo kilo-backport-potential openstack sts sts-sru verification-done verification-kilo-needed |
in-stable-kilo kilo-backport-potential openstack sts sts-sru verification-done verification-kilo-done |
|
2016-12-14 13:59:57 |
James Page |
cloud-archive/kilo: status |
Fix Committed |
Fix Released |
|
2017-03-23 11:18:05 |
Edward Hope-Morley |
tags |
in-stable-kilo kilo-backport-potential openstack sts sts-sru verification-done verification-kilo-done |
in-stable-kilo kilo-backport-potential openstack sts sts-sru-needed verification-done verification-kilo-done |
|
2017-04-03 09:02:51 |
Edward Hope-Morley |
tags |
in-stable-kilo kilo-backport-potential openstack sts sts-sru-needed verification-done verification-kilo-done |
in-stable-kilo kilo-backport-potential openstack sts sts-sru-done verification-done verification-kilo-done |
|
2017-05-21 10:29:00 |
Hacker Gautam Shrivastava |
branch unlinked |
lp:~ubuntu-server-dev/cinder/kilo |
|
|