Now, nova writes the instance metadata on the compute via the libvirt metadata API. We can leverage that in Ceilometer to retrieve the instance metadata from libvirt instead of polling the Nova API.
The down-side is that metadata are not complete. But when Gnocchi is used as backend, this is not an issue since Gnocchi doesn't store resource metadata aside of the measurements. And the missing informations are still retrieved with the other Nova API polling done by the central agent that have all the informations and will fully update the resource information in Gnocchi.
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.