yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #29703
[Bug 1433884] [NEW] Glance Metadata Object update doesn't work from python glance client
Public bug reported:
Updating Metadef namespace object from python glanceclient throws an 403
error
Assuming you have an existing namespace("namespace1") and existing object("object1") within that namespace, try this command to update the object properties.
glance --os-image-api-version 2 md-object-update --name object1
--schema '{"name": "object1","properties": {"prop1": {"type":
"string","title": "My object20 property1"}}}' namespace1 object1
Above command will result in 403 error.
"403 Forbidden: Attribute 'schema' is read-only. (HTTP 403)"
python-glanceclient version: Latest master branch.
** Affects: python-glanceclient
Importance: Undecided
Assignee: Lakshmi N Sampath (lakshmi-sampath)
Status: In Progress
** Tags: glance
** Changed in: glance
Assignee: (unassigned) => Lakshmi N Sampath (lakshmi-sampath)
** Project changed: glance => python-glanceclient
** Changed in: python-glanceclient
Status: New => In Progress
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1433884
Title:
Glance Metadata Object update doesn't work from python glance client
Status in Python client library for Glance:
In Progress
Bug description:
Updating Metadef namespace object from python glanceclient throws an
403 error
Assuming you have an existing namespace("namespace1") and existing object("object1") within that namespace, try this command to update the object properties.
glance --os-image-api-version 2 md-object-update --name object1
--schema '{"name": "object1","properties": {"prop1": {"type":
"string","title": "My object20 property1"}}}' namespace1 object1
Above command will result in 403 error.
"403 Forbidden: Attribute 'schema' is read-only. (HTTP 403)"
python-glanceclient version: Latest master branch.
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-glanceclient/+bug/1433884/+subscriptions
Follow ups
References