Bug #23535
'ceph --show-config --conf /dev/null' does not work any more
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Administration/Usability
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Previously it could be used by users to return the default ceph configuration (see e.g. [1]), now it fails (even if with `--no-mon-config`):
% ceph --show-config --conf /dev/null unable to get monitor info from DNS SRV with service name: ceph-mon no monitors specified to connect to. 2018-04-01 10:42:45.268 7f6f4645f700 -1 failed for service _ceph-mon._tcp 2018-04-01 10:42:45.268 7f6f4645f700 -1 monclient: get_monmap_and_config cannot identify monitors to contact [errno 2] error connecting to the cluster % ceph --show-config --no-mon-config --conf /dev/null unable to get monitor info from DNS SRV with service name: ceph-mon no monitors specified to connect to. 2018-04-01 10:45:38.717 7f3279dcb700 -1 failed for service _ceph-mon._tcp 2018-04-01 10:45:38.717 7f3279dcb700 -1 monclient: get_monmap_and_config cannot identify monitors to contact [errno 2] error connecting to the cluster
`ceph-conf -D` still works and can be used instead. Probably it won't fix, still it is good to have this documented in the tracker in this case.
[1] https://ceph.com/geen-categorie/display-the-default-ceph-configuration/
History
#1 Updated by Mykola Golub almost 6 years ago
I just realized `--show-config` does not exist anymore. Probably it was removed intentionally?
#2 Updated by Greg Farnum almost 6 years ago
- Status changed from New to Closed
Yeah, you should use the monitor config commands now! :)