← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1599698] Re: Associating a floating IP address to a server through Horizon failed

 

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

** Project changed: python-neutronclient => neutron

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1599698

Title:
  Associating a floating IP address to a server through Horizon failed

Status in neutron:
  In Progress

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-3717-4907-a8c0-618503a538cc']"
  Error: Unable to associate IP address 203.0.112.11.

  Associating a floating IP address to a server through the 'nova
  floating-ip-associate <server> <address>' succeeded.

  [root@localhost devstack]# nova list

  +--------------------------------------+-----------+--------+------------+-------------+----------------------------------------------------------------------------+
  | ID                                   | Name      | Status | Task State | Power State | Networks                                                                   |
  +--------------------------------------+-----------+--------+------------+-------------+----------------------------------------------------------------------------+
  | 6b7fb5d6-06b8-4398-9fa2-0e73b97c88d1 | instance1 | ACTIVE | -          | Running     | network1=2001:db8:80d2:c4d3:f816:3eff:fed6:60f5, 198.51.100.7, 203.0.112.4 |
  | 42e45336-33a8-4c7c-87d6-46d40c2a34fb | instance2 | ACTIVE | -          | Running     | network2=2001:db8:a583:1:f816:3eff:fe3c:3590, 203.0.112.68                 |
  +--------------------------------------+-----------+--------+------------+-------------+----------------------------------------------------------------------------+
  [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.api.v2.resource   File "/opt/stack/neutron/neutron/db/l3_db.py", line 1021, in _internal_fip_assoc_data
  2016-07-06 22:22:24.453 TRACE neutron.api.v2.resource     'therefore cannot be bound.') % data)
  2016-07-06 22:22:24.453 TRACE neutron.api.v2.resource TypeError: not enough arguments for format string
  The detail info is as follows:

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1599698/+subscriptions