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
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to