Where this caught me is with the resource type of swift_account. I had created a custom resource type called "project" with the idea of storing some metrics against openstack projects. This however failed as the swift_account resource type already had resources with the same project IDs (swift_acocunt is really a project, it is poorly named).
My fix was to change the gnocchi_resources.yaml file in ceilometer to store the swift metrics under my "project" resource type as opposed to the "swift_account" resource type
Where this caught me is with the resource type of swift_account. I had created a custom resource type called "project" with the idea of storing some metrics against openstack projects. This however failed as the swift_account resource type already had resources with the same project IDs (swift_acocunt is really a project, it is poorly named).
My fix was to change the gnocchi_ resources. yaml file in ceilometer to store the swift metrics under my "project" resource type as opposed to the "swift_account" resource type