use ceph-rest-api without rados-gw

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

 



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 <module>
    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

[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