Ask Your Question

Amir's profile - activity

2014-08-20 16:08:05 -0500 received badge  Famous Question (source)
2014-07-01 17:31:10 -0500 received badge  Notable Question (source)
2014-07-01 17:31:10 -0500 received badge  Popular Question (source)
2014-06-02 02:47:10 -0500 answered a question "Error: Service key is not running" in multi-node Devstack installation

Thanks Itzik, this indeed solved the problem :-) I didn't use the particular services you suggested, but removing most of the services did the trick. I will probably need to restore some of them later, but this is great for the time being.

2014-06-01 04:34:21 -0500 commented question "Error: Service key is not running" in multi-node Devstack installation

Thanks, I tried but no change. Perhaps I am configuring the compute node wrong. Perhaps "key" is not required at the compute node, because its services are provided by the controller, and I should somehow configure the installation to reflect this?

2014-05-29 10:35:16 -0500 asked a question "Error: Service key is not running" in multi-node Devstack installation


I am new to Openstack, and I am trying to install a two-node Devstack using two virtual machines instances. The controller installation seems to work fine, but when I install the compute node, the installation fails at 'Error: Service key is not running'. Details are provided below.

I spent all day on this, help would be very gratefully appreciated :)

Thanks! Amir

Following is my local.conf for the controller node:

# Sample ``local.conf`` for user-configurable variables in ````

# NOTE: Copy this file to the root ``devstack`` directory for it to
# work properly.

# ``local.conf`` is a user-maintained setings file that is sourced from ``stackrc``.
# This gives it the ability to override any variables set in ``stackrc``.
# Also, most of the settings in ```` are written to only be set if no
# value has already been set; this lets ``local.conf`` effectively override the
# default values.

# This is a collection of some of the settings we have found to be useful
# in our DevStack development environments. Additional settings are described
# in
# These should be considered as samples and are unsupported DevStack code.

# The ``localrc`` section replaces the old ``localrc`` configuration file.
# Note that if ``localrc`` is present it will be used in favor of this section.

# Minimal Contents
# ----------------

# While ```` is happy to run without ``localrc``, devlife is better when
# there are a few minimal variables set:

# If the ``*_PASSWORD`` variables are not set here you will be prompted to enter
# values for them by ```` and they will be added to ``local.conf``.

# ``HOST_IP`` should be set manually for best results if the NIC configuration
# of the host is unusual, i.e. ``eth1`` has the default route but ``eth0`` is the
# public interface.  It is auto-detected in ```` but often is indeterminate
# on later runs due to the IP moving from an Ethernet interface to a bridge on
# the host. Setting it here also makes it available for ``openrc`` to include
# when setting ``OS_AUTH_URL``.
# ``HOST_IP`` is not set by default.

# Logging
# -------

# By default ```` output only goes to the terminal where it runs.  It can
# be configured to additionally log to a file by setting ``LOGFILE`` to the full
# path of the destination log file.  A timestamp will be appended to the given name.

# Old log files are automatically removed after 7 days to keep things neat.  Change
# the number of days by setting ``LOGDAYS``.

# Nova logs will be colorized if ``SYSLOG`` is not set; turn this off by setting
# ``LOG_COLOR`` false.

# Using milestone-proposed branches
# ---------------------------------

# Uncomment these to grab the milestone-proposed branches from the repos:
#NOVACLIENT_BRANCH=milestone-proposed ...
2014-05-27 11:29:53 -0500 received badge  Taxonomist
2014-04-24 11:06:49 -0500 commented answer ConnectionError at /admin

Thanks for your devoted help - I eventually re-installed devstack and played around with the local.conf, and adding SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50 (borrowed from devstack's installation web instructions) appears to have done the trick. I am still not familiar enough with devstack to know why.

2014-04-08 05:54:48 -0500 received badge  Enthusiast
2014-04-03 10:20:31 -0500 received badge  Famous Question (source)
2014-04-02 11:00:35 -0500 commented answer ConnectionError at /admin

Thanks again for your elaborate help.

I checked the logs, and a few minutes earlier than the above error I found:

4a4a3088 HTTP/1.1" 404 116 from (pid=6508) _make_request /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/
2014-04-02 17:36:14.642 WARNING keystoneclient.middleware.auth_token [-] Authorization failed for token da41b33e37f2f
2014-04-02 17:36:14.643 DEBUG keystoneclient.middleware.auth_token [-] Token validation failure. from (pid
=6508) _validate_user_token /opt/stack/python-keystoneclient/keystoneclient/middleware/
2014-04-02 17:36:14.643 TRACE keystoneclient.middleware.auth_token Traceback (most recent call last):
2014-04-02 17:36:14.643 TRACE keystoneclient.middleware.auth_token   File "/opt/stack/python-keystoneclient/keystoneclient/middleware/", line 839, in _validate_user_token
2014-04-02 17:36:14.643 TRACE keystoneclient.middleware.auth_token     data = self.verify_uuid_token(user_token, retry)
2014-04-02 17:36:14.643 TRACE keystoneclient.middleware.auth_token   File "/opt/stack/python-keystoneclient/keystoneclient/middleware/", line ...
2014-04-02 09:52:18 -0500 commented answer ConnectionError at /admin

Thanks - I managed to record the logs to files using your suggestions. The Nova log seems fine, but I found the following error in the Horizon log. Does it give a clue?

[Wed Apr 02 14:44:11 2014] [error] 
[Wed Apr 02 14:44:11 2014] [error] REQ: curl -i '' -X GET -H "X-Auth-Project-Id: 9cefc3f98fdd4a96a30c129980f9a45e" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: 0c2d8b2e1e5a473a419082d81b6bd199"
[Wed Apr 02 14:44:11 2014] [error] 
[Wed Apr 02 14:44:14 2014] [error] Internal Server Error: /admin/
[Wed Apr 02 14:44:14 2014] [error] Traceback (most recent call last):
[Wed Apr 02 14:44:14 2014] [error]   File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/", line 111, in get_response
[Wed Apr 02 14:44:14 2014] [error]     response = callback(request, *callback_args, **callback_kwargs)
[Wed Apr 02 14:44 ...
2014-04-02 04:44:25 -0500 commented answer ConnectionError at /admin

Thanks. I am new to OpenStack and using DevStack. I could not find any nova logs - could you give a pointer? (I couldn't find anything under /var/log).

2014-04-02 03:09:28 -0500 received badge  Notable Question (source)
2014-04-01 06:04:57 -0500 received badge  Popular Question (source)
2014-04-01 03:24:42 -0500 received badge  Editor (source)
2014-03-31 15:10:18 -0500 commented question ConnectionError at /admin

Thanks but no, it doesn't seem to be related. I also tried their suggestion (downgrading django) and it did not help. Amir

2014-03-30 11:21:04 -0500 asked a question ConnectionError at /admin


I am new to OpenStack, and I am installing DevStack.

After entering my name ("admin") and password at the login screen, I almost always get the following error: "ConnectionError at /admin/" with additional data as provided below.

Sometimes (rarely), I do get through, and to the dashboard. However, even then, after a short while playing around with the options on the dashboard, I get a "ConnectError".

The details I typically get are as follows:

ConnectionError at /admin/

HTTPConnectionPool(host='', port=8774): Max retries exceeded with url: /v2/539f650684d04815ac63eb1fe907e938/os-simple-tenant-usage?start=2014-03-30T00:00:00&end=2014-03-30T23:59:59&detailed=1 (Caused by <class 'httplib.BadStatusLine'>: '')

Request Method:     GET
Request URL:
Django Version:     1.5.5
Exception Type:     ConnectionError
Exception Value:    

HTTPConnectionPool(host='', port=8774): Max retries exceeded with url: /v2/539f650684d04815ac63eb1fe907e938/os-simple-tenant-usage?start=2014-03-30T00:00:00&end=2014-03-30T23:59:59&detailed=1 (Caused by <class 'httplib.BadStatusLine'>: '')

Exception Location:     /usr/local/lib/python2.7/dist-packages/requests/ in send, line 378
Python Executable:  /usr/bin/python
Python Version:     2.7.3
Python Path:    


Any ideas?

Thanks, Amir