← Back to team overview

yahoo-eng-team team mailing list archive

[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