test_create_port_when_quotas_is_full breaks if you have dhcp agent running

Bug #1623505 reported by Kevin Benton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Kevin Benton

Bug Description

test_create_port_when_quotas_is_full sets a tenant quota to 1 and then tries to create a port on a DHCP enabled subnet. So if you run this test with a DHCP agent running, it will fail (unless the agent is slow).

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/370122

Changed in neutron:
assignee: nobody → Kevin Benton (kevinbenton)
status: New → In Progress
Changed in neutron:
importance: Undecided → High
milestone: none → newton-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/370122
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=c66e343618afe4d08f6fcd990f8a6f32d4349988
Submitter: Jenkins
Branch: master

commit c66e343618afe4d08f6fcd990f8a6f32d4349988
Author: Kevin Benton <email address hidden>
Date: Wed Sep 14 00:05:13 2016 -0700

    Disable DHCP on test_create_port_when_quotas_is_full

    This test sets the quota to 1 for a tenant and creates
    two ports, ensuring 1 works and one fails. This breaks
    though if dhcp is enabled on the subnet and a DHCP agent
    is running for the deployment because the agent will take
    up a port.

    This patch disables DHCP on the subnet for the test.

    Change-Id: Id6b114962d7635999b8c5408e33b55b7a23243ee
    Closes-Bug: #1623505

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 9.0.0.0rc1

This issue was fixed in the openstack/neutron 9.0.0.0rc1 release candidate.

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.