Public bug reported: 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 ** Affects: neutron Importance: High Assignee: John Davidge (john-davidge) Status: New ** Tags: l3-ipam-dhcp newton-backport-potential ** Description changed: 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 + $ 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 -- 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: New 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp