[RM-36583] align with create by using short hostname#478
[RM-36583] align with create by using short hostname#478changchengx wants to merge 1 commit intoceph:masterfrom changchengx:master
Conversation
If using fully qualified domain name to check monitor status after "mon add", it will hit the error that can't find the node file under /var/run/ceph/ which result in aboring add monitor Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
|
Can one of the admins verify this patch? |
|
@dmick I've checked the "mon create" command, such as "ceph-deploy mon create nstcloudcc1.sh.intel.com", it use the short hostname to check the monitor status "sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.nstcloudcc1.asok mon_status" and succeed. |
|
Yes, but why is the call to next() added, and why is the statement order changed? |
|
tchaikov
left a comment
There was a problem hiding this comment.
@changchengx could you split this commit into two? one for using name returned by mon_hosts(), another for transposing mon_status() nad catch_mon_errors()?
|
@tchaikov |
the original maintainer does not work on this project anymore. guess that's why your PR was unattended. |
If using fully qualified domain name to check monitor
status after "mon add", it will hit the error that can't
find the node file under /var/run/ceph/ which result
in aboring add monitor
Signed-off-by: Changcheng Liu changcheng.liu@intel.com