yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #91377
[Bug 2008132] [NEW] Unable to associate FIP with Tungstenfabric Neutron backend
Public bug reported:
Reproduced issue on the environment with TF Neutron backend and enabled
'enable_fip_topology_check' config option. OVN backend is not affected
in any case, combination of any Neutron backend and disabled
'enable_fip_topology_check' also not affected.
It is possible to remove all FIPs from port via CLI at the TF
environment. In case of enabled topology check it leads to error during
FIP associate and disassociate operations.
Sample of traceback:
2023-01-12 11:23:41.841408 File "/var/lib/openstack/lib/python3.8/site-packages/openstack_dashboard/dashboards/project/instances/forms.py", line 436
, in __init__
2023-01-12 11:23:41.841412 targets = api.neutron.floating_ip_target_list_by_instance(
2023-01-12 11:23:41.841415 File "/var/lib/openstack/lib/python3.8/site-packages/openstack_dashboard/api/neutron.py", line 1631, in floating_ip_targe
t_list_by_instance
2023-01-12 11:23:41.841419 return FloatingIpManager(request).list_targets_by_instance(
2023-01-12 11:23:41.841425 File "/var/lib/openstack/lib/python3.8/site-packages/openstack_dashboard/api/neutron.py", line 757, in list_targets_by_in
stance
2023-01-12 11:23:41.841429 reachable_subnets = self._get_reachable_subnets(
2023-01-12 11:23:41.841433 File "/var/lib/openstack/lib/python3.8/site-packages/openstack_dashboard/api/neutron.py", line 690, in _get_reachable_sub
nets
2023-01-12 11:23:41.841436 reachable_subnets = set(p.fixed_ips[0]['subnet_id']
2023-01-12 11:23:41.841440 File "/var/lib/openstack/lib/python3.8/site-packages/openstack_dashboard/api/neutron.py", line 690, in <genexpr>
2023-01-12 11:23:41.841444 reachable_subnets = set(p.fixed_ips[0]['subnet_id']
2023-01-12 11:23:41.841446 IndexError: list index out of range
It leads to "Error occured" popup alert at the dashboard and reload of
Instances page.
It would be great to catch this error and provide user more reasonable
message
** Affects: horizon
Importance: Undecided
Status: In Progress
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/2008132
Title:
Unable to associate FIP with Tungstenfabric Neutron backend
Status in OpenStack Dashboard (Horizon):
In Progress
Bug description:
Reproduced issue on the environment with TF Neutron backend and
enabled 'enable_fip_topology_check' config option. OVN backend is not
affected in any case, combination of any Neutron backend and disabled
'enable_fip_topology_check' also not affected.
It is possible to remove all FIPs from port via CLI at the TF
environment. In case of enabled topology check it leads to error
during FIP associate and disassociate operations.
Sample of traceback:
2023-01-12 11:23:41.841408 File "/var/lib/openstack/lib/python3.8/site-packages/openstack_dashboard/dashboards/project/instances/forms.py", line 436
, in __init__
2023-01-12 11:23:41.841412 targets = api.neutron.floating_ip_target_list_by_instance(
2023-01-12 11:23:41.841415 File "/var/lib/openstack/lib/python3.8/site-packages/openstack_dashboard/api/neutron.py", line 1631, in floating_ip_targe
t_list_by_instance
2023-01-12 11:23:41.841419 return FloatingIpManager(request).list_targets_by_instance(
2023-01-12 11:23:41.841425 File "/var/lib/openstack/lib/python3.8/site-packages/openstack_dashboard/api/neutron.py", line 757, in list_targets_by_in
stance
2023-01-12 11:23:41.841429 reachable_subnets = self._get_reachable_subnets(
2023-01-12 11:23:41.841433 File "/var/lib/openstack/lib/python3.8/site-packages/openstack_dashboard/api/neutron.py", line 690, in _get_reachable_sub
nets
2023-01-12 11:23:41.841436 reachable_subnets = set(p.fixed_ips[0]['subnet_id']
2023-01-12 11:23:41.841440 File "/var/lib/openstack/lib/python3.8/site-packages/openstack_dashboard/api/neutron.py", line 690, in <genexpr>
2023-01-12 11:23:41.841444 reachable_subnets = set(p.fixed_ips[0]['subnet_id']
2023-01-12 11:23:41.841446 IndexError: list index out of range
It leads to "Error occured" popup alert at the dashboard and reload of
Instances page.
It would be great to catch this error and provide user more reasonable
message
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/2008132/+subscriptions