From: Bradley Bishop Date: Tue, 16 Sep 2025 18:34:38 +0000 (-0400) Subject: mgr/cephadm: Change spec to ingress_spec X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d613071076407a1fabe94068b51ac533c99c5556;p=ceph.git mgr/cephadm: Change spec to ingress_spec Changed from using spec to ingress_spec to be consistent with the function and fix the spec errors. Fixes: https://tracker.ceph.com/issues/66874 Signed-off-by: Bradley Bishop --- diff --git a/src/pybind/mgr/cephadm/serve.py b/src/pybind/mgr/cephadm/serve.py index 712ebc1d2f94..9504b839f6de 100644 --- a/src/pybind/mgr/cephadm/serve.py +++ b/src/pybind/mgr/cephadm/serve.py @@ -802,11 +802,11 @@ class CephadmServe: ) found = True break - if not found and spec.virtual_interface_networks: + if not found and ingress_spec.virtual_interface_networks: for subnet, ifaces in self.mgr.cache.networks.get(host, {}).items(): - if subnet in spec.virtual_interface_networks: + if subnet in ingress_spec.virtual_interface_networks: logger.debug( - f'{subnet} found in virtual_interface_networks list {list(spec.virtual_interface_networks)}' + f'{subnet} found in virtual_interface_networks list {list(ingress_spec.virtual_interface_networks)}' ) found = True break