"Error initializing cluster client: InvalidArgumentError('RADOS invalid argument (error calling conf_read_file)')" Displayed
Symptom
After the ceph -s command is run, the message "Error initializing cluster client: InvalidArgumentError('RADOS invalid argument (error calling conf_read_file)')" is displayed.
Key Process and Cause Analysis
None
Conclusion and Solution
Ensure that you run the ceph -s command in the Ceph cluster directory corresponding to the user you use. For example, if the root user is used and the corresponding Ceph cluster directory is /root/ceph-mycluster/, go to the /root/ceph-mycluster/ directory as the root user and run the ceph -s command. This requirement also applies to other Ceph operation commands.