Reviewed:  https://review.openstack.org/302652
Committed: 
https://git.openstack.org/cgit/openstack/glance/commit/?id=385ffab06f1657d10a8a7284bb83945d236bd6d7
Submitter: Jenkins
Branch:    master

commit 385ffab06f1657d10a8a7284bb83945d236bd6d7
Author: Pankaj Mishra <pankaj.mis...@nectechnologies.in>
Date:   Thu Apr 7 15:56:22 2016 +0530

    Modified message of exception and log
    
    Metadata tag names are case insensitive, that confuses
    the user. So we added additional information about metadata
    tag duplication to clarify the point.
    
    Change-Id: Ib58a9d0b9cc95a831981de0cc19456f0c6713dbb
    Closes-Bug: #1535231


** Changed in: glance
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1535231

Title:
  md-meta with case insensitive string has problem when creating

Status in Glance:
  Fix Released

Bug description:
  [Summary]
  md-meta with case sensitive has problem when creating

  [Topo]
  devstack all-in-one node

  [Description and expect result]
  can create case sensitive md-meta

  [Reproduceable or not]
  reproduceable 

  [Recreate Steps]
  1) there is a md-tag named "ab" for namespace "new-ns":
  stack@45-59:~/devstack$ glance md-tag-create --name ab new-ns
  +------------+----------------------+
  | Property   | Value                |
  +------------+----------------------+
  | created_at | 2016-01-18T16:36:13Z |
  | name       | ab                   |
  | updated_at | 2016-01-18T16:36:13Z |
  +------------+----------------------+
  stack@45-59:~/devstack$ glance md-tag-list new-ns
  +------+
  | name |
  +------+
  | ab   |
  +------+

  
  2)if create a new md-tag named "AB", conflict occur:   >>>ISSUE
  stack@45-59:~/devstack$ glance md-tag-create --name AB new-ns
  409 Conflict: A metadata tag with name=AB already exists in namespace=new-ns.
  stack@45-59:~/devstack$ 

  3)but if there is no md-tag "ab", the md-tag "AB" can be created.
  stack@45-59:~/devstack$ glance md-tag-delete new-ns ab
  stack@45-59:~/devstack$ 
  stack@45-59:~/devstack$ glance md-tag-list new-ns
  +------+
  | name |
  +------+
  +------+
  stack@45-59:~/devstack$ glance md-tag-create --name AB new-ns
  +------------+----------------------+
  | Property   | Value                |
  +------------+----------------------+
  | created_at | 2016-01-18T16:37:20Z |
  | name       | AB                   |
  | updated_at | 2016-01-18T16:37:20Z |
  +------------+----------------------+

  [Configration]
  reproduceable bug, no need

  [logs]
  reproduceable bug, no need

  [Root cause anlyze or debug inf]
  reproduceable bug

  [Attachment]
  None

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1535231/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to