<div dir="ltr">Yes, I have done gnocchi-upgrade<div><br></div><div>The index storage mysql has gnocchi database and get two arhive related table.</div><div>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?</div><div><br></div><div><div>def upgrade():</div><div>    conf = cfg.ConfigOpts()</div><div>    conf.register_cli_opts([</div><div>        cfg.BoolOpt("skip-index", default=False,</div><div>                    help="Skip index upgrade."),</div><div>        cfg.BoolOpt("skip-storage", default=False,</div><div>                    help="Skip storage upgrade."),</div><div>        cfg.BoolOpt("skip-archive-policies-creation", default=False,</div><div>                    help="Skip default archive policies creation."),</div><div>        cfg.BoolOpt("create-legacy-resource-types", default=False,</div><div>                    help="Creation of Ceilometer legacy resource types.")</div><div>    ])</div><div>    conf = service.prepare_service(conf=conf)</div><div>    index = indexer.get_driver(conf)</div><div>    index.connect()</div><div>    if not conf.skip_index:</div><div>        LOG.info("Upgrading indexer %s", index)</div><div>        index.upgrade(</div><div>            create_legacy_resource_types=conf.create_legacy_resource_types)</div><div>    if not conf.skip_storage:</div><div>        s = storage.get_driver(conf)</div><div>        LOG.info("Upgrading storage %s", s)</div><div>        s.upgrade(index)</div><div><br></div><div>    if (not conf.skip_archive_policies_creation</div><div>            and not index.list_archive_policies()</div><div>            and not index.list_archive_policy_rules()):</div><div>        for name, ap in six.iteritems(archive_policy.DEFAULT_ARCHIVE_POLICIES):</div><div>            index.create_archive_policy(ap)</div><div>        index.create_archive_policy_rule("default", "*", "low")</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 6, 2017 at 2:52 PM, Julien Danjou <span dir="ltr"><<a href="mailto:julien@danjou.info" target="_blank">julien@danjou.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Jul 06 2017, Hui Xiang wrote:<br>
<br>
>   I am setting up OpenStack with Gnocchi with ceph as the storage backend,<br>
> after service gnocchi-metricd start, it always reported "PermissionError:<br>
> Failed to operate read op for oid measure", seems at the time metricd<br>
> start, it tried to list the measure object, however, there is none such<br>
> object, so does the permission show error? I didn't find any bug related,<br>
> could anyone help to tell me what am I missing? Thanks.<br>
<br>
</span>Did you run gnocchi-upgrade?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Julien Danjou<br>
;; Free Software hacker<br>
;; <a href="https://julien.danjou.info" rel="noreferrer" target="_blank">https://julien.danjou.info</a><br>
</font></span></blockquote></div><br></div>