This is not my day :-) Yes this flip beween client.rz and client.user was not intended. Its another typo. When trying to run rbd I used everywhere the same client.rz user and the same keyring /etc/ceph/ceph.client.user.keyring. Sorry Rainer Am 15.11.19 um 11:02 schrieb Janne Johansson: > Is the flip between the client name "rz" and "user" also a mistype? It's > hard to divinate if it is intentional or not since you are mixing it about. > > > Den fre 15 nov. 2019 kl 10:57 skrev Rainer Krienke > <krienke@xxxxxxxxxxxxxx <mailto:krienke@xxxxxxxxxxxxxx>>: > > I found a typo in my post: > > Of course I tried > > export CEPH_ARGS="-n client.rz --keyring=...." > > and not > > export CEPH_ARGS=="-n client.rz --keyring=...." > > Thanks > Rainer > > Am 15.11.19 um 07:46 schrieb Rainer Krienke: > > Hello, > > > > I try to use CEPH_ARGS in order to use eg rbd with a non client.admin > > user and keyring without extra parameters. On a ceph-client with > Ubuntu > > 18.04.3 I get this: > > > > # unset CEPH_ARGS > > # rbd --name=client.user > --keyring=/etc/ceph/ceph.client.user.keyring ls > > a > > b > > c > > > > # export CEPH_ARGS=="-n client.rz --keyring=/etc > > /ceph/ceph.client.user.keyring" > > # rbd ls > > <hangs> > > rbd: couldn't connect to the cluster! > > rbd: listing images failed: (22) Invalid argument > > > > # export CEPH_ARGS=="--keyring=/etc/ceph/ceph.client.user.keyring"> Thanks > Rainer > > Am 15.11.19 um 07:46 schrieb Rainer Krienke: > > Hello, > > > > I try to use CEPH_ARGS in order to use eg rbd with a non client.admin > > user and keyring without extra parameters. On a ceph-client with > Ubuntu > > 18.04.3 I get this: > > > > # unset CEPH_ARGS > > # rbd --name=client.user > --keyring=/etc/ceph/ceph.client.user.keyring ls > > a > > b > > c > > > > # export CEPH_ARGS=="-n client.rz --keyring=/etc > > /ceph/ceph.client.user.keyring" > > # rbd ls > > <hangs> > > rbd: couldn't connect to the cluster! > > rbd: listing images failed: (22) Invalid argument > > > > # export CEPH_ARGS=="--keyring=/etc/ceph/ceph.client.user.keyring" > > # rbd -n client.user ls > > a > > b > > c > > > > Is this the desired behavior? I would like to set both user name and > > keyring to be used, so that I can run rbd without any parameters. > > > > How do you do this? > > > > Thanks > > Rainer > > > > > -- > Rainer Krienke, Uni Koblenz, Rechenzentrum, A22, Universitaetsstrasse 1 > 56070 Koblenz, Tel: +49261287 1312 Fax +49261287 100 1312 > Web: http://userpages.uni-koblenz.de/~krienke > PGP: http://userpages.uni-koblenz.de/~krienke/mypgp.html > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx <mailto:ceph-users@xxxxxxxxxxxxxx> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > > > -- > May the most significant bit of your life be positive. > > # rbd -n client.user ls > > a > > b > > c > > > > Is this the desired behavior? I would like to set both user name and > > keyring to be used, so that I can run rbd without any parameters. > > > > How do you do this? > > > > Thanks > > Rainer > > > > > -- > Rainer Krienke, Uni Koblenz, Rechenzentrum, A22, Universitaetsstrasse 1 > 56070 Koblenz, Tel: +49261287 1312 Fax +49261287 100 1312 > Web: http://userpages.uni-koblenz.de/~krienke > PGP: http://userpages.uni-koblenz.de/~krienke/mypgp.html > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx <mailto:ceph-users@xxxxxxxxxxxxxx> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > > Thanks > Rainer > > Am 15.11.19 um 07:46 schrieb Rainer Krienke: > > Hello, > > > > I try to use CEPH_ARGS in order to use eg rbd with a non client.admin > > user and keyring without extra parameters. On a ceph-client with > Ubuntu > > 18.04.3 I get this: > > > > # unset CEPH_ARGS > > # rbd --name=client.user > --keyring=/etc/ceph/ceph.client.user.keyring ls > > a > > b > > c > > > > # export CEPH_ARGS=="-n client.rz --keyring=/etc > > /ceph/ceph.client.user.keyring" > > # rbd ls > > <hangs> > > rbd: couldn't connect to the cluster! > > rbd: listing images failed: (22) Invalid argument > > > > # export CEPH_ARGS=="--keyring=/etc/ceph/ceph.client.user.keyring" > > # rbd -n client.user ls > > a > > b > > c > > > > Is this the desired behavior? I would like to set both user name and > > keyring to be used, so that I can run rbd without any parameters. > > > > How do you do this? > > > > Thanks > > Rainer > > > > > -- > Rainer Krienke, Uni Koblenz, Rechenzentrum, A22, Universitaetsstrasse 1 > 56070 Koblenz, Tel: +49261287 1312 Fax +49261287 100 1312 > Web: http://userpages.uni-koblenz.de/~krienke > PGP: http://userpages.uni-koblenz.de/~krienke/mypgp.html > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx <mailto:ceph-users@xxxxxxxxxxxxxx> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > > > -- > May the most significant bit of your life be positive. > > -- > May the most significant bit of your life be positive. -- Rainer Krienke, Uni Koblenz, Rechenzentrum, A22, Universitaetsstrasse 1 56070 Koblenz, Tel: +49261287 1312 Fax +49261287 100 1312 Web: http://userpages.uni-koblenz.de/~krienke PGP: http://userpages.uni-koblenz.de/~krienke/mypgp.html _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com