What is a "publishing policy" for ceilometer

asked 2013-09-26 16:55:33 -0500

cloud gravatar image

updated 2013-09-26 17:27:07 -0500

smaffulli gravatar image

I am following this link http://docs.openstack.org/developer/ceilometer/install/manual.html#installing-manually religiously for installing ceilometer manually. But I am stuck at this steps. My compute agent, collector and central agent are on the same server

The command ceilometer-agent-compute is giving me following warning. And I am not sure what poilicy is it talking about. I googled it but could not find its answer.

root@osgrizzly:~# ceilometer-agent-compute
2013-09-26 13:59:48.909 28861 WARNING ceilometer.publisher.rpc [-] Publishing policy is unknown (wait) force to default
2013-09-26 13:59:48.910 28861 WARNING ceilometer.publisher.rpc [-] Publishing policy is unknown (wait) force to default
2013-09-26 13:59:49.622 28861 WARNING ceilometer.transformer.conversions [-] dropping sample with no predecessor: <ceilometer.sample.Sample object at 0x323c310>
2013-09-26 13:59:49.699 28861 WARNING ceilometer.transformer.conversions [-] dropping sample with no predecessor: <ceilometer.sample.Sample object at 0x323c390>
^Croot@osgrizzly:~# ceilometer-agent-compute
2013-09-26 14:37:49.204 23823 WARNING ceilometer.publisher.rpc [-] Publishing policy is unknown (wait) force to default
2013-09-26 14:37:49.206 23823 WARNING ceilometer.publisher.rpc [-] Publishing policy is unknown (wait) force to default
2013-09-26 14:37:49.841 23823 WARNING ceilometer.transformer.conversions [-] dropping sample with no predecessor: <ceilometer.sample.Sample object at 0x32330d0>
2013-09-26 14:37:49.901 23823 WARNING ceilometer.transformer.conversions [-] dropping sample with no predecessor: <ceilometer.sample.Sample object at 0x32333d0>

Also ceilometer-agent-central is giving me following output and I am not sure what this error means

root@osgrizzly:~# ceilometer-agent-central
2013-09-26 14:52:27.437 23579 WARNING ceilometer.publisher.rpc [-] Publishing policy is unknown (wait) force to default
2013-09-26 14:52:27.439 23579 WARNING ceilometer.publisher.rpc [-] Publishing policy is unknown (wait) force to default
2013-09-26 14:52:27.643 23579 ERROR glanceclient.common.http [-] Request returned failure status.
2013-09-26 14:52:27.643 23579 WARNING ceilometer.central.manager [-] Continue after error from image: 404 Not Found
The resource could not be found.
    (HTTP 404)
2013-09-26 14:52:27.643 23579 ERROR ceilometer.central.manager [-] 404 Not Found
The resource could not be found.
    (HTTP 404)
2013-09-26 14:52:27.643 23579 TRACE ceilometer.central.manager Traceback (most recent call last):
2013-09-26 14:52:27.643 23579 TRACE ceilometer.central.manager   File "/usr/local/lib/python2.7/dist-packages/ceilometer/central/manager.py", line 46, in poll_and_publish
2013-09-26 14:52:27.643 23579 TRACE ceilometer.central.manager     cache,
2013-09-26 14:52:27.643 23579 TRACE ceilometer.central.manager   File "/usr/local/lib/python2.7/dist-packages/ceilometer/image/glance.py", line 105, in get_samples
2013-09-26 14:52:27.643 23579 TRACE ceilometer.central.manager     for image in self._iter_images(manager.keystone, cache):
2013-09-26 14:52:27.643 23579 TRACE ceilometer.central.manager   File "/usr/local/lib/python2.7/dist-packages/ceilometer/image/glance.py", line 76, in _iter_images
2013-09-26 14:52:27.643 23579 TRACE ceilometer.central.manager     cache['images'] = list(self._get_images(ksclient))
2013-09-26 14:52:27.643 23579 TRACE ceilometer.central.manager   File "/usr/local/lib/python2.7/dist-packages/ceilometer/image/glance ...
(more)
edit retag flag offensive close delete

Comments

about the publishing policy, I can say is that the error is coming from rabbit MQ

cloud ( 2013-10-09 12:32:07 -0500 )edit

I am seeing the same error. If you found a fix and you post it please.

Gamekiller77 ( 2014-01-24 16:51:33 -0500 )edit