← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1438154] [NEW] Creating metadef object without properties raises 500 error

 

Public bug reported:

When you try to create a metadef object without any properties
associated with it you get an Internal Server Error 500:

glance md-object-create --name obj_name --schema '{"description": "some
desc"}' OS::Software::DBMS

AttributeError: 'NoneType' object has no attribute 'iteritems'

The object itself is created successfully, but the notification is not
fired.

** Affects: glance
     Importance: Undecided
     Assignee: Kamil Rykowski (kamil-rykowski)
         Status: In Progress


** Tags: metadef

** Changed in: glance
     Assignee: (unassigned) => Kamil Rykowski (kamil-rykowski)

** Changed in: glance
       Status: New => In Progress

** Tags added: metadef

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

Title:
  Creating metadef object without properties raises 500 error

Status in OpenStack Image Registry and Delivery Service (Glance):
  In Progress

Bug description:
  When you try to create a metadef object without any properties
  associated with it you get an Internal Server Error 500:

  glance md-object-create --name obj_name --schema '{"description":
  "some desc"}' OS::Software::DBMS

  AttributeError: 'NoneType' object has no attribute 'iteritems'

  The object itself is created successfully, but the notification is not
  fired.

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


Follow ups

References