Monasca API fails even with env variables set

Bug #1650242 reported by sanjana
6
This bug affects 1 person
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_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:35357/v3
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"}

Revision history for this message
Ryan (ryan-brandt) wrote :

Can you provide the API logs regarding this error?

Ryan (ryan-brandt)
Changed in monasca:
status: New → Incomplete
sanjana (sanjana)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.