[Openstack] openstack - Ceilometer error - [root at compute1 ceilometer]# ceilometer meter-list Error communicating with http://controller:8777 [Errno 111] Connection refused
Eoghan Glynn
eglynn at redhat.com
Tue May 20 09:34:42 UTC 2014
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
> >
> >
>
More information about the Openstack
mailing list