orch apply mon assigns wrong IP address?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is there a way to force '.. orch apply  *' to limit ip address selection
to addresses matching the hostname in dns or /etc/hosts, or to a
specific address given at 'host add' time?   I've hit a bothersome problem:

On v15, 'ceph orch apply mon ...' appears not to use the dns ip or
/etc/hosts when installing a monitor, but instead appears to select one
from the current list of interfaces up on the host.  99 of 100 times
this is correct as the host has but one address on the public cluster
subnet.  

However, this or that host might have a temporary added ip interface up
on that subnet (whether for one-of diagnostic purposes or some HA
assigned movable address like a time of day server).  Occasionally that
second 'unlisted' address is 'up' when the orchestrator decides then
would be a good time  to add a mon to that host.   Ceph somehow
occasionally prefers this 'unlisted but up' interface address, using
that permanently as the host address for the monitor docker image, even
though that 'secondary' interface is not in DNS for the host, nor in
/etc/hosts anywhere for that host.  

Is this a known issue?  Is there a way to direct the orchestrator to use
'dns resolvable only' or 'preferred' addresses?

Thanks

Harry Coin




_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux