← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: glance
     Importance: Undecided
         Status: New

-- 
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 OpenStack Image Registry and Delivery Service (Glance):
  New

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/glance/+bug/1395207/+subscriptions


Follow ups

References