Fixed ip info shown for port even when dhcp is disabled

Bug #1403424 reported by Pasquale Porreca
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Opinion
Undecided
Unassigned
neutron
Opinion
Undecided
Unassigned

Bug Description

As a user it is very confusing (especially in Horizon dashboard) having the IP address displayed even when the DHCP is disabled for the subnet the port belongs to: the user would expect that the IP address shown is actually assigned to the instance, but this is not the case, since the DHCP is disabled.

I asked in the ML about this issue (http://lists.openstack.org/pipermail/openstack-dev/2014-December/053069.html) and I understood that neutron needs to reserve an IP address for a port even in the case it is not assigned, anyway I think this info should not be displayed or should be differently specified.

In a first moment I thought about raising the bug against Horizon, but I feel the correct place to fix this is in neutron. Before to assign this bug to myself I would like to get some feedback by other developers, my idea for a possible solution is to add a boolean element "assigned" to "fixed_ip" dict with value False when in the subnet identified by "subnet_id" DHCP is disabled.

Tags: horizon
tags: added: ui
Revision history for this message
Eugene Nikanorov (enikanorov) wrote :

What you get through the API is just a reflection of DB state, in which a port has IP address regardless of subnet settings.
I don't think output should be affected by the state of the backend.

So IMO, we don't need to fix this.

Changed in neutron:
status: New → Opinion
Revision history for this message
Pasquale Porreca (pasquale-porreca) wrote :

Maybe the solution I proposed is not the best one, but I still feel this is something that should be handled somewhere.
This is an issue that I noticed in Horizon even before I started to give a look to any OpenStack code, in fact I was just using it as an user.
As an user I assume that the IP address shown in the dashboard at the side of the instance name is actually assigned to that instance and not something useful for internal OpenStack use.

tags: added: horizon
removed: ui
Sam Betts (sambetts)
Changed in horizon:
status: New → Opinion
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.