Monasca API fails even with env variables set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Monasca |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
I have installed devstack with monasca on ubuntu 14.04.
When I try to run the commands from the CLI I get the following error:
root@monasca:~# monasca metric-list
ERROR (exc:80) exception: {"message": "The server is currently unavailable. Please try again at a later time.<br /><br />\n\n\n", "code": "503 Service Unavailable", "title": "Service Unavailable"}
HTTPException code=503 message={"message": "The server is currently unavailable. Please try again at a later time.<br /><br />\n\n\n", "code": "503 Service Unavailable", "title": "Service Unavailable"}
Further in one of the guides, it was told that when keystone is not enabled, we can set the OS_AUTH_URL and environment variables to run the commands.
I have set the OS_AUTH_TOKEN.
OS_REGION_
OS_AUTH_
OS_USER_
OS_PROJECT_
OS_IDENTITY_
OS_PASSWORD=ubuntu
OS_AUTH_URL=http://
OS_USERNAME=admin
OS_TENANT_
OS_VOLUME_
OS_NO_CACHE=1
LESSCLOSE=
OS_PROJECT_
Inspite of this, when I run the command on the CLI it fails.
root@monasca:~# monasca metric-list
ERROR (exc:80) exception: {"message": "The server is currently unavailable. Please try again at a later time.<br /><br />\n\n\n", "code": "503 Service Unavailable", "title": "Service Unavailable"}
HTTPException code=503 message={"message": "The server is currently unavailable. Please try again at a later time.<br /><br />\n\n\n", "code": "503 Service Unavailable", "title": "Service Unavailable"}
Changed in monasca: | |
status: | New → Incomplete |
description: | updated |
Can you provide the API logs regarding this error?