Hi,  thanks.

Tried with path option but gets same error:

# ceph-bluestore-tool show-label --path /var/lib/ceph/osd/ceph-2
inferring bluefs devices from bluestore path
2018-11-01 15:57:53.395 7f9f91adca00 -1 auth: unable to find a keyring on 
/etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,:
 (2) No such file or directory
2018-11-01 15:57:53.400 7f9f91adca00 -1 monclient: authenticate NOTE: no 
keyring found; disabled cephx authentication
failed to fetch mon config (--no-mon-config to skip)


Copying /etc/ceph/ceph.client.admin.keyring from admin server to osd host then 
it works, although it seems it's not the right way to do that?



# ceph-bluestore-tool show-label --path /var/lib/ceph/osd/ceph-2
inferring bluefs devices from bluestore path
{
    "/var/lib/ceph/osd/ceph-2/block": {
        "osd_uuid": "6d999288-a4a4-4088-b764-bf2379b4492b",
        "size": 26839351296,
        "btime": "2018-10-18 15:59:06.173476",
        "description": "main",
        "bluefs": "1",
        "ceph_fsid": "cc795498-5d16-4b84-9584-1788d0458be9",
        "kv_backend": "rocksdb",
        "magic": "ceph osd volume v026",
        "mkfs_done": "yes",
        "osd_key": "AQBFPchbIvClNBAA5PjT+hzulu7j8dnQyaByPg==",
        "ready": "ready",
        "whoami": "2"
    },
    "/var/lib/ceph/osd/ceph-2/block.wal": {
        "osd_uuid": "6d999288-a4a4-4088-b764-bf2379b4492b",
        "size": 524288000,
        "btime": "2018-10-18 15:59:06.178454",
        "description": "bluefs wal"
    },
    "/var/lib/ceph/osd/ceph-2/block.db": {
        "osd_uuid": "6d999288-a4a4-4088-b764-bf2379b4492b",
        "size": 524288000,
        "btime": "2018-10-18 15:59:06.175997",
        "description": "bluefs db"
    }
}

Would you help?
Thanks again.

From: Igor Fedotov <ifedo...@suse.de>
Sent: Wednesday, October 31, 2018 6:40 PM
To: ST Wong (ITSC) <s...@itsc.cuhk.edu.hk>; ceph-users@lists.ceph.com
Subject: Re: [ceph-users] ceph-bluestore-tool failed


You might want to try --path <path_to_osd_dir> option instead of --dev one.

On 10/31/2018 7:29 AM, ST Wong (ITSC) wrote:
Hi all,

We deployed a testing mimic CEPH cluster using bluestore.    We can't run 
ceph-bluestore-tool on OSD with following error:

-------
# ceph-bluestore-tool show-label --dev *device*
2018-10-31 09:42:01.712 7f3ac5bb4a00 -1 auth: unable to find a keyring on 
/etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,:
 (2) No such file or directory
2018-10-31 09:42:01.716 7f3ac5bb4a00 -1 monclient: authenticate NOTE: no 
keyring found; disabled cephx authentication
-------

Shall we run this command on admin server with corresponding keyring ?   But 
ceph-bluestore-tool is in ceph-osd package and doesn't exist on admin server.
Did we miss anything?

Thanks a lot.
/st wong




_______________________________________________

ceph-users mailing list

ceph-users@lists.ceph.com<mailto:ceph-users@lists.ceph.com>

http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to