Feb 16 20:52:56 juju-7d8e6f-zaza-ff9976283e4c-1 rbd-target-api[13633]: Invaid cluster_client_name or setting in /etc/ceph/ceph.conf - [errno 2] RADOS object not found (error calling conf_read_file)
ubuntu@juju-7d8e6f-zaza-ff9976283e4c-0:/var/lib/juju/agents/unit-ceph-iscsi-0/charm$ ls -al /etc/ceph
total 12
drwxr-xr-x 2 root root 4096 Feb 16 20:53 .
drwxr-xr-x 103 root root 4096 Feb 16 20:52 ..
lrwxrwxrwx 1 root root 27 Feb 16 20:53 ceph.conf -> /etc/alternatives/ceph.conf
-rw-r--r-- 1 root root 92 Dec 8 09:31 rbdmap
There should be an /etc/ceph/iscsi-gateway.cfg that gets rendered into /etc/ceph, and that will contain "cluster_client_name = client.ceph-iscsi".
ubuntu@ juju-7d8e6f- zaza-ff9976283e 4c-1:~$ journalctl -xe
Feb 16 20:52:56 juju-7d8e6f- zaza-ff9976283e 4c-1 rbd-target- api[13633] : Invaid cluster_client_name or setting in /etc/ceph/ceph.conf - [errno 2] RADOS object not found (error calling conf_read_file)
ubuntu@ juju-7d8e6f- zaza-ff9976283e 4c-0:/var/ lib/juju/ agents/ unit-ceph- iscsi-0/ charm$ ls -al /etc/ceph es/ceph. conf
total 12
drwxr-xr-x 2 root root 4096 Feb 16 20:53 .
drwxr-xr-x 103 root root 4096 Feb 16 20:52 ..
lrwxrwxrwx 1 root root 27 Feb 16 20:53 ceph.conf -> /etc/alternativ
-rw-r--r-- 1 root root 92 Dec 8 09:31 rbdmap
There should be an /etc/ceph/ iscsi-gateway. cfg that gets rendered into /etc/ceph, and that will contain "cluster_ client_ name = client.ceph-iscsi".