Hi guys. 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.
### ceph pools [root@node-4 gnocchi]# rados lspools rbd images volumes compute backups metrics ### gnocchi pool(metrics) has none objects [root@node-4 gnocchi]# rados ls -p metrics [root@node-4 gnocchi]# ### /etc/gnocchi/gnocchi.conf [storage] driver = ceph ceph_pool = metrics ceph_username = gnocchi ceph_keyring = /etc/ceph/ceph.client.gnocchi.keyring ceph_conffile = /etc/ceph/ceph.conf ### ceph auth client.gnocchi key: AQAE9FtZussoMRAAiKk4lCX21k9DTDf39AE4Cg== caps: [mon] allow r caps: [osd] allow class-read object_prefix rbd_children, allow rwx pool=metrics, ### gnocchi/metricd.log 2017-07-06 13:52:10.794 2265410 ERROR gnocchi.cli File "/usr/lib/python2.7/site-packages/gnocchi/cli.py", line 229, in _run_job 2017-07-06 13:52:10.794 2265410 ERROR gnocchi.cli self.block_size, self.block_index)) 2017-07-06 13:52:10.794 2265410 ERROR gnocchi.cli File "/usr/lib/python2.7/site-packages/gnocchi/storage/incoming/ceph.py", line 141, in list_metric_with_measures_to_process 2017-07-06 13:52:10.794 2265410 ERROR gnocchi.cli size * (part + 1)) 2017-07-06 13:52:10.794 2265410 ERROR gnocchi.cli File "/usr/lib/python2.7/site-packages/gnocchi/storage/incoming/ceph.py", line 125, in _list_object_names_to_process 2017-07-06 13:52:10.794 2265410 ERROR gnocchi.cli op, self.MEASURE_PREFIX, flag=self.OMAP_READ_FLAGS) 2017-07-06 13:52:10.794 2265410 ERROR gnocchi.cli File "cradox.pyx", line 444, in cradox.requires.wrapper.validate_func (cradox.c:4719) 2017-07-06 13:52:10.794 2265410 ERROR gnocchi.cli File "cradox.pyx", line 3028, in cradox.Ioctx.operate_read_op (cradox.c:39707) 2017-07-06 13:52:10.794 2265410 ERROR gnocchi.cli PermissionError: Failed to operate read op for oid measure BR.
__________________________________________________________________________ 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