我使用Ubuntu 12.04和運行OpenStack的,我已經爲NOVA-API的環境變量,以命令行的工作即新星名單,新星風味列表等完美的工作,但是當我嘗試使用捲曲:無法通過捲曲用新星,需要驗證
curl -i http://192.168.1.130:8774/v2/f0c12be83d214d8a9d87ae731dd81ec1/images/detail -X
GET -H "X-Auth-Project-Id: admin" -H "User-Agent: python-novaclient" -
H"Accept:application/json" -H "X-Auth-Token: XXXXX"
的響應是:
HTTP/1.1 401 Unauthorized
Www-Authenticate: Keystone uri='http://192.168.1.130:35357'
Content-Type: text/plain
Content-Length: 23
Date: Sat, 19 Oct 2013 12:13:05 GMT
Authentication required
Envs是:
export OS_USERNAME=admin
export OS_PASSWORD=openstack
export OS_AUTH_URL=http:192.168.1.130:35357/v2.0
export OS_TENANT_NAME=admin
任何人都可以幫助我嗎?