Public bug reported:

Deleting image metadata doesn't work from the Update Metadata widget
when deleting metadata items that have existing metadata definitions. It
works for deleting custom metadata items.

Steps to reproduce:

Start with the latest master Horizon code as of 8/30/16.

- To to Project -> Compute -> Images.
- Select the "Update Metadata" button for an image.
- If you have metadata definitions defined in your glance installation, you 
should see categories for existing metadata definitions under "Available 
Metadata".
- Add a metadata item from the "Available Metadata" categories, such as "Common 
Operating System Properties" -> "OS Version". Give it a value and Save the 
change. This works fine.
- Select the "Update Metadata" button for the same image and note that the 
metadata item you just added (such as os_version) now appears in the "Existing 
Metadata" section.
- Remove the metadata item and click Save.
- No errors are displayed and no errors are written to the Horizon logs.
- Select the "Update Metadata" button for the same image and note that the 
metadata item you just tried to remove is still there.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1618578

Title:
  Image metadata deletion doesn't work from the Update Metadata widget

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Deleting image metadata doesn't work from the Update Metadata widget
  when deleting metadata items that have existing metadata definitions.
  It works for deleting custom metadata items.

  Steps to reproduce:

  Start with the latest master Horizon code as of 8/30/16.

  - To to Project -> Compute -> Images.
  - Select the "Update Metadata" button for an image.
  - If you have metadata definitions defined in your glance installation, you 
should see categories for existing metadata definitions under "Available 
Metadata".
  - Add a metadata item from the "Available Metadata" categories, such as 
"Common Operating System Properties" -> "OS Version". Give it a value and Save 
the change. This works fine.
  - Select the "Update Metadata" button for the same image and note that the 
metadata item you just added (such as os_version) now appears in the "Existing 
Metadata" section.
  - Remove the metadata item and click Save.
  - No errors are displayed and no errors are written to the Horizon logs.
  - Select the "Update Metadata" button for the same image and note that the 
metadata item you just tried to remove is still there.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1618578/+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