-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RM-36583] align with create by using short hostname #478
base: master
Are you sure you want to change the base?
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 <[email protected]>
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? |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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 [email protected]