Should not schedule dhcp-agent when dhcp port creation

Bug #1327000 reported by Itsuro Oda
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Itsuro Oda

Bug Description

Intended operation:
---
1. create network and subnet
  neutron net-create net
  neutron subnet-create --name sub net 20.0.0.0/24
2. create port for dhcp server. It is intended to assign specific ip address.
 neutron port-create --name dhcp --device-id reserved_dhcp_port --fixed-ip ip_address=20.0.0.10,subnet_id=sub net -- --device_owner network:dhcp
3. then schedule dhcp-agent manually
 neutron dhcp-agent-network-add 275f7a3f-0251-485c-aea1-9913e173dd1e net
---

But now force scheduling occurs at port creation (2.). So it is not available to schedule manually (3.).

Tags: l3-ipam-dhcp
Itsuro Oda (oda-g)
Changed in neutron:
assignee: nobody → Itsuro Oda (oda-g)
Changed in neutron:
status: New → In Progress
Revision history for this message
Itsuro Oda (oda-g) wrote :

note: this bug report is referred from https://review.openstack.org/89969/ .

tags: added: l3-ipam-dhcp
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit 56c84cd95ff23043101dde3c26c10f9fff5729b5
Author: Itsuro Oda <email address hidden>
Date: Thu Jun 5 14:32:13 2014 +0900

    Do not schedule network when creating reserved DHCP port

    If device_id is DEVICE_ID_RESERVED_DHCP_PORT, do not schedule
    network nor notify to dhcp-agent.

    Closes-Bug: #1327000
    Change-Id: Idf88767596bf0fc31bf856a423d35cb1575b57f3

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
milestone: none → juno-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-3 → 2014.2
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.