We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1691e12 + d613071 commit c8f104eCopy full SHA for c8f104e
src/pybind/mgr/cephadm/serve.py
@@ -802,6 +802,14 @@ def has_interface_for_vip(host: str, sspec: ServiceSpec) -> bool:
802
)
803
found = True
804
break
805
+ if not found and ingress_spec.virtual_interface_networks:
806
+ for subnet, ifaces in self.mgr.cache.networks.get(host, {}).items():
807
+ if subnet in ingress_spec.virtual_interface_networks:
808
+ logger.debug(
809
+ f'{subnet} found in virtual_interface_networks list {list(ingress_spec.virtual_interface_networks)}'
810
+ )
811
+ found = True
812
+ break
813
if not found:
814
self.log.info(
815
f"Filtered out host {host}: Host has no interface available for VIP: {vip}"
0 commit comments