O3L 1.0: Namespace qdhcp=* does not generated after Neutron created subnet with enable_dhcp: True

(Doc ID 2001035.1)

Last updated on NOVEMBER 23, 2017

Applies to:

Oracle OpenStack for Oracle Linux - Version OpenStack 1.0 and later
Linux x86-64

Symptoms

Namespace qdhcp=* does not generated after Neutron created subnet with enable_dhcp: True:

[root@o3l ~(keystone_admin)]# neutron net-create net1
Created a new network:
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| id                        | 4d693437-e3b8-4ac6-8459-b31c1f1f9a56 |
| name                      | net1                                 |
| provider:network_type     | local                                |
| provider:physical_network |                                      |
| provider:segmentation_id  |                                      |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   |                                      |
| tenant_id                 | 5e25a2c7f35043cda62fcbdb81535568     |
+---------------------------+--------------------------------------+
[root@o3l ~(keystone_admin)]# neutron subnet-create net1 10.10.10.0/24
Created a new subnet:
+------------------+------------------------------------------------+
| Field            | Value                                          |
+------------------+------------------------------------------------+
| allocation_pools | {"start": "10.10.10.2", "end": "10.10.10.254"} |
| cidr             | 10.10.10.0/24                                  |
| dns_nameservers  |                                                |
| enable_dhcp      | True                                           |
| gateway_ip       | 10.10.10.1                                     |
| host_routes      |                                                |
| id               | 185ba7c2-0b4b-4a26-bf6e-79b5efded6ec           |
| ip_version       | 4                                              |
| name             |                                                |
| network_id       | 4d693437-e3b8-4ac6-8459-b31c1f1f9a56           |
| tenant_id        | 5e25a2c7f35043cda62fcbdb81535568               |
+------------------+------------------------------------------------+
[root@o3l ~(keystone_admin)]# ip netns list
[root@o3l ~(keystone_admin)]#


The dhcp_agent.ini has namespace enabled:

[root@o3l ~(keystone_admin)]# egrep -v "#|^$" /etc/neutron/dhcp_agent.ini | grep namespaces
use_namespaces = True
dhcp_delete_namespaces = False

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms