Comment 0 for bug 1650242

Revision history for this message
sanjana (sanjana) wrote :

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_NAME=RegionOne
OS_AUTH_TOKEN=gAAAAABYUnSDrBQ90F3T154wsVD20vnBb9z9AD7zUmunGbMUzqD_JKLldYcy1V5wBDlPtaitO-emDPEYrSaH_Dd1fdBLCoNpw6XC3P4rrAjdRKrLioaU1MzImq5r5ZNehXq8DsloKYiN--cLy-1XnLLqYI8EIBuIAQ
OS_USER_DOMAIN_NAME=Default
OS_PROJECT_NAME=admin
OS_IDENTITY_API_VERSION=2.0
OS_PASSWORD=ubuntu
OS_AUTH_URL=http://127.0.0.1:5000/v2.0
OS_USERNAME=admin
OS_TENANT_NAME=admin
OS_VOLUME_API_VERSION=2
OS_NO_CACHE=1
LESSCLOSE=/usr/bin/lesspipe %s %s
OS_PROJECT_DOMAIN_NAME=Default

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"}