I have just reinstalled charm openstack, and ceph-osd is showing non-pristine drives, so I want to zap them. I’m trying to get a list of the drives that it sees, but I’m getting keyring errors:
$ juju run ceph-osd list-disks --machine=0
2023-08-29T15:48:19.883+0000 7f03e08b5800 -1 auth: unable to find a keyring on /var/lib/ceph/osd/ceph-admin/keyring: (13) Permission denied
2023-08-29T15:48:19.887+0000 7f03e08b5800 -1 auth: unable to find a keyring on /var/lib/ceph/osd/ceph-admin/keyring: (13) Permission denied
2023-08-29T15:48:19.887+0000 7f03e08b5800 -1 auth: unable to find a keyring on /var/lib/ceph/osd/ceph-admin/keyring: (13) Permission denied
2023-08-29T15:48:19.887+0000 7f03e08b5800 -1 monclient: keyring not found
failed to fetch mon config (--no-mon-config to skip)
Any ideas?
Thanks.