mon/MonMap: fix unconditional failure for init_with_hosts#37758
mon/MonMap: fix unconditional failure for init_with_hosts#37758tchaikov merged 4 commits intoceph:masterfrom
Conversation
1c5ecf6 to
31dbd86
Compare
This comment has been minimized.
This comment has been minimized.
|
Oops, thanks @tchaikov . |
|
This fixes: 2f07570 |
dillaman
left a comment
There was a problem hiding this comment.
lgtm -- can we get a quick unit test to resolve ceph.io (or something) by hostname to prevent this from getting broken in the future?
That would be great. I know many clusters out there using Round Robin DNS entries for Monitor discovery. |
|
I'm working on adding a test. |
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
The code atrophied. Clean this up. The tests are disabled because they SIGSEGV during SetUp. Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Done! |
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
This bug prevents setting mon_host to a DNS name. Fixes: https://tracker.ceph.com/issues/47951 Fixes: 7a1f02a Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
|
@rjfd I added to your MonMap.cc tests but found out they weren't actually getting built or run. I fixed some compiler errors but the tests SIGSEGV during |
|
|
@batrick Is the nautilus backport of this fix something we should fast-track? |
Yes, I think so. |
|
https://pulpito.ceph.com/?branch=wip-pdonnell-testing-20201024.032205 failures unrelated. |
|
@batrick Nautilus backport is up |
Fixes: https://tracker.ceph.com/issues/47951
Signed-off-by: Patrick Donnelly pdonnell@redhat.com
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox