[Yahoo-eng-team] [Bug 1398838] Re: Errors should not print json
** Changed in: python-glanceclient Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1398838 Title: Errors should not print json Status in OpenStack Image Registry and Delivery Service (Glance): Triaged Status in Python client library for Glance: Fix Released Bug description: When I try to use glanceclient to upload an image and it does not work, glanceclient should not print json. mordred@mordred-irc:~/system-config$ glance image-create --name=test-monty-ubuntu --disk-format=vhd --container-format=bare --file=ubuntu.vhd { overLimit : { code : 413, message : OverLimit Retry..., details : Error Details..., retryAt : 2014-12-03T13:33:06Z } } (HTTP 413) A nice error message would be better. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1398838/+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
[Yahoo-eng-team] [Bug 1398838] Re: Errors should not print json
I'm pretty sure this should also be fixed on glance's end. It would see these are errors that are being raised without an explicit response body so webob uses a pre-filled HTML response body. We should find these and eradicate them as any other client will not be expecting HTML to be returned as a response from glance-api ** Also affects: glance Importance: Undecided Status: New ** Changed in: glance Assignee: (unassigned) = Ian Cordasco (icordasc) ** Changed in: glance Milestone: None = kilo-3 ** Changed in: glance Importance: Undecided = Medium ** Changed in: glance Status: New = Triaged -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1398838 Title: Errors should not print json Status in OpenStack Image Registry and Delivery Service (Glance): Triaged Status in Python client library for Glance: In Progress Bug description: When I try to use glanceclient to upload an image and it does not work, glanceclient should not print json. mordred@mordred-irc:~/system-config$ glance image-create --name=test-monty-ubuntu --disk-format=vhd --container-format=bare --file=ubuntu.vhd { overLimit : { code : 413, message : OverLimit Retry..., details : Error Details..., retryAt : 2014-12-03T13:33:06Z } } (HTTP 413) A nice error message would be better. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1398838/+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