[openstack-dev] [Monasca] "The server is currently unavailable. on Monasca service

Pradip Mukhopadhyay pradip.interra at gmail.com
Thu Jun 2 04:56:29 UTC 2016


Hello,


I am seeing the following issue after installing Monasca recently as a
devstack environment"


stack at scsor0002143001-pradipm:~/devstack$ 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"}


stack at scsor0002143001-pradipm:~/devstack$ openstack user list
+----------------------------------+---------------+
| ID                               | Name          |
+----------------------------------+---------------+
| f29f1814fbc34855ba684a2810434580 | admin         |
| a9c0c928caff4345b2aa266a30397487 | demo          |
| f172a9e25d2542c895fbc43d73164a9d | alt_demo      |
| 6cfdec260fe94c4487071f9e7915b359 | nova          |
| 1a66c71e946442f2a061c88cef566c30 | glance        |
| bdb1aed519504b249cffd27a2c05f0fa | cinder        |
| 5c9cf5cedcb244dbafbe272f691eaf2f | mini-mon      |
| a349c41c99fa447b96d1d2a56b12c3d4 | monasca-agent |
+----------------------------------+---------------+


Here is the local.conf that I have used:



# BEGIN DEVSTACK LOCAL.CONF CONTENTS

[[local|localrc]]
ADMIN_PASSWORD=netapp
MYSQL_PASSWORD=$ADMIN_PASSWORD
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
GUEST_PASSWORD=$ADMIN_PASSWORD
MYSQL_HOST=127.0.0.1
MYSQL_USER=root
RABBIT_HOST=127.0.0.1
SERVICE_TOKEN=111222333444

LOGFILE=$DEST/logs/stack.sh.log
LOGDIR=$DEST/logs
LOG_COLOR=False
SCREEN_LOGDIR=$DEST/logs/screen
LOGDAYS=1

# The following two variables allow switching between Java and Python for
the implementations
# of the Monasca API and the Monasca Persister. If these variables are not
set, then the
# default is to install the Python implementations of both the Monasca API
and the Monasca Persister.

# Uncomment one of the following two lines to choose Java or Python for the
Monasca API.
#MONASCA_API_IMPLEMENTATION_LANG=${MONASCA_API_IMPLEMENTATION_LANG:-java}
MONASCA_API_IMPLEMENTATION_LANG=${MONASCA_API_IMPLEMENTATION_LANG:-python}

# Uncomment of the following two lines to choose Java or Python for the
Monasca Pesister.
#MONASCA_PERSISTER_IMPLEMENTATION_LANG=${MONASCA_PERSISTER_IMPLEMENTATION_LANG:-java}
MONASCA_PERSISTER_IMPLEMENTATION_LANG=${MONASCA_PERSISTER_IMPLEMENTATION_LANG:-python}

MONASCA_METRICS_DB=${MONASCA_METRICS_DB:-influxdb}
# MONASCA_METRICS_DB=${MONASCA_METRICS_DB:-vertica}

# This line will enable all of Monasca.
enable_plugin monasca-api git://git.openstack.org/openstack/monasca-api







--pradip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160602/d695f943/attachment.html>


More information about the OpenStack-dev mailing list