[openstack-dev] [Glance][Nova] Does glance support upper case key/value pair?

Chen CH Ji jichenjc at cn.ibm.com
Thu Sep 25 06:55:59 UTC 2014


thanks for let me know this,
https://bugs.launchpad.net/nova/+bug/1352193 is the bug I mentioned

so, my question is whether it's mandatory? if it is, I will fix this bug
from nova side and I want to ensure glance will not change it ... thanks

Best Regards!

Kevin (Chen) Ji 纪 晨

Engineer, zVM Development, CSTL
Notes: Chen CH Ji/China/IBM at IBMCN   Internet: jichenjc at cn.ibm.com
Phone: +86-10-82454158
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District,
Beijing 100193, PRC



From:	Fei Long Wang <feilong at catalyst.net.nz>
To:	"OpenStack Development Mailing List (not for usage questions)"
            <openstack-dev at lists.openstack.org>
Date:	09/25/2014 05:01 AM
Subject:	Re: [openstack-dev] [Glance][Nova] Does glance support upper
            case key/value pair?



Yes, IIRC, these extra properties will be handled to lower case, see
https://github.com/openstack/glance/blob/master/glance/common/utils.py#L236

What's the nova bug you're talking about? Cheers.


On 24/09/14 16:21, Chen CH Ji wrote:


      Got following result when doing bug analysis on nova , is this
      key/pair uppercase -> lowercase was done by purpose or a restriction?
      It might be related to a nova defect, thanks

      jichen at cloudcontroller:~$ glance image-update --property Key1=Value2
      --purge-props 64f067bd-ce03-4f04-a354-7188a4828e8e
      +------------------+--------------------------------------+
      | Property         | Value                                |
      +------------------+--------------------------------------+
      | Property 'key1'  | Value2                               |

      Best Regards!

      Kevin (Chen) Ji 纪 晨

      Engineer, zVM Development, CSTL
      Notes: Chen CH Ji/China/IBM at IBMCN   Internet: jichenjc at cn.ibm.com
      Phone: +86-10-82454158
      Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian
      District, Beijing 100193, PRC



      _______________________________________________
      OpenStack-dev mailing list
      OpenStack-dev at lists.openstack.org
      http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


--
Cheers & Best regards,
Fei Long Wang (王飞龙)
--------------------------------------------------------------------------
Senior Cloud Software Engineer
Tel: +64-48032246
Email: flwang at catalyst.net.nz
Catalyst IT Limited
Level 6, Catalyst House, 150 Willis Street, Wellington
--------------------------------------------------------------------------
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140925/c60bfe2b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140925/c60bfe2b/attachment-0001.gif>


More information about the OpenStack-dev mailing list