← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1406854] [NEW] Loadbalancer page is not coming up in case subnet is deleted without deleting the pool

 

Public bug reported:

Openstack: ICEHOUSE

Description:

UI page for Project ->Network->Load Balancers is not displayed.


Steps:
========>
1. Created a provider offering (type: LoadBalancer, driver: LB)

2. Created a network, and subnet.

3. Created a pool with subnet created above.

4. Deleted the subnet without deleting the pool assoicated.

5. Now the UI page for Project ->Network->Load Balancers is not
displayed and thrown standard error page "something went wrong".


Observed that subnet id is still attached as a part of the pool.


root@os-158:~# neutron lb-pool-list
+--------------------------------------+--------+---------------+-------------+----------+----------------+--------+
| id                                   | name   | provider      | lb_method   |
protocol | admin_state_up | status |
+--------------------------------------+--------+---------------+-------------+----------+----------------+--------+
| e8ff074c-64ae-468c-a2c3-51b0c0306b71 | pool_1 | haproxy_on_vm | ROUND_ROBIN |
HTTP     | True           | ACTIVE |
+--------------------------------------+--------+---------------+-------------+----------+----------------+--------+
root@os-158:~# 
root@os-158:~# neutron lb-pool-show e8ff074c-64ae-468c-a2c3-51b0c0306b71
+------------------------+--------------------------------------+
| Field                  | Value                                |
+------------------------+--------------------------------------+
| admin_state_up         | True                                 |
| description            |                                      |
| health_monitors        |                                      |
| health_monitors_status |                                      |
| id                     | e8ff074c-64ae-468c-a2c3-51b0c0306b71 |
| lb_method              | ROUND_ROBIN                          |
| members                |                                      |
| name                   | pool_1                               |
| protocol               | HTTP                                 |
| provider               | haproxy_on_vm                        |
| status                 | ACTIVE                               |
| status_description     |                                      |
| subnet_id              | 274c1806-da49-4eef-b573-6f30783e490e |
| tenant_id              | 7799606d678e438f98f339fb0553fb10     |
| vip_id                 |                                      |
+------------------------+--------------------------------------+
root@os-158:~# 
root@os-158:~# 
root@os-158:~# neutron subnet-show 274c1806-da49-4eef-b573-6f30783e490e
Unable to find subnet with name '274c1806-da49-4eef-b573-6f30783e490e'
root@os-158:~#

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: 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/1406854

Title:
  Loadbalancer page is not coming up in case subnet is deleted without
  deleting the pool

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Openstack: ICEHOUSE

  Description:

  UI page for Project ->Network->Load Balancers is not displayed.

  
  Steps:
  ========>
  1. Created a provider offering (type: LoadBalancer, driver: LB)

  2. Created a network, and subnet.

  3. Created a pool with subnet created above.

  4. Deleted the subnet without deleting the pool assoicated.

  5. Now the UI page for Project ->Network->Load Balancers is not
  displayed and thrown standard error page "something went wrong".

  
  Observed that subnet id is still attached as a part of the pool.

  
  root@os-158:~# neutron lb-pool-list
  +--------------------------------------+--------+---------------+-------------+----------+----------------+--------+
  | id                                   | name   | provider      | lb_method   |
  protocol | admin_state_up | status |
  +--------------------------------------+--------+---------------+-------------+----------+----------------+--------+
  | e8ff074c-64ae-468c-a2c3-51b0c0306b71 | pool_1 | haproxy_on_vm | ROUND_ROBIN |
  HTTP     | True           | ACTIVE |
  +--------------------------------------+--------+---------------+-------------+----------+----------------+--------+
  root@os-158:~# 
  root@os-158:~# neutron lb-pool-show e8ff074c-64ae-468c-a2c3-51b0c0306b71
  +------------------------+--------------------------------------+
  | Field                  | Value                                |
  +------------------------+--------------------------------------+
  | admin_state_up         | True                                 |
  | description            |                                      |
  | health_monitors        |                                      |
  | health_monitors_status |                                      |
  | id                     | e8ff074c-64ae-468c-a2c3-51b0c0306b71 |
  | lb_method              | ROUND_ROBIN                          |
  | members                |                                      |
  | name                   | pool_1                               |
  | protocol               | HTTP                                 |
  | provider               | haproxy_on_vm                        |
  | status                 | ACTIVE                               |
  | status_description     |                                      |
  | subnet_id              | 274c1806-da49-4eef-b573-6f30783e490e |
  | tenant_id              | 7799606d678e438f98f339fb0553fb10     |
  | vip_id                 |                                      |
  +------------------------+--------------------------------------+
  root@os-158:~# 
  root@os-158:~# 
  root@os-158:~# neutron subnet-show 274c1806-da49-4eef-b573-6f30783e490e
  Unable to find subnet with name '274c1806-da49-4eef-b573-6f30783e490e'
  root@os-158:~#

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


Follow ups

References