Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

Ceph CLI commands failing

I'm trying to run some Ceph CLI commands from a ssh session and I keep getting the following error:

Error initializing cluster client: Error('error calling conf_read_file: error code 22',)

Based on the information I can find it seems this can be caused when the cluster name is not 'ceph'  (mine is named 'psCluster01'); however, I don't see a fix and the ceph project tracker shows that this is already resolved

Is there a workaround for this on PetaSAN 1.4.0?

 

EDIT:

I figured out what I was doing wrong - had to specify the cluster name in the ceph command:

ceph <command> --cluster psCluster01