Bug 1008428

Summary: Inconsistent simple_ip_management behavior in Horizon, with Neutron
Product: [Community] RDO Reporter: Sandro Mathys <sandro>
Component: python-django-horizonAssignee: Julie Pichon <jpichon>
Status: CLOSED UPSTREAM QA Contact: Ami Jeain <ajeain>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aortega, athomas, jpichon, mrunge, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: Icehouse   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-08 09:05:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sandro Mathys 2013-09-16 11:00:06 UTC
Description of problem:
Neutron does not (yet?) support the mechanism behind simple_ip_management (see e.g. https://bugs.launchpad.net/horizon/+bug/1196541). But it seems Horizon is only checking for support when associating a floating IP, but not when disassociating it. Thus, the behavior is highly inconsistent, if Neutron is used for the Networking and simple_ip_management is on (default).

Version-Release number of selected component (if applicable):
python-django-horizon-2013.2-0.10b3.el6.noarch

How reproducible:
Always.

Steps to Reproduce:
1. Install OpenStack (e.g. Havana-3) with Neutron
2. Check that HORIZON_CONFIG["simple_ip_management"] is on (default)
3. In Horizon, first associate a floating IP and then disassociate it through the Instances (overview) page.

Actual results:
Association will show the non-simple behavior ("pick your IP") but Disassociation will show simple behavior ("disassociate and release immediately").

Expected results:
Use non-simple in both cases, as long as Neutron doesn't support simple.

Additional info:
As a workaround, HORIZON_CONFIG["simple_ip_management"] can be set to False in /etc/openstack-dashboard/local_settings

Comment 1 Sandro Mathys 2013-09-16 11:15:20 UTC
Reported the issue upstream with Horizon.

Comment 2 Matthias Runge 2014-10-08 09:05:33 UTC
This bug is being discussed upstream, it's not special to RDO.

Upstream tracker is https://bugs.launchpad.net/bugs/1226003