Comment 22 for bug 1749280

Revision history for this message
James Page (james-page) wrote :

Looking at ceilometer code @ pike:

    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.