yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #32438
[Bug 1441576] Re: LoadBalancer not opening in horizon after network is deleted
I can confirm the bug - and it gets reproduced easily with the steps mentioned.
However, the problem seems to be in the horizon code and doesn't seem to be in neutron. Also all the logs you have pasted, doesn't seem to be relevant.
In the dashboard/api/lbass.py file:
def _vip_get(request, vip_id, expand_resource=False):
vip = neutronclient(request).show_vip(vip_id).get('vip')
if expand_resource:
vip['subnet'] = neutron.subnet_get(request, vip['subnet_id'])
The subnet get is what fails in this case but there seems to be no handler for that.
The error is correctly reported in the neutron server log as well:
show failed (client error): Subnet e898cfa9-87ab-481c-8ecd-79c0f1af2894
could not be found
As far as the lbaas warning is concerned - that sounds a bit legit:
def get_stats(self, pool_id):
socket_path = self._get_state_file_path(pool_id, 'sock', False)
TYPE_BACKEND_REQUEST = 2
TYPE_SERVER_REQUEST = 4
if os.path.exists(socket_path):
parsed_stats = self._get_stats_from_socket(
socket_path,
entity_type=TYPE_BACKEND_REQUEST | TYPE_SERVER_REQUEST)
pool_stats = self._get_backend_stats(parsed_stats)
pool_stats['members'] = self._get_servers_stats(parsed_stats)
return pool_stats
else:
LOG.warn(_('Stats socket not found for pool %s'), pool_id)
return {}
** Changed in: neutron
Status: Incomplete => Invalid
** Tags added: lbaas
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1441576
Title:
LoadBalancer not opening in horizon after network is deleted
Status in OpenStack Dashboard (Horizon):
New
Status in OpenStack Neutron (virtual network service):
Invalid
Bug description:
Load Balancer fails to open in Horizon, after deleting the Assigned
"Network"
Steps:
1)Create Network and Subnetwork
2)Create pool in Load Balancer and assign a subnet
3)Delete the Network assigned to the Pool
4)load balancer failed to open from horizon.
But load balancer opens after deleting the loadbalancer-pool from CLI.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1441576/+subscriptions
References