What happens when you run "rados -p rbd lock list gateway.conf"?

On Fri, Mar 29, 2019 at 12:19 PM Matthias Leopold
<matthias.leop...@meduniwien.ac.at> wrote:
>
> Hi,
>
> I upgraded my test Ceph iSCSI gateways to
> ceph-iscsi-3.0-6.g433bbaa.el7.noarch.
> I'm trying to use the new parameter "cluster_client_name", which - to me
> - sounds like I don't have to access the ceph cluster as "client.admin"
> anymore. I created a "client.iscsi" user and watched what happened. The
> gateways can obviously read the config (which I created when I was still
> client.admin), but when I try to change anything (like create a new disk
> in pool "iscsi") I get the following error:
>
> (Config.lock) Timed out (30s) waiting for excl lock on gateway.conf object
>
> I suspect this is related to the privileges of "client.iscsi", but I
> couldn't find the correct settings yet. The last thing I tried was:
>
> caps: [mon] allow r, allow command "osd blacklist"
> caps: [osd] allow * pool=rbd, profile rbd pool=iscsi
>
> Can anybody tell me how to solve this?
> My Ceph version is 12.2.10 on CentOS 7.
>
> thx
> Matthias
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



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

Reply via email to