-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Issue report
Version of MicroCeph : 18.2.4
What are the steps to reproduce this issue ?
- Brand new Ubuntu 22.04 VM, fresh install of microceph 18.2.4
- Following this single-node install tutorial : https://canonical-microceph.readthedocs-hosted.com/en/reef-stable/tutorial/single-node/
- Added three loop files as disks
- Kept following the next tutorial : https://canonical-microceph.readthedocs-hosted.com/en/reef-stable/tutorial/mount-block-device/
- Was happy, typing native ceph command ("ceph osd pool create block_pool", "rbd create bd_foo --size 1024 --image-feature layering -p block_pool", "rbd status -p block_pool", etc...)
- One week later (thank you COVID), I found out that I can not use native ceph commands anymore, and I have to use microceph.xyz commands ("microceph.ceph", "microceph.rbd", "microceph.rados"...)
- Trying to use native commands leads to a failure.
What happens (observed behaviour) ?
# ceph status
Error initializing cluster client: ObjectNotFound('RADOS object not found (error calling conf_read_file)')
My workaround is to provide the conf file path and the keyring :
# ceph --conf /var/snap/microceph/current/conf/ceph.conf -k /var/snap/microceph/current/conf/ceph.keyring status
What were you expecting to happen ?
I was expecting the first behaviour not to change, and be able to use the native commands.
The bash history is clearly showing I was using the native commands seamlessly, and I can't get what could have changed since then.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation