← Back to team overview

openstack team mailing list archive

ceilometer-agent-central starting fail

 

Hi all:

I have just install ceilometer grizzly github version, but fail to
start ceilometer-agent-central service. I think it is due to that I didn't
set up the keystone user/password like other projects. but I follow the
instructions(
http://docs.openstack.org/developer/ceilometer/install/manual.html#configuring-keystone-to-work-with-api)
but it does not include the ceilometer configuration.

# service ceilometer-agent-central start
ceilometer-agent-central start/running, process 5679

# cat /etc/init/ceilometer-agent-central.conf
description "ceilometer-agent-compute"
author "Chuck Short <zulcss@xxxxxxxxxx>"

start on runlevel [2345]
stop on runlelvel [!2345]

chdir /var/run

pre-start script
mkdir -p /var/run/ceilometer
chown ceilometer:ceilometer /var/run/ceilometer

mkdir -p /var/lock/ceilometer
chown ceilometer:ceilometer /var/lock/ceilometer
end script

exec start-stop-daemon --start --chuid ceilometer --exec
/usr/local/bin/ceilometer-agent-central


/var/log/ceilometer/ceilometer-agent-central.log
2013-04-10 13:01:39    ERROR [ceilometer.openstack.common.loopingcall] in
looping call
Traceback (most recent call last):
  File
"/usr/local/lib/python2.7/dist-packages/ceilometer-2013.1-py2.7.egg/ceilometer/openstack/common/loopingcall.py",
line 67, in _inner
    self.f(*self.args, **self.kw)
  File
"/usr/local/lib/python2.7/dist-packages/ceilometer-2013.1-py2.7.egg/ceilometer/central/manager.py",
line 76, in interval_task
    auth_url=cfg.CONF.os_auth_url)
  File
"/usr/local/lib/python2.7/dist-packages/python_keystoneclient-0.2.3.1.g3a3e254-py2.7.egg/keystoneclient/v2_0/client.py",
line 134, in __init__
    self.authenticate()
  File
"/usr/local/lib/python2.7/dist-packages/python_keystoneclient-0.2.3.1.g3a3e254-py2.7.egg/keystoneclient/client.py",
line 205, in authenticate
    token)
  File
"/usr/local/lib/python2.7/dist-packages/python_keystoneclient-0.2.3.1.g3a3e254-py2.7.egg/keystoneclient/v2_0/client.py",
line 174, in get_raw_token_from_identity_service    token=token)
  File
"/usr/local/lib/python2.7/dist-packages/python_keystoneclient-0.2.3.1.g3a3e254-py2.7.egg/keystoneclient/v2_0/client.py",
line 202, in _base_authN
    resp, body = self.request(url, 'POST', body=params, headers=headers)
  File
"/usr/local/lib/python2.7/dist-packages/python_keystoneclient-0.2.3.1.g3a3e254-py2.7.egg/keystoneclient/client.py",
line 366, in request
    raise exceptions.from_response(resp, resp.text)
Unauthorized: Unable to communicate with identity service: {"error":
{"message": "Invalid user / password", "code": 401, "title": "Not
Authorized"}}. (HTTP 401)
2013-04-10 13:01:39    ERROR [ceilometer.openstack.common.threadgroup]
Unable to communicate with identity service: {"error": {"message": "Invalid
user / password", "code": 401, "title": "Not Authorized"}}. (HTTP 401)

Follow ups