Re: [openstack-dev] [Ceilometer] Collector no recheck the db status

2014-04-03 Thread dong jia
I report a bug in : https://bugs.launchpad.net/ceilometer/+bug/1301777


On Wed, Apr 2, 2014 at 10:53 PM, Gordon Chung chu...@ca.ibm.com wrote:

  I found that when collector service starting, if the db has not yet
  ready, it will log an error info like 'Could not load 'database':
  could not connect to...' but the service still goes on. Later when
  the db is ready, but there are no mechanisms to check the db status
  and reconnect it. so the collector service keeps useless to record the
 data.

 is this against master? does this patch resolve the issue for you?
 https://review.openstack.org/#/c/83595/


 gordon chung
 openstack, ibm software standards
 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Ceilometer] Collector no recheck the db status

2014-04-02 Thread Julien Danjou
On Wed, Apr 02 2014, dong jia wrote:

 I found that when collector service starting, if the db has not yet ready,
 it will log an error info like 'Could not load 'database': could not
 connect to...' but the service still goes on. Later when the db is ready,
 but there are no mechanisms to check the db status and reconnect it. so the
 collector service keeps useless to record the data.

 I wonder whether this is normal or an issue.

That sounds like an issue. I would expect the SQL driver to be better in
this case than MongoDB, but still, just open a bug report.

-- 
Julien Danjou
;; Free Software hacker
;; http://julien.danjou.info


signature.asc
Description: PGP signature
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Ceilometer] Collector no recheck the db status

2014-04-02 Thread Gordon Chung
 I found that when collector service starting, if the db has not yet 
 ready, it will log an error info like 'Could not load 'database': 
 could not connect to...' but the service still goes on. Later when 
 the db is ready, but there are no mechanisms to check the db status 
 and reconnect it. so the collector service keeps useless to record the 
data.

is this against master? does this patch resolve the issue for you? 
https://review.openstack.org/#/c/83595/


gordon chung
openstack, ibm software standards___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Ceilometer] Collector no recheck the db status

2014-04-01 Thread dong jia
Hi folks,

I found that when collector service starting, if the db has not yet ready,
it will log an error info like 'Could not load 'database': could not
connect to...' but the service still goes on. Later when the db is ready,
but there are no mechanisms to check the db status and reconnect it. so the
collector service keeps useless to record the data.

I wonder whether this is normal or an issue.

Thanks,
Jia.
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev