if conf.skip_gnocchi_resource_types: LOG.info("Skipping Gnocchi resource types upgrade")
else: LOG.debug("Upgrading Gnocchi resource types")
from ceilometer import gnocchi_client gnocchi_client.upgrade_resource_types(conf)
and what the gnocchi_client module does in terms of using the configured endpoint for gnocchi vs using the service catalog - the service catalog is used so if the endpoint was not registered at the point in time that the upgrade call is made, then I would expect that error; however I'm confused as to why this is the case; gnocchi should not give out any URL before the identity-service relation is complete, which would infer that the catalog entries have been created for gnocchi.
Looking at ceilometer code @ pike:
if conf.skip_ gnocchi_ resource_ types:
LOG.info( "Skipping Gnocchi resource types upgrade")
LOG.debug( "Upgrading Gnocchi resource types")
gnocchi_ client. upgrade_ resource_ types(conf)
else:
from ceilometer import gnocchi_client
and what the gnocchi_client module does in terms of using the configured endpoint for gnocchi vs using the service catalog - the service catalog is used so if the endpoint was not registered at the point in time that the upgrade call is made, then I would expect that error; however I'm confused as to why this is the case; gnocchi should not give out any URL before the identity-service relation is complete, which would infer that the catalog entries have been created for gnocchi.