Neutron fails to associate more than 2 floating IPs

Bug #1397907 reported by Gil Meir
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Vladimir Kuklin
5.1.x
Fix Released
Critical
Vladimir Kuklin
6.0.x
Invalid
High
Vladimir Kuklin

Bug Description

Only 2 floating IPs can be associated, when trying to associate more an error is raised.
The issue seems to be caused since the ports (attached to the instances) belong to a different tenant then the floating ip tenant.

A description with how I came to this conclusion will be attached next.
A snapshot is attached.

Build info:
{"build_id": "2014-11-27_23-41-13", "ostf_sha": "64cb59c681658a7a55cc2c09d079072a41beb346", "build_number": "45", "auth_required": true, "api": "1.0", "nailgun_sha": "500e36d08a45dbb389bf2bd97673d9bff48ee84d", "production": "docker", "fuelmain_sha": "51e66db7750e9c856ba128f35cfb6724895bf479", "astute_sha": "ef8aa0fd0e3ce20709612906f1f0551b5682a6ce", "feature_groups": ["mirantis"], "release": "5.1.1", "release_versions": {"2014.1.3-5.1.1": {"VERSION": {"build_id": "2014-11-27_23-41-13", "ostf_sha": "64cb59c681658a7a55cc2c09d079072a41beb346", "build_number": "45", "api": "1.0", "nailgun_sha": "500e36d08a45dbb389bf2bd97673d9bff48ee84d", "production": "docker", "fuelmain_sha": "51e66db7750e9c856ba128f35cfb6724895bf479", "astute_sha": "ef8aa0fd0e3ce20709612906f1f0551b5682a6ce", "feature_groups": ["mirantis"], "release": "5.1.1", "fuellib_sha": "15a387462f7be50c4f87ad986d0c81535025c125"}}}, "fuellib_sha": "15a387462f7be50c4f87ad986d0c81535025c125"}

400-{u'NeutronError': {u'message': u'Bad floatingip request: Port d3aab132-ea72-4b0a-883a-ae6a3feb08bb is associated with a different tenant than Floating IP 19211506-7817-4a0d-bff1-e6516c3f47b3 and therefore cannot be bound.', u'type': u'BadRequest', u'detail': u''}}

Revision history for this message
Gil Meir (gilmeir-d) wrote :
Revision history for this message
Gil Meir (gilmeir-d) wrote :
Revision history for this message
Gil Meir (gilmeir-d) wrote :

I must mention here that the size of the pool of floating ips is missing one address as described in the attached file fuel_floating_ip_5.1.1_bug.txt:
The range of addresses set in Fuel UI is 10.209.25.65-10.209.25.77, but 10.209.25.65 doesn't appear there.

Please investigate this too and create a bug if needed.

Mike Scherbakov (mihgen)
Changed in fuel:
milestone: none → 5.1.1
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

The issue from #2 is that neutron ports are created with admin tenant and floating IPs with services tenant, resulting in the following message:
400-{u'NeutronError': {u'message': u'Bad floatingip request: Port d3aab132-ea72-4b0a-883a-ae6a3feb08bb is associated with a different tenant than Floating IP 19211506-7817-4a0d-bff1-e6516c3f47b3 and therefore cannot be bound.', u'type': u'BadRequest', u'detail': u''}}

description: updated
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

https://review.openstack.org/#/c/137067/1/deployment/puppet/neutron/manifests/network/predefined_networks.pp shows that the tenant for floating IP pool changed from admin to services.

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Vladimir Kuklin (vkuklin)
tags: added: regression
Changed in fuel:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/5.1)

Fix proposed to branch: stable/5.1
Review: https://review.openstack.org/138047

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/5.1)

Reviewed: https://review.openstack.org/138047
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=e483a54e08a2b8dbef5c8ca4b96c8b47cad17fd4
Submitter: Jenkins
Branch: stable/5.1

commit e483a54e08a2b8dbef5c8ca4b96c8b47cad17fd4
Author: Vladimir Kuklin <email address hidden>
Date: Mon Dec 1 14:59:23 2014 +0300

    Allocate floating IPs for correct tenant

    Search for floating IP tenant name and use
    it when allocating IPs, thus allowing
    user to use IPs from configured tenant
    and not from services tenant

    Change-Id: I62f2dd6707ad13079b05f028f637c8fb1e2b7005
    Closes-bug: #1397907

Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

verified for 5.1.1
{"build_id": "2014-12-03_01-07-36", "ostf_sha": "64cb59c681658a7a55cc2c09d079072a41beb346", "build_number": "48", "auth_required": true, "api": "1.0", "nailgun_sha": "500e36d08a45dbb389bf2bd97673d9bff48ee84d", "production": "docker", "fuelmain_sha": "7626c5aeedcde77ad22fc081c25768944697d404", "astute_sha": "ef8aa0fd0e3ce20709612906f1f0551b5682a6ce", "feature_groups": ["mirantis"], "release": "5.1.1", "release_versions": {"2014.1.3-5.1.1": {"VERSION": {"build_id": "2014-12-03_01-07-36", "ostf_sha": "64cb59c681658a7a55cc2c09d079072a41beb346", "build_number": "48", "api": "1.0", "nailgun_sha": "500e36d08a45dbb389bf2bd97673d9bff48ee84d", "production": "docker", "fuelmain_sha": "7626c5aeedcde77ad22fc081c25768944697d404", "astute_sha": "ef8aa0fd0e3ce20709612906f1f0551b5682a6ce", "feature_groups": ["mirantis"], "release": "5.1.1", "fuellib_sha": "a3043477337b4a0a8fd166dc83d6cd5d504f5da8"}}}, "fuellib_sha": "a3043477337b4a0a8fd166dc83d6cd5d504f5da8"}

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.