← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1481540] [NEW] no interface created in DHCP namespace for second subnet (dhcp enabled) on a network

 

Public bug reported:

Steps to reproduce:

On devstack:
1. create a network.
2. create a subnet (dhcp enabled); we can see DHCP namespace with one interface for the subnet.
3. create another subnet (dhcp enabled).
We do not see another interface for this subnet in DHCP namespace.


LOGS:
======

stack@ritesh05:/opt/stack/neutron$ neutron net-list
+--------------------------------------+---------+--------------------------------------------------+
| id                                   | name    | subnets                                          |
+--------------------------------------+---------+--------------------------------------------------+
| bff21881-abcf-4c68-afd7-fae081e87f9c | public  |                                                  |
| beaabd4a-8211-41f5-906d-d685c1ee6b10 | private | 0d8d834c-5806-453e-852e-4382f53d956c 20.0.0.0/24 |
|                                      |         | f11c53f8-f254-4c88-b6dd-3ba3fec68329 10.0.0.0/24 |
+--------------------------------------+---------+--------------------------------------------------+
stack@ritesh05:/opt/stack/neutron$ neutron subnet-list
+--------------------------------------+-----------------+-------------+--------------------------------------------+
| id                                   | name            | cidr        | allocation_pools                           |
+--------------------------------------+-----------------+-------------+--------------------------------------------+
| 0d8d834c-5806-453e-852e-4382f53d956c | private-subnet2 | 20.0.0.0/24 | {"start": "20.0.0.2", "end": "20.0.0.254"} |
| f11c53f8-f254-4c88-b6dd-3ba3fec68329 | private-subnet  | 10.0.0.0/24 | {"start": "10.0.0.2", "end": "10.0.0.254"} |
+--------------------------------------+-----------------+-------------+--------------------------------------------+
stack@ritesh05:/opt/stack/neutron$

stack@ritesh05:/opt/stack/neutron$ sudo ip netns exec qdhcp-beaabd4a-8211-41f5-906d-d685c1ee6b10 ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

tapc97de8da-97 Link encap:Ethernet  HWaddr fa:16:3e:a2:b8:02
          inet addr:10.0.0.2  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::f816:3eff:fea2:b802/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:738 (738.0 B)

stack@ritesh05:/opt/stack/neutron$

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: l3-ipam-dhcp neutron-core

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1481540

Title:
  no interface created in DHCP namespace for second subnet (dhcp
  enabled) on a network

Status in neutron:
  New

Bug description:
  Steps to reproduce:

  On devstack:
  1. create a network.
  2. create a subnet (dhcp enabled); we can see DHCP namespace with one interface for the subnet.
  3. create another subnet (dhcp enabled).
  We do not see another interface for this subnet in DHCP namespace.

  
  LOGS:
  ======

  stack@ritesh05:/opt/stack/neutron$ neutron net-list
  +--------------------------------------+---------+--------------------------------------------------+
  | id                                   | name    | subnets                                          |
  +--------------------------------------+---------+--------------------------------------------------+
  | bff21881-abcf-4c68-afd7-fae081e87f9c | public  |                                                  |
  | beaabd4a-8211-41f5-906d-d685c1ee6b10 | private | 0d8d834c-5806-453e-852e-4382f53d956c 20.0.0.0/24 |
  |                                      |         | f11c53f8-f254-4c88-b6dd-3ba3fec68329 10.0.0.0/24 |
  +--------------------------------------+---------+--------------------------------------------------+
  stack@ritesh05:/opt/stack/neutron$ neutron subnet-list
  +--------------------------------------+-----------------+-------------+--------------------------------------------+
  | id                                   | name            | cidr        | allocation_pools                           |
  +--------------------------------------+-----------------+-------------+--------------------------------------------+
  | 0d8d834c-5806-453e-852e-4382f53d956c | private-subnet2 | 20.0.0.0/24 | {"start": "20.0.0.2", "end": "20.0.0.254"} |
  | f11c53f8-f254-4c88-b6dd-3ba3fec68329 | private-subnet  | 10.0.0.0/24 | {"start": "10.0.0.2", "end": "10.0.0.254"} |
  +--------------------------------------+-----------------+-------------+--------------------------------------------+
  stack@ritesh05:/opt/stack/neutron$

  stack@ritesh05:/opt/stack/neutron$ sudo ip netns exec qdhcp-beaabd4a-8211-41f5-906d-d685c1ee6b10 ifconfig
  lo        Link encap:Local Loopback
            inet addr:127.0.0.1  Mask:255.0.0.0
            inet6 addr: ::1/128 Scope:Host
            UP LOOPBACK RUNNING  MTU:65536  Metric:1
            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
            TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:0
            RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

  tapc97de8da-97 Link encap:Ethernet  HWaddr fa:16:3e:a2:b8:02
            inet addr:10.0.0.2  Bcast:10.0.0.255  Mask:255.255.255.0
            inet6 addr: fe80::f816:3eff:fea2:b802/64 Scope:Link
            UP BROADCAST RUNNING  MTU:1500  Metric:1
            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
            TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:0
            RX bytes:0 (0.0 B)  TX bytes:738 (738.0 B)

  stack@ritesh05:/opt/stack/neutron$

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1481540/+subscriptions


Follow ups