← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2025618] [NEW] [UT] "test_negative_update_floatingip_port_forwarding" does not create the ports in the correct subnet

 

Public bug reported:

The ``NeutronDbPluginV2TestCase.port`` method input parameters are
misleading. The "subnet" parameter won't create a port in the subnet
selected; the method will extract the network and will enforce only the
creation of the port on this network.

In order to create a port on the required subnet, the parameter
"fixed_ips" should be provided instead.

The test ``test_negative_update_floatingip_port_forwarding`` is failing
in [1].

[1]https://438434f768f3cb6b0f33-325b4a96905c9937625b58a50d186e45.ssl.cf2.rackcdn.com/887270/1/gate/cross-
neutron-py310/e22eb16/testr_results.html

** Affects: neutron
     Importance: High
     Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez)
         Status: In Progress

** Changed in: neutron
     Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez)

** Changed in: neutron
   Importance: Undecided => High

** Description changed:

  The ``NeutronDbPluginV2TestCase.port`` method input parameters are
  misleading. The "subnet" parameter won't create a port in the subnet
  selected; the method will extract the network and will enforce only the
  creation of the port on this network.
  
  In order to create a port on the required subnet, the parameter
  "fixed_ips" should be provided instead.
+ 
+ The test ``test_negative_update_floatingip_port_forwarding`` is failing
+ in [1].
+ 
+ [1]https://438434f768f3cb6b0f33-325b4a96905c9937625b58a50d186e45.ssl.cf2.rackcdn.com/887270/1/gate/cross-
+ neutron-py310/e22eb16/testr_results.html

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

Title:
  [UT] "test_negative_update_floatingip_port_forwarding" does not create
  the ports in the correct subnet

Status in neutron:
  In Progress

Bug description:
  The ``NeutronDbPluginV2TestCase.port`` method input parameters are
  misleading. The "subnet" parameter won't create a port in the subnet
  selected; the method will extract the network and will enforce only
  the creation of the port on this network.

  In order to create a port on the required subnet, the parameter
  "fixed_ips" should be provided instead.

  The test ``test_negative_update_floatingip_port_forwarding`` is
  failing in [1].

  [1]https://438434f768f3cb6b0f33-325b4a96905c9937625b58a50d186e45.ssl.cf2.rackcdn.com/887270/1/gate/cross-
  neutron-py310/e22eb16/testr_results.html

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



Follow ups