Hi, Did you create a key for your user ceph? –––– Sébastien Han Cloud Engineer "Always give 100%. Unless you're giving blood.” Phone: +33 (0)1 49 70 99 72 Mail: sebastien.han@xxxxxxxxxxxx Address : 10, rue de la Victoire - 75009 Paris Web : www.enovance.com - Twitter : @enovance On October 10, 2013 at 3:42:03 PM, su kucherova (su.kucherova@xxxxxxxxx) wrote: > >Hi I want to use ceph-rest-api.But i dont want to use rados-gw >I have not setup rados-gw.I have osd+mon+msd. >I get an error while starting the ceph-rest-api.I dont know what i am >missing abt ceph-rest-api. >Can we not use ceph-rest-api to manage osd+mon+msd. Only? > >ceph-rest-api -c /etc/ceph/ceph.conf -n ceph > >Traceback (most recent call last): >File "/usr/bin/ceph-rest-api", line 59, in >rest, >File "/usr/lib/python2.6/site-packages/ceph_rest_api.py", line 497, in >generate_app >addr, port = api_setup(app, conf, cluster, clientname, clientid, args) >File "/usr/lib/python2.6/site-packages/ceph_rest_api.py", line 103, in >api_setup >app.ceph_cluster = rados.Rados(name=clientname, conffile=conf) >File "/usr/lib/python2.6/site-packages/rados.py", line 211, in __init__ >raise Error("rados_initialize failed with error code: %d" % ret) >rados.Error: rados_initialize failed with error code: -22 > > >Thanks >Su >_______________________________________________ >ceph-users mailing list >ceph-users@xxxxxxxxxxxxxx >http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com