yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #59910
[Bug 1636963] Re: Service Subnets - DHCP port creation fails
Reviewed: https://review.openstack.org/392183
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=1800ae63c2c1b6366f555c2f943e97f361c9ecd4
Submitter: Jenkins
Branch: master
commit 1800ae63c2c1b6366f555c2f943e97f361c9ecd4
Author: John Davidge <john.davidge@xxxxxxxxxxxxx>
Date: Tue Nov 1 14:36:49 2016 +0000
Fix DHCP Port Creation on Service Subnets
This changes the IPAM logic for service subnets to allow DHCP ports
to be created on subnets of any service type, provided that the subnet
has DHCP enabled.. This ensures that DHCP ports can still be created
automatically on 'nova:compute' service subnets, for example.
DocImpact
Change-Id: I736262f2a7d3f3d7dfdc5276e2364aca7187d18b
Closes-Bug: #1636963
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1636963
Title:
Service Subnets - DHCP port creation fails
Status in neutron:
Fix Released
Bug description:
Service Subnets[1] were added in Newton.
The TL;DR is that a subnet can be created/updated with one or more
service_types corresponding to a port device owner. If a subnet has
one or more service_types, then only ports with a matching device
owner can be created on the subnet.
If a service subnet is created with dhcp enabled, automatic dhcp port
creation fails, because the port device owner does not match the
subnet's service_types.
The port creation is re-attempted over and over, and the subnet
remains without dhcp.
Steps to recreate:
NOTE: THIS REQUIRES INSTALLING OPENSTACKCLIENT FROM MASTER
$ openstack network create test-net
$ openstack subnet create test-subnet --subnet-range 10.1.0.0/24 \
--service-type compute:nova --network test-net
Then take a look in the q-svc logs.
[1] http://docs.openstack.org/draft/networking-guide/config-service-
subnets.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1636963/+subscriptions
References