← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1534052] Re: Internal Server Error returned, if delete image tag

 

** Changed in: python-glanceclient
     Assignee: (unassigned) => zhangjialong (zhangjl)

** Project changed: python-glanceclient => glance

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

Title:
  Internal Server Error returned, if delete image tag

Status in Glance:
  Confirmed

Bug description:
  [Summary]
  Internal Server Error returned, if delete image tag

  [Topo]
  devstack all-in-one node

  [Description and expect result]
  no Internal Server Error returned, if delete image tag

  [Reproduceable or not]
  reproduceable 

  [Recreate Steps]
  1) create an image, with tag "ABC" and "abc":
  root@45-59:/opt/stack/devstack# glance image-show c0805a88-1222-4ca5-a880-3c6aaeecd8e2 
  +------------------+--------------------------------------+
  | Property         | Value                                |
  +------------------+--------------------------------------+
  | checksum         | None                                 |
  | container_format | None                                 |
  | created_at       | 2016-01-14T12:23:06Z                 |
  | disk_format      | None                                 |
  | id               | c0805a88-1222-4ca5-a880-3c6aaeecd8e2 |
  | min_disk         | 0                                    |
  | min_ram          | 0                                    |
  | name             | None                                 |
  | owner            | ebbcdabd911340efa9a3430488c43304     |
  | protected        | False                                |
  | size             | None                                 |
  | status           | queued                               |
  | tags             | ["ABC", "abc"]                       |
  | updated_at       | 2016-01-14T12:24:15Z                 |
  | virtual_size     | None                                 |
  | visibility       | private                              |
  +------------------+--------------------------------------+

  2)Internal Server Error returned, if delete one of the tag:
  root@45-59:/opt/stack/devstack# glance image-tag-delete c0805a88-1222-4ca5-a880-3c6aaeecd8e2 ABC
  500 Internal Server Error: The server has either erred or is incapable of performing the requested operation. (HTTP 500)
  root@45-59:/opt/stack/devstack# 

  Note: if there are 2 tags, which are same string if ignore case, the
  issue exist

  [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/1534052/+subscriptions