Yes, I have done gnocchi-upgrade The index storage mysql has gnocchi database and get two arhive related table. In addition, I am checking the gnocchi-upgrade code, didn't see it will create 'measure' object to metric storage anywhere, could it be somewhere wrong?
def upgrade(): conf = cfg.ConfigOpts() conf.register_cli_opts([ cfg.BoolOpt("skip-index", default=False, help="Skip index upgrade."), cfg.BoolOpt("skip-storage", default=False, help="Skip storage upgrade."), cfg.BoolOpt("skip-archive-policies-creation", default=False, help="Skip default archive policies creation."), cfg.BoolOpt("create-legacy-resource-types", default=False, help="Creation of Ceilometer legacy resource types.") ]) conf = service.prepare_service(conf=conf) index = indexer.get_driver(conf) index.connect() if not conf.skip_index: LOG.info("Upgrading indexer %s", index) index.upgrade( create_legacy_resource_types=conf.create_legacy_resource_types) if not conf.skip_storage: s = storage.get_driver(conf) LOG.info("Upgrading storage %s", s) s.upgrade(index) if (not conf.skip_archive_policies_creation and not index.list_archive_policies() and not index.list_archive_policy_rules()): for name, ap in six.iteritems(archive_policy.DEFAULT_ARCHIVE_POLICIES): index.create_archive_policy(ap) index.create_archive_policy_rule("default", "*", "low") On Thu, Jul 6, 2017 at 2:52 PM, Julien Danjou <jul...@danjou.info> wrote: > On Thu, Jul 06 2017, Hui Xiang wrote: > > > I am setting up OpenStack with Gnocchi with ceph as the storage > backend, > > after service gnocchi-metricd start, it always reported "PermissionError: > > Failed to operate read op for oid measure", seems at the time metricd > > start, it tried to list the measure object, however, there is none such > > object, so does the permission show error? I didn't find any bug related, > > could anyone help to tell me what am I missing? Thanks. > > Did you run gnocchi-upgrade? > > -- > Julien Danjou > ;; Free Software hacker > ;; https://julien.danjou.info >
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev