Hi every one,

When I source adminrc and then execute glance image-list command, I get the
required result, however the corresponding CURL is giving the following
error using the following command:

*command:*
curl -i -X GET -u admin:openstack -H 'Accept-Language: zh' -H
'Content-Type: application/json' http://127.0.0.1:9292/v2/images/


*Error:*
HTTP/1.1 401 Unauthorized
Content-Length: 358
Content-Type: text/html; charset=UTF-8
Www-Authenticate: Keystone uri='http://45.55.69.60:5000/v2.0'
Date: Fri, 17 Jul 2015 07:09:48 GMT

<html>
 <head>
  <title>401 Unauthorized</title>
 </head>
 <body>
  <h1>401 Unauthorized</h1>
  This server could not verify that you are authorized to access the
document you requested. Either you supplied the wrong credentials (e.g.,
bad password), or your browser does not understand how to supply the
credentials required.<br /><br />


Any clue, as glance image-list command is perfectly working fine.

Thanks
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to