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" > # 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 http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com