Comment 5 for bug 1462107

Revision history for this message
Danny Choi (dannchoi) wrote :

Retest on RHEL reference test bed without Cisco neutron:

[root@hh24-11 ~]# rpm -qi python-neutron
Name : python-neutron
Version : 2014.2.3
Release : 2.el7ost
Architecture: noarch
Install Date: Thu 16 Jul 2015 11:17:46 AM PDT
Group : Applications/System
Size : 11211657
License : ASL 2.0
Signature : RSA/SHA256, Sun 26 Apr 2015 08:03:39 AM PDT, Key ID 199e2f91fd431d51
Source RPM : openstack-neutron-2014.2.3-2.el7ost.src.rpm
Build Date : Mon 13 Apr 2015 06:23:08 AM PDT
Build Host : x86-021.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor : Red Hat, Inc.
URL : http://launchpad.net/neutron/
Summary : Neutron Python libraries

Test result:
1. DHCP namespace is created automatically after a reboot or neutron restart.
2. DHCP port binding is successful.

Before reboot:
==============
[root@hh24-11 ~]# neutron net-list
+--------------------------------------+---------+----------------------------------------------------+
| id | name | subnets |
+--------------------------------------+---------+----------------------------------------------------+
| 0a7cafba-100d-4761-9799-96c32bd54cd5 | ext-net | 66a2a867-af61-4017-bd94-54f04d973073 2.2.2.0/24 |
| 1e0b9add-3df6-483c-840a-533b4323c2bc | private | c2e11c64-2269-486f-b1ce-15c358db129a 10.10.10.0/24 |
+--------------------------------------+---------+----------------------------------------------------+
[root@hh24-11 ~]# neutron subnet-list
+--------------------------------------+----------------+---------------+------------------------------------------------+
| id | name | cidr | allocation_pools |
+--------------------------------------+----------------+---------------+------------------------------------------------+
| 66a2a867-af61-4017-bd94-54f04d973073 | | 2.2.2.0/24 | {"start": "2.2.2.2", "end": "2.2.2.200"} |
| c2e11c64-2269-486f-b1ce-15c358db129a | private-subnet | 10.10.10.0/24 | {"start": "10.10.10.2", "end": "10.10.10.254"} |
+--------------------------------------+----------------+---------------+------------------------------------------------+
[root@hh24-11 ~]# neutron port-list
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+
| id | name | mac_address | fixed_ips |
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+
| 79acd252-7f56-461c-be2d-3b38ab0d878c | | fa:16:3e:5a:98:51 | {"subnet_id": "66a2a867-af61-4017-bd94-54f04d973073", "ip_address": "2.2.2.2"} |
| 98e09da6-104e-42e8-8802-39aaf02e3e3d | | fa:16:3e:24:2c:01 | {"subnet_id": "c2e11c64-2269-486f-b1ce-15c358db129a", "ip_address": "10.10.10.1"} |
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+
[root@hh24-11 ~]# ip netns
qrouter-e04bc2e0-cf07-49a9-a87f-66cb83417317
[root@hh24-11 ~]#

AFTER reboot:
===============
[root@hh24-11 ~]# ip netns
qdhcp-1e0b9add-3df6-483c-840a-533b4323c2bc
qrouter-e04bc2e0-cf07-49a9-a87f-66cb83417317
[root@hh24-11 ~]# neutron port-list
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+
| id | name | mac_address | fixed_ips |
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+
| 1693452b-8c50-4c53-8096-01b740fc5a54 | | fa:16:3e:20:d7:db | {"subnet_id": "c2e11c64-2269-486f-b1ce-15c358db129a", "ip_address": "10.10.10.2"} |
| 79acd252-7f56-461c-be2d-3b38ab0d878c | | fa:16:3e:5a:98:51 | {"subnet_id": "66a2a867-af61-4017-bd94-54f04d973073", "ip_address": "2.2.2.2"} |
| 98e09da6-104e-42e8-8802-39aaf02e3e3d | | fa:16:3e:24:2c:01 | {"subnet_id": "c2e11c64-2269-486f-b1ce-15c358db129a", "ip_address": "10.10.10.1"} |
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+
[root@hh24-11 ~]# neutron port-show 1693452b-8c50-4c53-8096-01b740fc5a54
+-----------------------+-----------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+-----------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | hh24-11 |
| binding:profile | {} |
| binding:vif_details | {"port_filter": true, "ovs_hybrid_plug": true} |
| binding:vif_type | ovs |
| binding:vnic_type | normal |
| device_id | dhcpd464f172-1eb9-5fff-b3d7-487f7587f0bf-1e0b9add-3df6-483c-840a-533b4323c2bc |
| device_owner | network:dhcp |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "c2e11c64-2269-486f-b1ce-15c358db129a", "ip_address": "10.10.10.2"} |
| id | 1693452b-8c50-4c53-8096-01b740fc5a54 |
| mac_address | fa:16:3e:20:d7:db |
| name | |
| network_id | 1e0b9add-3df6-483c-840a-533b4323c2bc |
| security_groups | |
| status | ACTIVE |
| tenant_id | f12bdccb03c24c05b9ea5202783f1cec |
+-----------------------+-----------------------------------------------------------------------------------+