Hello,

We are running a Ceph cluster with 3x CentOS 7 MON nodes, and after we updated 
the ceph packages on the MONs yesterday (from 0.94.3 to 0.94.4), the 
ceph_rest_api started refusing to run, giving the following error 30 seconds 
after it's started:

[root@ceph-mon01 ~]# /usr/bin/ceph-rest-api -c /etc/ceph/ceph.conf --cluster 
ceph -i admin
Traceback (most recent call last):
  File "/usr/bin/ceph-rest-api", line 59, in <module>
    rest,
  File "/usr/lib/python2.7/site-packages/ceph_rest_api.py", line 503, in 
generate_app
    addr, port = api_setup(app, conf, cluster, clientname, clientid, args)
  File "/usr/lib/python2.7/site-packages/ceph_rest_api.py", line 145, in 
api_setup
    target=('osd', int(osdid)))
  File "/usr/lib/python2.7/site-packages/ceph_rest_api.py", line 83, in 
get_command_descriptions
    raise EnvironmentError(ret, err)
EnvironmentError: [Errno -4] Can't get command descriptions:

Nothing else was changed, only the packages were updated.  I've looked at the 
python, and it seems to be timing out waiting for this line to complete, but 
I'm not sure where to look next in terms of what "get_command_descriptions" 
actually does:

ret, outbuf, outs = json_command(cluster, target,
                                         prefix='get_command_descriptions',
                                         timeout=30)

Is this a known issue?  If not, does anyone have any suggestions of how to 
further troubleshoot this further?  Thanks in advance.

Jon Heese
Systems Engineer
INetU Managed Hosting
P: 610.266.7441 x 261
F: 610.266.7434
www.inetu.net<https://www.inetu.net>
** This message contains confidential information, which also may be 
privileged, and is intended only for the person(s) addressed above. Any 
unauthorized use, distribution, copying or disclosure of confidential and/or 
privileged information is strictly prohibited. If you have received this 
communication in error, please erase all copies of the message and its 
attachments and notify the sender immediately via reply e-mail. **
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to