[Openstack] openstack - Ceilometer error - [root at compute1 ceilometer]# ceilometer meter-list Error communicating with http://controller:8777 [Errno 111] Connection refused

dhanesh1212121212 dhanesh1212 at gmail.com
Tue May 27 09:13:59 UTC 2014


Hi All,


8777 port is not up i started all the service.

I have followed the icehouse document for fedora.


[root at controller ~]# /etc/init.d/openstack-ceilometer-api restart
Stopping openstack-ceilometer-api:                         [FAILED]
Starting openstack-ceilometer-api:                         [  OK  ]
[root at controller ~]# /etc/init.d/openstack-ceilometer-api restart
Stopping openstack-ceilometer-api:                         [  OK  ]
Starting openstack-ceilometer-api:                         [  OK  ]
[root at controller ~]# netstat -atlpn | grep 8777

note: not showing the 8777 port

ceilometer service  status


[root at controller ~]# /etc/init.d/openstack-ceilometer-api status
openstack-ceilometer-api dead but pid file exists

[root at controller ~]# /etc/init.d/openstack-ceilometer-central status
openstack-ceilometer-central dead but pid file exists

[root at controller ~]# /etc/init.d/openstack-ceilometer-collector status
openstack-ceilometer-collector (pid  8905) is running...

[root at controller ~]# /etc/init.d/openstack-ceilometer-notification status
openstack-ceilometer-agent-notification (pid  10307) is running...


[root at controller ~]# /etc/init.d/openstack-ceilometer-alarm-notifier status
openstack-ceilometer-alarm-notifier (pid  8947) is running...

[root at controller ~]# /etc/init.d/openstack-ceilometer-alarm-evaluator status
openstack-ceilometer-alarm-evaluator (pid  8926) is running...





Attaching the ceilometer.conf file along with this mail. Please fing the
attachment.



Verify the Telemetry installation

To test the Telemetry installation, download an image from the Image
Service, and use the *ceilometer* command to display usage statistics.

   1.

   Use the ceilometer meter-list command to test the access to Telemetry:

   $ ceilometer meter-list



Error:

 ceilometer meter-list
Error communicating with http://controller:8777 [Errno 111] Connection
refused


Regards,
Dhanesh.


On Tue, May 20, 2014 at 3:04 PM, Eoghan Glynn <eglynn at redhat.com> wrote:

>
> What's your configured database connection?
>
> (in /etc/ceilometer/ceilometer.conf)
>
> If its a sqlalchemy-based URL (e.g. mysql or postgres) have you run
> ceilometer-dbsync?
>
> (either directly, or a side-effect of the installation process)
>
>
> ----- Original Message -----
> > Hi All,
> >
> > ps -fe | grep ceilometer-api
> >
> > No process is running.
> >
> > status is showing its dead.
> >
> >
> > Api Error log.
> >
> > [root at controller ceilometer]# tailf api.log
> > 2014-05-20 14:42:39.476 10768 WARNING
> keystoneclient.middleware.auth_token
> > [-] Configuring auth_uri to point to the public identity endpoint is
> > required; clients may not be able to authenticate against an admin
> endpoint
> > 2014-05-20 14:42:39.477 10768 INFO keystoneclient.middleware.auth_token
> [-]
> > Using /tmp/keystone-signing-w05DPS as cache directory for signing
> > certificate
> > 2014-05-20 14:42:39.877 10768 CRITICAL ceilometer [-] OperationalError:
> > (OperationalError) unable to open database file None None
> >
> > 2014-05-20 14:49:47.686 12502 INFO keystoneclient.middleware.auth_token
> [-]
> > Starting keystone auth_token middleware
> > 2014-05-20 14:49:47.687 12502 WARNING
> keystoneclient.middleware.auth_token
> > [-] Configuring admin URI using auth fragments. This is deprecated, use
> > 'identity_uri' instead.
> > 2014-05-20 14:49:47.687 12502 WARNING
> keystoneclient.middleware.auth_token
> > [-] Configuring auth_uri to point to the public identity endpoint is
> > required; clients may not be able to authenticate against an admin
> endpoint
> >
> > 2014-05-20 14:49:47.688 12502 INFO keystoneclient.middleware.auth_token
> [-]
> > Using /tmp/keystone-signing-zXbRzr as cache directory for signing
> > certificate
> > 2014-05-20 14:49:48.080 12502 CRITICAL ceilometer [-] OperationalError:
> > (OperationalError) unable to open database file None None
> >
> >
> >
> > Regards,
> > Dhanesh.
> >
> >
> >
> >
> > On Tue, May 20, 2014 at 1:29 PM, Eoghan Glynn <eglynn at redhat.com> wrote:
> >
> > >
> > >
> > > > Hi All,
> > > >
> > > > Please find the error iam getting after finishing the ceilometer
> > > > configuration in controller and compute.
> > > >
> > > > Error:
> > > >
> > > > [root at compute1 ceilometer]# ceilometer meter-list
> > > > Error communicating with http://controller:8777 [Errno 111]
> Connection
> > > > refused
> > > >
> > > > I have started all the services. I noticed 8777 port is not
> listening.
> > > >
> > > > Please gimme some advice.
> > >
> > > Check if the ceilometer-api service is actually running on the expected
> > > node.
> > >
> > > e.g. on Fedora and derivatives with RPMs installed:
> > >
> > >   $ sudo service openstack-ceilometer-api status
> > >
> > > elsewhere:
> > >
> > >   $ ps -fe | grep ceilometer-api
> > >
> > > Also check your firewall rules to ensure that the ceilometer-api
> endpoint
> > > (i.e. port 8777) is accessible from the host on which you run the
> client.
> > >
> > > Cheers,
> > > Eoghan
> > >
> > > > I have finished almost all except ceilometer.
> > > >
> > > > Attaching the output of #ceilometer --debug meter-list
> > > >
> > > > Regards,
> > > > Dhanesh
> > >
> > >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140527/494bf463/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ceilometer.conf
Type: application/octet-stream
Size: 26180 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140527/494bf463/attachment.obj>


More information about the Openstack mailing list