← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1406879] [NEW] horizon should throw proper error msg when failed to display loadbalancer page

 

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".
<<<<<<<<<<<

--->>> Instead of showing "something went wrong", horizon should display
meaningful error message for user to understand the issue.

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: horizon
     Importance: Undecided
         Status: New


** Tags: lbaas

-- 
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/1406879

Title:
  horizon should throw proper error msg when failed to display
  loadbalancer page

Status in OpenStack Dashboard (Horizon):
  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".
  <<<<<<<<<<<

  --->>> Instead of showing "something went wrong", horizon should
  display meaningful error message for user to understand the issue.

  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/horizon/+bug/1406879/+subscriptions


Follow ups

References