Strange CEPH_ARGS problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux