From d613071076407a1fabe94068b51ac533c99c5556 Mon Sep 17 00:00:00 2001 From: Bradley Bishop Date: Tue, 16 Sep 2025 14:34:38 -0400 Subject: [PATCH] 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 --- src/pybind/mgr/cephadm/serve.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.47.3