[openstack-dev] [gnocchi] gnocchi-metricd couldn't start up with ceph backend

Julien Danjou julien at danjou.info
Thu Jul 6 08:15:15 UTC 2017


On Thu, Jul 06 2017, Hui Xiang wrote:

> 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?

It's tested several times a day in our CI, so it really do work. :)
The error raised is PermissionDenied, are you sure that the cap listed
in the gnocchi Ceph user are enough?
(I'm no Ceph expert so it might not be related at all, just thinking out
loud)

>     if not conf.skip_storage:
>         s = storage.get_driver(conf)
>         LOG.info("Upgrading storage %s", s)
>         s.upgrade(index)

FYI this is what handles the storage initial creations of Ceph objects
or whatever is needed.

-- 
Julien Danjou
-- Free Software hacker
-- https://julien.danjou.info
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170706/8f185f93/attachment.sig>


More information about the OpenStack-dev mailing list