← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1395207] Re: glance create-image returned error message contains html keys.

 

After some discussion in IRC, we've come to the conclusion that this is
more of a feature for glanceclient since it should strip out the html.
As I said above, we're not accepting improvements to v1, so I've removed
the fact that this affects glance.

** Project changed: glance => python-glanceclient

** Changed in: python-glanceclient
   Importance: Undecided => Wishlist

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

Title:
  glance create-image returned error message contains html keys.

Status in Python client library for Glance:
  Incomplete

Bug description:
  OpenStack version: Juno

  localadmin@qa4:~/devstack$ nova-manage version
  2014.2.1

  Issue: when "glance create-image" operation fails, the returned error
  message contains html keys.

  localadmin@qa4:~/devstack$ glance image-create --name stcva_4.46 --is-public true --disk-format qcow2 --container-format bare --file /home/localadmin/latest.img 
  <html>
   <head>
    <title>403 Forbidden</title>
   </head>
   <body>
    <h1>403 Forbidden</h1>
    Access was denied to this resource.<br /><br />

   </body>
  </html> (HTTP 403)

  NOTE: operation fails because tenant demo does not has "admin" role.
  Could use a better error message to reflect the actual failure.

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-glanceclient/+bug/1395207/+subscriptions


References