[Glance] image empty description property

Bug #1466539 reported by Kyrylo Romanenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Won't Fix
Low
MOS Glance
6.1.x
Won't Fix
Low
MOS Glance
7.0.x
Won't Fix
Low
MOS Glance
8.0.x
Won't Fix
Low
Kairat Kushaev

Bug Description

When we have removed description of image then "glance image-show" will not display it, but "glance image-update" will show "Property 'description' None " when adding another property.

Steps:
1. Add description to TestVM image via Horizon.
2. Check description from CLI client
# glance image-show TestVM
+------------------------+--------------------------------------+
| Property | Value |
+------------------------+--------------------------------------+
| Property 'description' | This is TestVM with description |
| Property 'key' | test |
| checksum | 64d7c1cd2b6f60c92c14662941cb7913 |
...

3. Remove image description via Horizon.

4. Check image properties:
# glance image-show TestVM
/usr/lib/python2.6/site-packages/glanceclient/client.py:26: DeprecationWarning: `version` keyword is being deprecated. Please pass the version as part of the URL. http://$HOST:$PORT/v$VERSION_NUMBER
  DeprecationWarning)
+------------------+--------------------------------------+
| Property | Value |
+------------------+--------------------------------------+
| Property 'key' | test |
| checksum | 64d7c1cd2b6f60c92c14662941cb7913 |
...

5. Add some another property:
# glance image-update 6a3d1b01-b9f5-4c9d-9406-a4888f93707c --property key2=test2
+------------------------+--------------------------------------+
| Property | Value |
+------------------------+--------------------------------------+
| Property 'description' | None |
| Property 'key' | test |
| Property 'key2' | test2 |
| checksum | 64d7c1cd2b6f60c92c14662941cb7913 |
...

Note this field:
| Property 'description' | None |
It is displayed only in "image-update" output when image has cleaned description .

Configurations:
Juno on Centos 6.5
1 Controller
1 Compute
1 Storage
Cinder LVM for volumes, Swift for images.
Neutron with VLAN segmentation

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.1"
  openstack_version: "2014.2.2-6.1"
  api: "1.0"
  build_number: "522"
  build_id: "2015-06-16_13-53-26"
  nailgun_sha: "fa8dec50f3df2626c97f6c38a897cf4e0f80b39d"
  python-fuelclient_sha: "4fc55db0265bbf39c369df398b9dc7d6469ba13b"
  astute_sha: "1ea8017fe8889413706d543a5b9f557f5414beae"
  fuel-library_sha: "3528dddbd0c961290909d5e3e256f55ff75cd2fc"
  fuel-ostf_sha: "8fefcf7c4649370f00847cc309c24f0b62de718d"
  fuelmain_sha: "42020c36d6dec9fedf61faa68aa3674156d41977"

Tags: glance
Revision history for this message
ruhe (ruhe) wrote :

SCF is announced. Moving this bug to 8.0

Revision history for this message
Kairat Kushaev (kkushaev) wrote :

 Fix proposed to liberty master:
https://review.openstack.org/#/c/214255/

Revision history for this message
Kairat Kushaev (kkushaev) wrote :

Unfortunately, this bug can't be fixed because we can only propose fixes for V1 API and this functionality changes the V1 API.
This will be fixed as soon as Horizon will move to V2 API.

Changed in mos:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.