Activity log for bug #1692446

Date Who What changed Old value New value Message
2017-05-22 08:30:12 Seyeong Kim bug added bug
2017-05-22 08:30:22 Seyeong Kim cinder: status New Fix Released
2017-05-22 08:30:48 Seyeong Kim bug task added cinder (Ubuntu)
2017-05-22 08:31:34 Seyeong Kim cinder (Ubuntu): status New Fix Released
2017-05-22 08:32:45 Seyeong Kim description [Description] When copy volume to image using upload-to-image, it doesn't copy os_type properly. [Test Case] deploy trusty openstack environment. $glance image-create --name="trusty" --visibility public --os_type=linux --progress --container-format=bare --disk-format=qcow2 < ~/images/trusty-server-cloudimg-amd64-disk1.img get image id $cinder create --image-id [IMAGEID] --display-name T 5 waiting until finished. $cinder upload-to-image T T1 check the T1's information if there is os_type is set properly [Regression Potential] Regression potential is low. these patches are already in upstream. [Other Info] related LP bugs https://bugs.launchpad.net/openstack-manuals/+bug/1329419 https://bugs.launchpad.net/cinder/+bug/1527324 Below commits fix this issue. [1] commit dcf4b10cd1e16b28ab388def658e77cc9a34d766 Author: PranaliDeore <pranali.deore@nttdata.com> Date: Tue May 6 04:04:45 2014 +0000 Copy custom properties to image from volume Presently after copying an image to volume, all properties of the image are getting copied properly but while creating image back from volume, it doesn't copy custom properties to the image. At present in volume-glance-metadata table all the properties of volume are stored as key and value. Because of this it is difficult to differentiate between core and custom properties. To overcome this, I have added a new option 'glance_core_properties' in cinder.conf. This option defines all core properties of an image. This way, it's easy to separate core and custom properties from the glance_volume_metadata and add custom property to the newly created image. For Example: glance_core_properties = 'checksum', 'container_format', 'disk_format', 'image_name', 'image_id', 'min_disk', 'min_ram', 'name', 'size' DocImpact: Added 'glance_core_properties' to distinguish the core and custom properties as discussed above in cinder.conf blueprint: restrict-uploading-volume-to-image Change-Id: I786edbc6e54b3d06ef679a71e22676d2f88e7307 [2] commit edf00659aadaf898ae679f358a6ea8533f4dd891 Author: Tomoki Sekiyama <tomoki.sekiyama.qu@hitachi.com> Date: Fri Dec 18 20:38:36 2015 +0900 Fix volume upload failure with glance_api_version=2 When the volume has additional image properties, upload-to-image using glance API version 2 will fail with the following error. Failed validation u'type' in schema[u'additionalProperties']: {u'type': u'string'} This is due to non core properties passed as a dict to the key 'properties'. It is valid in Image API v1, but the additional properties must be passed just like core properties in v2. Change-Id: Ib32c92a8be170b5f43a34e69155398dfc1a8cbcd Closes-Bug: #1527324 [Description] on Trusty Icehouse When copy volume to image using upload-to-image, it doesn't copy os_type properly. [Test Case] deploy trusty openstack environment. $glance image-create --name="trusty" --visibility public --os_type=linux --progress --container-format=bare --disk-format=qcow2 < ~/images/trusty-server-cloudimg-amd64-disk1.img get image id $cinder create --image-id [IMAGEID] --display-name T 5 waiting until finished. $cinder upload-to-image T T1 check the T1's information if there is os_type is set properly [Regression Potential] Regression potential is low. these patches are already in upstream. [Other Info] related LP bugs https://bugs.launchpad.net/openstack-manuals/+bug/1329419 https://bugs.launchpad.net/cinder/+bug/1527324 Below commits fix this issue. [1] commit dcf4b10cd1e16b28ab388def658e77cc9a34d766 Author: PranaliDeore <pranali.deore@nttdata.com> Date: Tue May 6 04:04:45 2014 +0000 Copy custom properties to image from volume Presently after copying an image to volume, all properties of the image are getting copied properly but while creating image back from volume, it doesn't copy custom properties to the image. At present in volume-glance-metadata table all the properties of volume are stored as key and value. Because of this it is difficult to differentiate between core and custom properties. To overcome this, I have added a new option 'glance_core_properties' in cinder.conf. This option defines all core properties of an image. This way, it's easy to separate core and custom properties from the glance_volume_metadata and add custom property to the newly created image. For Example: glance_core_properties = 'checksum', 'container_format', 'disk_format', 'image_name', 'image_id', 'min_disk', 'min_ram', 'name', 'size' DocImpact: Added 'glance_core_properties' to distinguish the core and custom properties as discussed above in cinder.conf blueprint: restrict-uploading-volume-to-image Change-Id: I786edbc6e54b3d06ef679a71e22676d2f88e7307 [2] commit edf00659aadaf898ae679f358a6ea8533f4dd891 Author: Tomoki Sekiyama <tomoki.sekiyama.qu@hitachi.com> Date: Fri Dec 18 20:38:36 2015 +0900 Fix volume upload failure with glance_api_version=2 When the volume has additional image properties, upload-to-image using glance API version 2 will fail with the following error. Failed validation u'type' in schema[u'additionalProperties']: {u'type': u'string'} This is due to non core properties passed as a dict to the key 'properties'. It is valid in Image API v1, but the additional properties must be passed just like core properties in v2. Change-Id: Ib32c92a8be170b5f43a34e69155398dfc1a8cbcd Closes-Bug: #1527324
2017-05-22 08:45:19 Seyeong Kim tags sts-sru sts-sru-needed
2017-05-22 08:54:01 Seyeong Kim attachment added Trusty-Fix-copy-custom-properties.debdiff https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1692446/+attachment/4881200/+files/Trusty-Fix-copy-custom-properties.debdiff
2017-05-22 10:05:48 Edward Hope-Morley nominated for series Ubuntu Trusty
2017-05-23 05:24:29 Seyeong Kim description [Description] on Trusty Icehouse When copy volume to image using upload-to-image, it doesn't copy os_type properly. [Test Case] deploy trusty openstack environment. $glance image-create --name="trusty" --visibility public --os_type=linux --progress --container-format=bare --disk-format=qcow2 < ~/images/trusty-server-cloudimg-amd64-disk1.img get image id $cinder create --image-id [IMAGEID] --display-name T 5 waiting until finished. $cinder upload-to-image T T1 check the T1's information if there is os_type is set properly [Regression Potential] Regression potential is low. these patches are already in upstream. [Other Info] related LP bugs https://bugs.launchpad.net/openstack-manuals/+bug/1329419 https://bugs.launchpad.net/cinder/+bug/1527324 Below commits fix this issue. [1] commit dcf4b10cd1e16b28ab388def658e77cc9a34d766 Author: PranaliDeore <pranali.deore@nttdata.com> Date: Tue May 6 04:04:45 2014 +0000 Copy custom properties to image from volume Presently after copying an image to volume, all properties of the image are getting copied properly but while creating image back from volume, it doesn't copy custom properties to the image. At present in volume-glance-metadata table all the properties of volume are stored as key and value. Because of this it is difficult to differentiate between core and custom properties. To overcome this, I have added a new option 'glance_core_properties' in cinder.conf. This option defines all core properties of an image. This way, it's easy to separate core and custom properties from the glance_volume_metadata and add custom property to the newly created image. For Example: glance_core_properties = 'checksum', 'container_format', 'disk_format', 'image_name', 'image_id', 'min_disk', 'min_ram', 'name', 'size' DocImpact: Added 'glance_core_properties' to distinguish the core and custom properties as discussed above in cinder.conf blueprint: restrict-uploading-volume-to-image Change-Id: I786edbc6e54b3d06ef679a71e22676d2f88e7307 [2] commit edf00659aadaf898ae679f358a6ea8533f4dd891 Author: Tomoki Sekiyama <tomoki.sekiyama.qu@hitachi.com> Date: Fri Dec 18 20:38:36 2015 +0900 Fix volume upload failure with glance_api_version=2 When the volume has additional image properties, upload-to-image using glance API version 2 will fail with the following error. Failed validation u'type' in schema[u'additionalProperties']: {u'type': u'string'} This is due to non core properties passed as a dict to the key 'properties'. It is valid in Image API v1, but the additional properties must be passed just like core properties in v2. Change-Id: Ib32c92a8be170b5f43a34e69155398dfc1a8cbcd Closes-Bug: #1527324 [Description] on Trusty Icehouse, Kilo(UCA, only second commit) When copy volume to image using upload-to-image, it doesn't copy os_type properly. [Test Case] deploy trusty openstack environment. testing script http://pastebin.ubuntu.com/24630417/ [Regression Potential] Regression potential is low. these patches are already in upstream. [Other Info] related bugs first commit (upstream) : https://review.openstack.org/95954 second commit (LP) : https://bugs.launchpad.net/cinder/+bug/1527324 Below commits fix this issue. [1] commit dcf4b10cd1e16b28ab388def658e77cc9a34d766 Author: PranaliDeore <pranali.deore@nttdata.com> Date: Tue May 6 04:04:45 2014 +0000 Copy custom properties to image from volume Presently after copying an image to volume, all properties of the image are getting copied properly but while creating image back from volume, it doesn't copy custom properties to the image. At present in volume-glance-metadata table all the properties of volume are stored as key and value. Because of this it is difficult to differentiate between core and custom properties. To overcome this, I have added a new option 'glance_core_properties' in cinder.conf. This option defines all core properties of an image. This way, it's easy to separate core and custom properties from the glance_volume_metadata and add custom property to the newly created image. For Example: glance_core_properties = 'checksum', 'container_format', 'disk_format', 'image_name', 'image_id', 'min_disk', 'min_ram', 'name', 'size' DocImpact: Added 'glance_core_properties' to distinguish the core and custom properties as discussed above in cinder.conf blueprint: restrict-uploading-volume-to-image Change-Id: I786edbc6e54b3d06ef679a71e22676d2f88e7307 [2] commit edf00659aadaf898ae679f358a6ea8533f4dd891 Author: Tomoki Sekiyama <tomoki.sekiyama.qu@hitachi.com> Date: Fri Dec 18 20:38:36 2015 +0900 Fix volume upload failure with glance_api_version=2 When the volume has additional image properties, upload-to-image using glance API version 2 will fail with the following error. Failed validation u'type' in schema[u'additionalProperties']: {u'type': u'string'} This is due to non core properties passed as a dict to the key 'properties'. It is valid in Image API v1, but the additional properties must be passed just like core properties in v2. Change-Id: Ib32c92a8be170b5f43a34e69155398dfc1a8cbcd Closes-Bug: #1527324
2017-05-23 05:45:39 Seyeong Kim attachment added Trusty-Kilo-Fix-copy-custom-properties.debdiff https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1692446/+attachment/4881738/+files/Trusty-Kilo-Fix-copy-custom-properties.debdiff
2017-05-23 05:54:37 Seyeong Kim description [Description] on Trusty Icehouse, Kilo(UCA, only second commit) When copy volume to image using upload-to-image, it doesn't copy os_type properly. [Test Case] deploy trusty openstack environment. testing script http://pastebin.ubuntu.com/24630417/ [Regression Potential] Regression potential is low. these patches are already in upstream. [Other Info] related bugs first commit (upstream) : https://review.openstack.org/95954 second commit (LP) : https://bugs.launchpad.net/cinder/+bug/1527324 Below commits fix this issue. [1] commit dcf4b10cd1e16b28ab388def658e77cc9a34d766 Author: PranaliDeore <pranali.deore@nttdata.com> Date: Tue May 6 04:04:45 2014 +0000 Copy custom properties to image from volume Presently after copying an image to volume, all properties of the image are getting copied properly but while creating image back from volume, it doesn't copy custom properties to the image. At present in volume-glance-metadata table all the properties of volume are stored as key and value. Because of this it is difficult to differentiate between core and custom properties. To overcome this, I have added a new option 'glance_core_properties' in cinder.conf. This option defines all core properties of an image. This way, it's easy to separate core and custom properties from the glance_volume_metadata and add custom property to the newly created image. For Example: glance_core_properties = 'checksum', 'container_format', 'disk_format', 'image_name', 'image_id', 'min_disk', 'min_ram', 'name', 'size' DocImpact: Added 'glance_core_properties' to distinguish the core and custom properties as discussed above in cinder.conf blueprint: restrict-uploading-volume-to-image Change-Id: I786edbc6e54b3d06ef679a71e22676d2f88e7307 [2] commit edf00659aadaf898ae679f358a6ea8533f4dd891 Author: Tomoki Sekiyama <tomoki.sekiyama.qu@hitachi.com> Date: Fri Dec 18 20:38:36 2015 +0900 Fix volume upload failure with glance_api_version=2 When the volume has additional image properties, upload-to-image using glance API version 2 will fail with the following error. Failed validation u'type' in schema[u'additionalProperties']: {u'type': u'string'} This is due to non core properties passed as a dict to the key 'properties'. It is valid in Image API v1, but the additional properties must be passed just like core properties in v2. Change-Id: Ib32c92a8be170b5f43a34e69155398dfc1a8cbcd Closes-Bug: #1527324 [Description] on Trusty Icehouse, Kilo(UCA, only second commit) When copy volume to image using upload-to-image, it doesn't copy os_type properly. I modified second patche's directory structure in patch file because there was no matched "unit" directory, removed and adjust it. [Test Case] deploy trusty openstack environment. testing script http://pastebin.ubuntu.com/24630417/ [Regression Potential] Regression potential is low. these patches are already in upstream. [Other Info] related bugs first commit (upstream) : https://review.openstack.org/95954 second commit (LP) : https://bugs.launchpad.net/cinder/+bug/1527324 Below commits fix this issue. [1] commit dcf4b10cd1e16b28ab388def658e77cc9a34d766 Author: PranaliDeore <pranali.deore@nttdata.com> Date: Tue May 6 04:04:45 2014 +0000 Copy custom properties to image from volume Presently after copying an image to volume, all properties of the image are getting copied properly but while creating image back from volume, it doesn't copy custom properties to the image. At present in volume-glance-metadata table all the properties of volume are stored as key and value. Because of this it is difficult to differentiate between core and custom properties. To overcome this, I have added a new option 'glance_core_properties' in cinder.conf. This option defines all core properties of an image. This way, it's easy to separate core and custom properties from the glance_volume_metadata and add custom property to the newly created image. For Example: glance_core_properties = 'checksum', 'container_format', 'disk_format', 'image_name', 'image_id', 'min_disk', 'min_ram', 'name', 'size' DocImpact: Added 'glance_core_properties' to distinguish the core and custom properties as discussed above in cinder.conf blueprint: restrict-uploading-volume-to-image Change-Id: I786edbc6e54b3d06ef679a71e22676d2f88e7307 [2] commit edf00659aadaf898ae679f358a6ea8533f4dd891 Author: Tomoki Sekiyama <tomoki.sekiyama.qu@hitachi.com> Date: Fri Dec 18 20:38:36 2015 +0900 Fix volume upload failure with glance_api_version=2 When the volume has additional image properties, upload-to-image using glance API version 2 will fail with the following error. Failed validation u'type' in schema[u'additionalProperties']: {u'type': u'string'} This is due to non core properties passed as a dict to the key 'properties'. It is valid in Image API v1, but the additional properties must be passed just like core properties in v2. Change-Id: Ib32c92a8be170b5f43a34e69155398dfc1a8cbcd Closes-Bug: #1527324
2017-05-23 05:57:39 Seyeong Kim attachment removed Trusty-Fix-copy-custom-properties.debdiff https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1692446/+attachment/4881200/+files/Trusty-Fix-copy-custom-properties.debdiff
2017-05-23 05:57:54 Seyeong Kim attachment added Fix-copy-custom-properties.debdiff https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1692446/+attachment/4881740/+files/Fix-copy-custom-properties.debdiff
2017-05-23 06:05:20 Seyeong Kim description [Description] on Trusty Icehouse, Kilo(UCA, only second commit) When copy volume to image using upload-to-image, it doesn't copy os_type properly. I modified second patche's directory structure in patch file because there was no matched "unit" directory, removed and adjust it. [Test Case] deploy trusty openstack environment. testing script http://pastebin.ubuntu.com/24630417/ [Regression Potential] Regression potential is low. these patches are already in upstream. [Other Info] related bugs first commit (upstream) : https://review.openstack.org/95954 second commit (LP) : https://bugs.launchpad.net/cinder/+bug/1527324 Below commits fix this issue. [1] commit dcf4b10cd1e16b28ab388def658e77cc9a34d766 Author: PranaliDeore <pranali.deore@nttdata.com> Date: Tue May 6 04:04:45 2014 +0000 Copy custom properties to image from volume Presently after copying an image to volume, all properties of the image are getting copied properly but while creating image back from volume, it doesn't copy custom properties to the image. At present in volume-glance-metadata table all the properties of volume are stored as key and value. Because of this it is difficult to differentiate between core and custom properties. To overcome this, I have added a new option 'glance_core_properties' in cinder.conf. This option defines all core properties of an image. This way, it's easy to separate core and custom properties from the glance_volume_metadata and add custom property to the newly created image. For Example: glance_core_properties = 'checksum', 'container_format', 'disk_format', 'image_name', 'image_id', 'min_disk', 'min_ram', 'name', 'size' DocImpact: Added 'glance_core_properties' to distinguish the core and custom properties as discussed above in cinder.conf blueprint: restrict-uploading-volume-to-image Change-Id: I786edbc6e54b3d06ef679a71e22676d2f88e7307 [2] commit edf00659aadaf898ae679f358a6ea8533f4dd891 Author: Tomoki Sekiyama <tomoki.sekiyama.qu@hitachi.com> Date: Fri Dec 18 20:38:36 2015 +0900 Fix volume upload failure with glance_api_version=2 When the volume has additional image properties, upload-to-image using glance API version 2 will fail with the following error. Failed validation u'type' in schema[u'additionalProperties']: {u'type': u'string'} This is due to non core properties passed as a dict to the key 'properties'. It is valid in Image API v1, but the additional properties must be passed just like core properties in v2. Change-Id: Ib32c92a8be170b5f43a34e69155398dfc1a8cbcd Closes-Bug: #1527324 [Description] on Trusty Icehouse, Kilo(UCA, only second commit) When copy volume to image using upload-to-image, it doesn't copy os_type properly. I modified second patche's directory structure in patch file because there was no matched "unit" directory, removed and adjust it. [Test Case] deploy trusty openstack environment. testing script http://pastebin.ubuntu.com/24630417/ [Regression Potential] Regression potential is low. these patches are already in upstream. [Other Info] related bugs first commit (upstream) : https://review.openstack.org/95954, from blueprint https://blueprints.launchpad.net/cinder/+spec/restrict-uploading-volume-to-image second commit (LP) : https://bugs.launchpad.net/cinder/+bug/1527324 Below commits fix this issue. [1] commit dcf4b10cd1e16b28ab388def658e77cc9a34d766 Author: PranaliDeore <pranali.deore@nttdata.com> Date: Tue May 6 04:04:45 2014 +0000 Copy custom properties to image from volume Presently after copying an image to volume, all properties of the image are getting copied properly but while creating image back from volume, it doesn't copy custom properties to the image. At present in volume-glance-metadata table all the properties of volume are stored as key and value. Because of this it is difficult to differentiate between core and custom properties. To overcome this, I have added a new option 'glance_core_properties' in cinder.conf. This option defines all core properties of an image. This way, it's easy to separate core and custom properties from the glance_volume_metadata and add custom property to the newly created image. For Example: glance_core_properties = 'checksum', 'container_format', 'disk_format', 'image_name', 'image_id', 'min_disk', 'min_ram', 'name', 'size' DocImpact: Added 'glance_core_properties' to distinguish the core and custom properties as discussed above in cinder.conf blueprint: restrict-uploading-volume-to-image Change-Id: I786edbc6e54b3d06ef679a71e22676d2f88e7307 [2] commit edf00659aadaf898ae679f358a6ea8533f4dd891 Author: Tomoki Sekiyama <tomoki.sekiyama.qu@hitachi.com> Date: Fri Dec 18 20:38:36 2015 +0900 Fix volume upload failure with glance_api_version=2 When the volume has additional image properties, upload-to-image using glance API version 2 will fail with the following error. Failed validation u'type' in schema[u'additionalProperties']: {u'type': u'string'} This is due to non core properties passed as a dict to the key 'properties'. It is valid in Image API v1, but the additional properties must be passed just like core properties in v2. Change-Id: Ib32c92a8be170b5f43a34e69155398dfc1a8cbcd Closes-Bug: #1527324
2017-05-23 06:13:11 Seyeong Kim bug task added cloud-archive
2017-05-23 06:13:26 Seyeong Kim cloud-archive: status New Fix Released
2017-05-23 08:37:07 Edward Hope-Morley nominated for series cloud-archive/kilo
2017-05-23 09:58:35 Seyeong Kim description [Description] on Trusty Icehouse, Kilo(UCA, only second commit) When copy volume to image using upload-to-image, it doesn't copy os_type properly. I modified second patche's directory structure in patch file because there was no matched "unit" directory, removed and adjust it. [Test Case] deploy trusty openstack environment. testing script http://pastebin.ubuntu.com/24630417/ [Regression Potential] Regression potential is low. these patches are already in upstream. [Other Info] related bugs first commit (upstream) : https://review.openstack.org/95954, from blueprint https://blueprints.launchpad.net/cinder/+spec/restrict-uploading-volume-to-image second commit (LP) : https://bugs.launchpad.net/cinder/+bug/1527324 Below commits fix this issue. [1] commit dcf4b10cd1e16b28ab388def658e77cc9a34d766 Author: PranaliDeore <pranali.deore@nttdata.com> Date: Tue May 6 04:04:45 2014 +0000 Copy custom properties to image from volume Presently after copying an image to volume, all properties of the image are getting copied properly but while creating image back from volume, it doesn't copy custom properties to the image. At present in volume-glance-metadata table all the properties of volume are stored as key and value. Because of this it is difficult to differentiate between core and custom properties. To overcome this, I have added a new option 'glance_core_properties' in cinder.conf. This option defines all core properties of an image. This way, it's easy to separate core and custom properties from the glance_volume_metadata and add custom property to the newly created image. For Example: glance_core_properties = 'checksum', 'container_format', 'disk_format', 'image_name', 'image_id', 'min_disk', 'min_ram', 'name', 'size' DocImpact: Added 'glance_core_properties' to distinguish the core and custom properties as discussed above in cinder.conf blueprint: restrict-uploading-volume-to-image Change-Id: I786edbc6e54b3d06ef679a71e22676d2f88e7307 [2] commit edf00659aadaf898ae679f358a6ea8533f4dd891 Author: Tomoki Sekiyama <tomoki.sekiyama.qu@hitachi.com> Date: Fri Dec 18 20:38:36 2015 +0900 Fix volume upload failure with glance_api_version=2 When the volume has additional image properties, upload-to-image using glance API version 2 will fail with the following error. Failed validation u'type' in schema[u'additionalProperties']: {u'type': u'string'} This is due to non core properties passed as a dict to the key 'properties'. It is valid in Image API v1, but the additional properties must be passed just like core properties in v2. Change-Id: Ib32c92a8be170b5f43a34e69155398dfc1a8cbcd Closes-Bug: #1527324 [Description] on Trusty Icehouse, Kilo(UCA, only second commit) When copy volume to image using upload-to-image, it doesn't copy os_type properly. I modified second patche's directory structure in patch file because there was no matched "unit" directory, removed and adjust it. [Test Case] deploy trusty openstack environment. testing script http://pastebin.ubuntu.com/24630417/ [Regression Potential] Regression potential is low. these patches are already in upstream. [Other Info] related bugs - first commit (upstream) : https://review.openstack.org/95954, from blueprint https://blueprints.launchpad.net/cinder/+spec/restrict-uploading-volume-to-image - include from Juno (2014.2) - second commit (LP) : https://bugs.launchpad.net/cinder/+bug/1527324 - included from Liberty(7.0.2) Below commits fix this issue. [1] commit dcf4b10cd1e16b28ab388def658e77cc9a34d766 Author: PranaliDeore <pranali.deore@nttdata.com> Date: Tue May 6 04:04:45 2014 +0000 Copy custom properties to image from volume Presently after copying an image to volume, all properties of the image are getting copied properly but while creating image back from volume, it doesn't copy custom properties to the image. At present in volume-glance-metadata table all the properties of volume are stored as key and value. Because of this it is difficult to differentiate between core and custom properties. To overcome this, I have added a new option 'glance_core_properties' in cinder.conf. This option defines all core properties of an image. This way, it's easy to separate core and custom properties from the glance_volume_metadata and add custom property to the newly created image. For Example: glance_core_properties = 'checksum', 'container_format', 'disk_format', 'image_name', 'image_id', 'min_disk', 'min_ram', 'name', 'size' DocImpact: Added 'glance_core_properties' to distinguish the core and custom properties as discussed above in cinder.conf blueprint: restrict-uploading-volume-to-image Change-Id: I786edbc6e54b3d06ef679a71e22676d2f88e7307 [2] commit edf00659aadaf898ae679f358a6ea8533f4dd891 Author: Tomoki Sekiyama <tomoki.sekiyama.qu@hitachi.com> Date: Fri Dec 18 20:38:36 2015 +0900 Fix volume upload failure with glance_api_version=2 When the volume has additional image properties, upload-to-image using glance API version 2 will fail with the following error. Failed validation u'type' in schema[u'additionalProperties']: {u'type': u'string'} This is due to non core properties passed as a dict to the key 'properties'. It is valid in Image API v1, but the additional properties must be passed just like core properties in v2. Change-Id: Ib32c92a8be170b5f43a34e69155398dfc1a8cbcd Closes-Bug: #1527324
2017-06-05 10:28:52 James Page bug task added cinder (Ubuntu Trusty)
2017-06-05 10:29:01 James Page bug task added cloud-archive/kilo
2017-06-05 10:29:09 James Page cloud-archive/kilo: status New Triaged
2017-06-05 10:29:13 James Page cloud-archive/kilo: importance Undecided High
2017-06-05 10:29:18 James Page cinder (Ubuntu Trusty): status New Triaged
2017-06-05 10:29:22 James Page cinder (Ubuntu Trusty): importance Undecided High
2017-06-07 10:02:35 Launchpad Janitor branch linked lp:~ubuntu-server-dev/cinder/icehouse
2017-06-07 10:04:04 James Page cloud-archive/kilo: status Triaged In Progress
2017-06-07 10:04:08 James Page cinder (Ubuntu Trusty): status Triaged In Progress
2017-06-07 10:04:14 James Page bug added subscriber Ubuntu Stable Release Updates Team
2017-06-07 12:12:33 James Page cloud-archive/kilo: status In Progress Fix Committed
2017-06-07 12:12:34 James Page tags sts-sru-needed sts-sru-needed verification-kilo-needed
2017-06-08 15:31:58 Seyeong Kim tags sts-sru-needed verification-kilo-needed sts-sru-needed verification-kilo-done
2017-06-12 11:06:35 James Page cloud-archive/kilo: status Fix Committed Fix Released
2017-06-21 14:49:07 Robie Basak cinder (Ubuntu Trusty): status In Progress Fix Committed
2017-06-21 14:49:12 Robie Basak bug added subscriber SRU Verification
2017-06-21 14:49:18 Robie Basak tags sts-sru-needed verification-kilo-done sts-sru-needed verification-kilo-done verification-needed
2017-06-22 02:43:41 Seyeong Kim tags sts-sru-needed verification-kilo-done verification-needed sts-sru-needed verification-done verification-kilo-done
2017-06-23 10:41:40 Seyeong Kim description [Description] on Trusty Icehouse, Kilo(UCA, only second commit) When copy volume to image using upload-to-image, it doesn't copy os_type properly. I modified second patche's directory structure in patch file because there was no matched "unit" directory, removed and adjust it. [Test Case] deploy trusty openstack environment. testing script http://pastebin.ubuntu.com/24630417/ [Regression Potential] Regression potential is low. these patches are already in upstream. [Other Info] related bugs - first commit (upstream) : https://review.openstack.org/95954, from blueprint https://blueprints.launchpad.net/cinder/+spec/restrict-uploading-volume-to-image - include from Juno (2014.2) - second commit (LP) : https://bugs.launchpad.net/cinder/+bug/1527324 - included from Liberty(7.0.2) Below commits fix this issue. [1] commit dcf4b10cd1e16b28ab388def658e77cc9a34d766 Author: PranaliDeore <pranali.deore@nttdata.com> Date: Tue May 6 04:04:45 2014 +0000 Copy custom properties to image from volume Presently after copying an image to volume, all properties of the image are getting copied properly but while creating image back from volume, it doesn't copy custom properties to the image. At present in volume-glance-metadata table all the properties of volume are stored as key and value. Because of this it is difficult to differentiate between core and custom properties. To overcome this, I have added a new option 'glance_core_properties' in cinder.conf. This option defines all core properties of an image. This way, it's easy to separate core and custom properties from the glance_volume_metadata and add custom property to the newly created image. For Example: glance_core_properties = 'checksum', 'container_format', 'disk_format', 'image_name', 'image_id', 'min_disk', 'min_ram', 'name', 'size' DocImpact: Added 'glance_core_properties' to distinguish the core and custom properties as discussed above in cinder.conf blueprint: restrict-uploading-volume-to-image Change-Id: I786edbc6e54b3d06ef679a71e22676d2f88e7307 [2] commit edf00659aadaf898ae679f358a6ea8533f4dd891 Author: Tomoki Sekiyama <tomoki.sekiyama.qu@hitachi.com> Date: Fri Dec 18 20:38:36 2015 +0900 Fix volume upload failure with glance_api_version=2 When the volume has additional image properties, upload-to-image using glance API version 2 will fail with the following error. Failed validation u'type' in schema[u'additionalProperties']: {u'type': u'string'} This is due to non core properties passed as a dict to the key 'properties'. It is valid in Image API v1, but the additional properties must be passed just like core properties in v2. Change-Id: Ib32c92a8be170b5f43a34e69155398dfc1a8cbcd Closes-Bug: #1527324 [Description] on Trusty Icehouse, Kilo(UCA, only second commit) When copy volume to image using upload-to-image, it doesn't copy os_type properly. I modified second patche's directory structure in patch file because there was no matched "unit" directory, removed and adjust it. [Test Case] deploy trusty openstack environment. testing script http://pastebin.ubuntu.com/24630417/ [Regression Potential] Regression potential is low. these patches are already in upstream. Making image from volume could be affected. Could be issue on custom properties. [Other Info] related bugs - first commit (upstream) : https://review.openstack.org/95954, from blueprint https://blueprints.launchpad.net/cinder/+spec/restrict-uploading-volume-to-image    - include from Juno (2014.2) - second commit (LP) : https://bugs.launchpad.net/cinder/+bug/1527324    - included from Liberty(7.0.2) Below commits fix this issue. [1] commit dcf4b10cd1e16b28ab388def658e77cc9a34d766 Author: PranaliDeore <pranali.deore@nttdata.com> Date: Tue May 6 04:04:45 2014 +0000 Copy custom properties to image from volume Presently after copying an image to volume, all properties of the image are getting copied properly but while creating image back from volume, it doesn't copy custom properties to the image. At present in volume-glance-metadata table all the properties of volume are stored as key and value. Because of this it is difficult to differentiate between core and custom properties. To overcome this, I have added a new option 'glance_core_properties' in cinder.conf. This option defines all core properties of an image. This way, it's easy to separate core and custom properties from the glance_volume_metadata and add custom property to the newly created image. For Example: glance_core_properties = 'checksum', 'container_format', 'disk_format', 'image_name', 'image_id', 'min_disk', 'min_ram', 'name', 'size' DocImpact: Added 'glance_core_properties' to distinguish the core and custom properties as discussed above in cinder.conf blueprint: restrict-uploading-volume-to-image Change-Id: I786edbc6e54b3d06ef679a71e22676d2f88e7307 [2] commit edf00659aadaf898ae679f358a6ea8533f4dd891 Author: Tomoki Sekiyama <tomoki.sekiyama.qu@hitachi.com> Date: Fri Dec 18 20:38:36 2015 +0900 Fix volume upload failure with glance_api_version=2 When the volume has additional image properties, upload-to-image using glance API version 2 will fail with the following error. Failed validation u'type' in schema[u'additionalProperties']: {u'type': u'string'} This is due to non core properties passed as a dict to the key 'properties'. It is valid in Image API v1, but the additional properties must be passed just like core properties in v2. Change-Id: Ib32c92a8be170b5f43a34e69155398dfc1a8cbcd Closes-Bug: #1527324
2017-06-27 14:17:35 Łukasz Zemczak tags sts-sru-needed verification-done verification-kilo-done sts-sru-needed verification-done-trusty verification-kilo-done
2017-06-29 16:40:34 Launchpad Janitor cinder (Ubuntu Trusty): status Fix Committed Fix Released