We can add some additional info about case-insensitivity to exception
message but that must be fixed in glance.

** Also affects: glance
   Importance: Undecided
       Status: New

** No longer affects: python-glanceclient

** Changed in: glance
       Status: New => Confirmed

** Changed in: glance
   Importance: Undecided => Low

** Changed in: glance
     Assignee: (unassigned) => Kairat Kushaev (kkushaev)

-- 
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:
  Confirmed

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