** Changed in: neutron
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1242338

Title:
  Trying to remove a load balancer pool (which contains members) via
  horizon ends with error

Status in OpenStack Dashboard (Horizon):
  New
Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  I've tried to remove a pool that has 2 members and a health monitor, 
operation failed with the following popup:
  "Error: Unable to delete pool. 409-{u'NeutronError': {u'message': u'Pool 
f5004d04-4461-4a9a-aa7c-04a9bdfde974 is still in use', u'type': u'PoolInUse', 
u'detail': u''}}"

  I did expect this operation to fail, I just didn't expect it to be
  available in horizon while the pool still has other objects associated
  with it and I didn't expect it to leave the pool in "PENDING_DELETE"
  status.

  The exception from the log file:

  2013-10-20 16:12:13.564 22804 ERROR 
neutron.services.loadbalancer.drivers.haproxy.agent_manager [-] Unable to 
destroy device for pool: f5004d04-4461-4a9a-aa7c-04a9bdfde974
  2013-10-20 16:12:13.564 22804 TRACE 
neutron.services.loadbalancer.drivers.haproxy.agent_manager Traceback (most 
recent call last):
  2013-10-20 16:12:13.564 22804 TRACE 
neutron.services.loadbalancer.drivers.haproxy.agent_manager   File 
"/usr/lib/python2.6/site-packages/neutron/services/loadbalancer/drivers/haproxy/agent_manager.py",
 line 244, in destroy_device
  2013-10-20 16:12:13.564 22804 TRACE 
neutron.services.loadbalancer.drivers.haproxy.agent_manager     
self.driver.destroy(pool_id)
  2013-10-20 16:12:13.564 22804 TRACE 
neutron.services.loadbalancer.drivers.haproxy.agent_manager   File 
"/usr/lib/python2.6/site-packages/neutron/services/loadbalancer/drivers/haproxy/namespace_driver.py",
 line 92, in destroy
  2013-10-20 16:12:13.564 22804 TRACE 
neutron.services.loadbalancer.drivers.haproxy.agent_manager     
ns.garbage_collect_namespace()
  2013-10-20 16:12:13.564 22804 TRACE 
neutron.services.loadbalancer.drivers.haproxy.agent_manager   File 
"/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 141, in 
garbage_collect_namespace
  2013-10-20 16:12:13.564 22804 TRACE 
neutron.services.loadbalancer.drivers.haproxy.agent_manager     
self.netns.delete(self.namespace)
  2013-10-20 16:12:13.564 22804 TRACE 
neutron.services.loadbalancer.drivers.haproxy.agent_manager   File 
"/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 440, in 
delete
  2013-10-20 16:12:13.564 22804 TRACE 
neutron.services.loadbalancer.drivers.haproxy.agent_manager     
self._as_root('delete', name, use_root_namespace=True)
  2013-10-20 16:12:13.564 22804 TRACE 
neutron.services.loadbalancer.drivers.haproxy.agent_manager   File 
"/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 206, in 
_as_root
  2013-10-20 16:12:13.564 22804 TRACE 
neutron.services.loadbalancer.drivers.haproxy.agent_manager     
kwargs.get('use_root_namespace', False))
  2013-10-20 16:12:13.564 22804 TRACE 
neutron.services.loadbalancer.drivers.haproxy.agent_manager   File 
"/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 65, in 
_as_root
  2013-10-20 16:12:13.564 22804 TRACE 
neutron.services.loadbalancer.drivers.haproxy.agent_manager     namespace)
  2013-10-20 16:12:13.564 22804 TRACE 
neutron.services.loadbalancer.drivers.haproxy.agent_manager   File 
"/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 76, in 
_execute
  2013-10-20 16:12:13.564 22804 TRACE 
neutron.services.loadbalancer.drivers.haproxy.agent_manager     
root_helper=root_helper)
  2013-10-20 16:12:13.564 22804 TRACE 
neutron.services.loadbalancer.drivers.haproxy.agent_manager   File 
"/usr/lib/python2.6/site-packages/neutron/agent/linux/utils.py", line 61, in 
execute
  2013-10-20 16:12:13.564 22804 TRACE 
neutron.services.loadbalancer.drivers.haproxy.agent_manager     raise 
RuntimeError(m)
  2013-10-20 16:12:13.564 22804 TRACE 
neutron.services.loadbalancer.drivers.haproxy.agent_manager RuntimeError: 
  2013-10-20 16:12:13.564 22804 TRACE 
neutron.services.loadbalancer.drivers.haproxy.agent_manager Command: ['sudo', 
'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'delete', 
'qlbaas-f5004d04-4461-4a9a-aa7c-04a9bdfde974']
  2013-10-20 16:12:13.564 22804 TRACE 
neutron.services.loadbalancer.drivers.haproxy.agent_manager Exit code: 255
  2013-10-20 16:12:13.564 22804 TRACE 
neutron.services.loadbalancer.drivers.haproxy.agent_manager Stdout: ''
  2013-10-20 16:12:13.564 22804 TRACE 
neutron.services.loadbalancer.drivers.haproxy.agent_manager Stderr: 'Cannot 
remove /var/run/netns/qlbaas-f5004d04-4461-4a9a-aa7c-04a9bdfde974: Device or 
resource busy\n'
  2013-10-20 16:12:13.564 22804 TRACE 
neutron.services.loadbalancer.drivers.haproxy.agent_manager

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1242338/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to