Loadbalancer Add member fails silently

Bug #1521394 reported by Mitali Parthasarathy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Tatiana Ovchinnikova

Bug Description

The instance to be added should not have any ports i.e. it is still in scheduling state.

In Project->Networks->Load Balancers:

1. Click on Members tab
2. Click on 'Add Member' button
3. Enter member details and pick the instance with no ports

You will get a success message that a member has been added but you won't see it in the table. The AddMember workflow calls neutron to retrieve a port list. If the port list is empty the function returns True and fails silently. The function should return False with a failure message if there are no ports so that the error message can be displayed to the user.

affects: django-openstack-auth → horizon
Changed in horizon:
assignee: nobody → Tatiana Ovchinnikova (tmazur)
Changed in horizon:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/251757

Changed in horizon:
status: Confirmed → In Progress
Revision history for this message
Rob Cresswell (robcresswell-deactivatedaccount) wrote :

Marked High because it can actually completely obscure a feature to an end user without making the reason clear.

Changed in horizon:
milestone: none → ongoing
importance: Undecided → High
milestone: ongoing → newton-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/251757
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=33b543974d49aa3b52c8f478fa9c39265f7fe851
Submitter: Jenkins
Branch: master

commit 33b543974d49aa3b52c8f478fa9c39265f7fe851
Author: Tatiana Ovchinnikova <email address hidden>
Date: Tue Dec 1 12:51:48 2015 +0300

    Port list check is missing for LBaaS Add Member

    The "Add Member" workflow calls neutron to retrieve
    a port list. The exception is handled, however there
    is a case when port list is empty and therefore
    a member cannot be created. This patch set adds a check
    and a corresponding failure message.

    Change-Id: I86493acb47e15ab9348fa5029852e873b64358aa
    Closes-bug: #1521394

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/horizon 10.0.0.0b1

This issue was fixed in the openstack/horizon 10.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.