Bug 1474806 - A Floating IP of one tenant can be associated with a port belonging to another tenant
Summary: A Floating IP of one tenant can be associated with a port belonging to anothe...
Keywords:
Status: CLOSED DUPLICATE of bug 1480269
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Upstream M3
: 12.0 (Pike)
Assignee: Assaf Muller
QA Contact: Toni Freger
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-25 12:19 UTC by Itzik Brown
Modified: 2017-08-23 12:27 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-23 12:25:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1706328 0 None None None 2017-07-25 12:19:11 UTC

Description Itzik Brown 2017-07-25 12:19:11 UTC
Description of problem:

The following test fails:
neutron.tests.tempest.api.admin.test_floating_ips_admin_actions.FloatingIPAdminTestJSON.test_associate_floating_ip_with_port_from_another_tenant

Traceback (most recent call last):
  File "/home/centos/tempest-upstream/neutron/neutron/tests/tempest/api/admin/test_floating_ips_admin_actions.py", line 64, in test_associate_floating_ip_with_port_from_another_tenant
    self.assertRaises(lib_exc.BadRequest,
  File "/home/centos/tempest-upstream/lib/python2.7/site-packages/testtools/testcase.py", line 485, in assertRaises
    self.assertThat(our_callable, matcher)
  File "/home/centos/tempest-upstream/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: <function _update at 0x5f3ae60> returned {u'floatingip': {u'router_id': u'2be3c4b2-38b3-4bc8-acda-26fbab475ea2', u'status': u'ACTIVE', u'description': u'', u'tenant_id': u'f0cbe309a7c244b0a9356fbb7c9dd530', u'created_at': u'2017-07-25T09:43:34Z', u'updated_at': u'2017-07-25T09:50:19Z', u'floating_network_id': u'34899a2a-7a5c-447d-8a7f-cc7d70b56ec8', u'fixed_ip_address': u'10.100.0.11', u'floating_ip_address': u'10.6.66.15', u'revision_number': 2, u'project_id': u'f0cbe309a7c244b0a9356fbb7c9dd530', u'port_id': u'c30c8136-1a9c-4c64-bfbb-02f2c19abf2d', u'id': u'32f3320c-c7af-4d56-9cc9-e973f18c6893'}}

A manual associating of a floating IP of one tenant to a port's of another tenant worked as well.

Version-Release number of selected component (if applicable):
python-networking-odl-11.0.0-0.20170714110903.cd46f2f.el7ost.noarch

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 5 Jakub Libosvar 2017-08-23 12:25:04 UTC
Even though this BZ is older, the fix is tracked in Neutron as part of bug 1480269, so I'm closing this one as duplicate.

*** This bug has been marked as a duplicate of bug 1480269 ***


Note You need to log in before you can comment on or make changes to this bug.