Associating a floating IP address to a server through Horizon failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Brian Haley |
Bug Description
In Mitaka,
Associating a floating IP address to a server through Horizon failed
The error info Horizon retruned is as follows:
"Error: Request Failed: internal server error while processing your request. Neutron server returns request_ids: ['req-5519568b-
Error: Unable to associate IP address 203.0.112.11.
Associating a floating IP address to a server through the 'nova floating-
[root@localhost devstack]# nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 6b7fb5d6-
| 42e45336-
+------
[root@localhost devstack]#
The neutron-server thrown an exception,it seems that the arguments Horizon passed is fewer than needed.
2016-07-06 22:22:24.453 TRACE neutron.
2016-07-06 22:22:24.453 TRACE neutron.
2016-07-06 22:22:24.453 TRACE neutron.
The detail info is as follows:
Changed in neutron: | |
importance: | Undecided → Medium |
tags: | added: low-hanging-fruit |
I'm not sure if there is also a problem with Horizon, but clearly there's a typo in the message string:
msg = (_('Floating IP %(floatingip_id)s is associated '
'with non-IPv4 address %s(internal_ip)s and '
'therefore cannot be bound.') % data)
%s(internal_ip)s is bogus - I'll send a patch