Actions
Bug #50548
closedcephadm doesn't deploy monitors when multiple public networks
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
cephadm
Target version:
-
% Done:
0%
Source:
Community (user)
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
The issue spotted on Ceph 16.2.1 deployed with cephadm+docker, although the master branch seems to also be affected.
Steps to reproduce:
1. Use multiple comma-separated list of public networks, e.g.:
ceph config set mon public_network "100.90.1.0/24,100.90.2.0/24"
2. Assign label "mon" on desired monitor hosts
3. Apply mon deployment by host label:
ceph orch apply mon label:mon
4. cephadm will refuse to manage these hosts with the following messages in log:
4/26/21 11:40:05 PM[INF]Filtered out host mon-1: could not verify host allowed virtual ips
4/26/21 11:40:05 PM[INF]Filtered out host mon-2: could not verify host allowed virtual ips
4/26/21 11:40:05 PM[INF]Filtered out host mon-3: could not verify host allowed virtual ips
Actions