the nova endpoint URL is throwing error
I am using ubuntu 11.04 machine and installed the nova compute,identity and dashbaord service in the same machine.I have used single machine to install all the component of open-stack. I am using 2011.3 version of open-stack. I have created tenant,user in the keystone.I have defined the services and the endpoints as well.
Here is the output of following commands:
root@XXX:/var/log# keystone-manage endpointTemplates list
output:
--------
service region Public URL
-------
nova RegionOne http://
keystone RegionOne http://
glance RegionOne http://
root@XXX:/var/log# keystone-manage token list
output:
--------
token user expiration tenant
-------
111213141516171
999888777666 3 2015-02-05 00:00:00 1
77da154a-
root@XXX:
output:
-----------
{
"access": {
{
],
},
{
],
},
{
],
}
],
"token": {
"id": "77da154a-
}
},
"user": {
"id": "1",
"name": "adminUser",
{
},
{
},
{
}
]
}
}
}
So I got the token from the abode command.
Now I have used the curl command to validate the nova and glance endpoint URL.
root@XXX:
output:
-----------
About to connect() to localhost port 8774 (#0)
* Trying ::1... Connection refused
* Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 8774 (#0)
> GET /v1.1 HTTP/1.1
> User-Agent: curl/7.21.3 (xXX-pc-linux-gnu) libcurl/7.21.3 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18
> Host: localhost:8774
> Accept: */*
> X-Auth-
>
< HTTP/1.1 401 Unauthorized
< Content-Length: 358
< Content-Type: text/html; charset=UTF-8
< Date: Thu, 24 May 2012 12:14:03 GMT
<
<html>
<head>
<title>401 Unauthorized<
</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 />
</body>
* Connection #0 to host localhost left intact
* Closing connection #0
But I have used the latest valid token.I have configured the api-paste.ini as well.
Please help me to resolve this issue.
Thanks in Advance!!
Thanks,
Arpita
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Arpita for more information if necessary.