Ask Your Question
1

Unable to start aodh-api

asked 2017-09-06 18:03:05 -0500

Asghar0819 gravatar image

I am following the guide (https://docs.openstack.org/project-install-guide/telemetry-alarming/ocata/get_started.html (https://docs.openstack.org/project-in...)) to install Telemetry and Alarming Service aodh on Ocata.

When I attempt to start aodh-api I am getting the following error.

root@Controller-1:/var/log/aodh# service aodh-api restart Failed to restart aodh-api.service: Unit aodh-api.service not found.

When I check the status of aodh I am getting the below information.

root@Controller-1:/var/log/aodh# dpkg --list | grep aodh ii aodh-api 4.0.0-0ubuntu2~cloud0 all OpenStack Telemetry (Ceilometer) Alarming - API server ii aodh-common 4.0.0-0ubuntu2~cloud0 all OpenStack Telemetry (Ceilometer) Alarming - common files ii aodh-evaluator 4.0.0-0ubuntu2~cloud0 all OpenStack Telemetry (Ceilometer) Alarming - alarm evaluator ii aodh-expirer 4.0.0-0ubuntu2~cloud0 all OpenStack Telemetry (Ceilometer) Alarming - expirer ii aodh-listener 4.0.0-0ubuntu2~cloud0 all OpenStack Telemetry (Ceilometer) Alarming - listener ii aodh-notifier 4.0.0-0ubuntu2~cloud0 all OpenStack Telemetry (Ceilometer) Alarming - alarm notifier ii python-aodh 4.0.0-0ubuntu2~cloud0 all OpenStack Telemetry (Ceilometer) Alarming - Python libraries ii python-aodhclient 0.8.0-0ubuntu1~cloud0 all OpenStack Alarming as a Service - Python 2.7 client

root@Controller-1:/var/log/aodh# apt list --installed | grep aodh

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

aodh-api/xenial-updates,xenial-updates,now 4.0.0-0ubuntu2~cloud0 all [installed]enter code here aodh-common/xenial-updates,xenial-updates,now 4.0.0-0ubuntu2~cloud0 all [installed,automatic] aodh-evaluator/xenial-updates,xenial-updates,now 4.0.0-0ubuntu2~cloud0 all [installed] aodh-expirer/xenial-updates,xenial-updates,now 4.0.0-0ubuntu2~cloud0 all [installed] aodh-listener/xenial-updates,xenial-updates,now 4.0.0-0ubuntu2~cloud0 all [installed] aodh-notifier/xenial-updates,xenial-updates,now 4.0.0-0ubuntu2~cloud0 all [installed] python-aodh/xenial-updates,xenial-updates,now 4.0.0-0ubuntu2~cloud0 all [installed,automatic] python-aodhclient/xenial-updates,xenial-updates,now 0.8.0-0ubuntu1~cloud0 all [installed]

Any suggestion to correct start aodh-api is greatly appreciated.

edit retag flag offensive close merge delete

Comments

I have a devstack deployment that doesn't have an aodh-api service either. The API processes are, however, running; they are started by Apache:

$ ps -ef|grep aodh-api
ubuntu     375  2058  0 06:25 ?        00:00:01 (wsgi:aodh-api)   -k start

PID 2058 is /usr/sbin/apache2 -k start.

Bernd Bausch gravatar imageBernd Bausch ( 2017-12-08 21:10:54 -0500 )edit

4 answers

Sort by ยป oldest newest most voted
0

answered 2017-10-13 10:45:34 -0500

gaXma gravatar image

we're facing the exact same problem under ocata. were you able to find a solution? thanks.

edit flag offensive delete link more
0

answered 2017-12-11 14:17:37 -0500

timi gravatar image

aodh api is running under apache wsgi, default port is 8042, is it open?

edit flag offensive delete link more
0

answered 2017-12-08 08:34:29 -0500

br gravatar image

Is there any update on this issue. I am facing same issue in pika version.

edit flag offensive delete link more
0

answered 2019-05-02 05:01:38 -0500

pzk_j gravatar image

Instead of following above method, there is an easier way to install aodh.

You can simply add below line in local.conf enable_plugin aodh https://git.openstack.org/openstack/aodh

Reference: https://ask.openstack.org/en/question/116895/how-to-configure-devstack-with-ceilometer-gnocchi-and-aodh-components/ (https://ask.openstack.org/en/question...)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-09-06 18:03:05 -0500

Seen: 607 times

Last updated: Dec 11 '17