Comment 2 for bug 1438154

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/168873
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=374d50a56e2c6883798ddb4391ba52eb004adddd
Submitter: Jenkins
Branch: master

commit 374d50a56e2c6883798ddb4391ba52eb004adddd
Author: Kamil Rykowski <email address hidden>
Date: Mon Mar 30 14:16:57 2015 +0200

    Creating metadef object without any properties

    Creating a metadef object without any properties associated with it
    raises an Internal Server Error. It is easily reproducible by running
    following glanceclient command:

    glance --os-image-api-version 2 md-object-create --name obj_name
    --schema '{"description": "some desc"}' OS::Software::DBMS

    The metadef object itself is created successfully, but the notification
    is not fired and the response has code 500. Proposed patch fixes it by
    making sure that notification system won't iterate over None value.

    Change-Id: I591801d80d9cb2738dc3d27d7719fcc53a3d0645
    Closes-Bug: 1438154