Description of problem: By default, resources from /etc/ceilometer/gnocchi_resources.yaml ain't created in Gnocchi. This causes ceilometer dispatcher to fail while dispatching meters there. Excerpt from ceilometer/collector.log ... 2016-06-09 13:58:11.825 29725 DEBUG oslo_messaging._drivers.amqpdriver [-] received message msg_id: None reply to None __call__ /usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:201 2016-06-09 13:58:13.888 29725 ERROR ceilometer.dispatcher.gnocchi [-] Resource type swift_account does not exist (HTTP 404) ... Version-Release number of selected component (if applicable): ------------------------------------------------------------- openstack-gnocchi-common-2.1.1-1.el7ost.noarch openstack-gnocchi-metricd-2.1.1-1.el7ost.noarch openstack-gnocchi-indexer-sqlalchemy-2.1.1-1.el7ost.noarch openstack-gnocchi-carbonara-2.1.1-1.el7ost.noarch openstack-gnocchi-statsd-2.1.1-1.el7ost.noarch python-gnocchiclient-2.2.0-1.el7ost.noarch python-gnocchi-2.1.1-1.el7ost.noarch openstack-gnocchi-api-2.1.1-1.el7ost.noarch openstack-tripleo-heat-templates-2.0.0-9.el7ost.noarch openstack-tripleo-heat-templates-liberty-2.0.0-9.el7ost.noarch openstack-tripleo-image-elements-0.9.9-4.el7ost.noarch python-tripleoclient-2.0.0-1.0.3.el7ost.noarch openstack-tripleo-common-2.0.0-5.el7ost.noarch openstack-tripleo-0.0.8-0.2.d81bd6dgit.el7ost.noarch openstack-tripleo-puppet-elements-2.0.0-2.el7ost.noarch openstack-tripleo-heat-templates-kilo-2.0.0-9.el7ost.noarch Steps to Reproduce: ------------------- 1. Install overcloud 2. Switch ceilometer to use Gnocchi as a backend Additional info: ---------------- Virtual setup: 3controller +2computes +2cephs
gnocchi resource list-types +----------------------------+--------------------------------------------------------------+ | resource_type | resource_controller_url | +----------------------------+--------------------------------------------------------------+ | instance | http://192.0.2.6:8041/v1/resource/instance | | ceph_account | http://192.0.2.6:8041/v1/resource/ceph_account | | network | http://192.0.2.6:8041/v1/resource/network | | host_network_interface | http://192.0.2.6:8041/v1/resource/host_network_interface | | instance_network_interface | http://192.0.2.6:8041/v1/resource/instance_network_interface | | ipmi | http://192.0.2.6:8041/v1/resource/ipmi | | image | http://192.0.2.6:8041/v1/resource/image | | host_disk | http://192.0.2.6:8041/v1/resource/host_disk | | swift_account | http://192.0.2.6:8041/v1/resource/swift_account | | volume | http://192.0.2.6:8041/v1/resource/volume | | generic | http://192.0.2.6:8041/v1/resource/generic | | host | http://192.0.2.6:8041/v1/resource/host | | instance_disk | http://192.0.2.6:8041/v1/resource/instance_disk | | stack | http://192.0.2.6:8041/v1/resource/stack | | identity | http://192.0.2.6:8041/v1/resource/identity | +----------------------------+--------------------------------------------------------------+ Packages: --------- openstack-tripleo-heat-templates-2.0.0-24.el7ost.noarch openstack-tripleo-heat-templates-kilo-0.8.14-16.el7ost.noarch openstack-tripleo-heat-templates-liberty-2.0.0-24.el7ost.noarch openstack-heat-templates-0-0.3.96a0b0bgit.el7ost.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-1599.html