<div dir="ltr"><div>Hi,</div><div>after a suggestion by Vishal I tryed to move to Liberty, but I faced the same problem.</div><div>I've copied the log of q-dhcp and it seems that it is unable to create the tap interface. I had the same problem with kilo. </div><a href="http://pastebin.com/ZPKVPCSv">http://pastebin.com/ZPKVPCSv</a><br><div>Anyone knows how to solve it?</div><div>Thaks</div><div><br></div><div>Silvia</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-20 15:22 GMT+01:00 Silvia Fichera <span dir="ltr"><<a href="mailto:fichera.sil@gmail.com" target="_blank">fichera.sil@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div>I have a setup with odl (lithium) and Openstack (kilo) fired up by devstack and I'm using OVSDB feature in ODL.</div><div><br></div><div>My problem is that when I launch a new istance in openstack this han no ip address assigned.</div><div><br></div><div>here some outputs of my controller node:</div><div><br></div><div><div>neutron agent-list</div><div>+--------------------------------------+----------------+-----------+-------+----------------+------------------------+</div><div>| id                                   | agent_type     | host      | alive | admin_state_up | binary                 |</div><div>+--------------------------------------+----------------+-----------+-------+----------------+------------------------+</div><div>| 0514a159-e823-44c2-aa9b-5fed18c1130b | DHCP agent     | devstack1 | :-)   | True           | neutron-dhcp-agent     |</div><div>| 8546282c-ab9d-45cd-8f2d-4877d924eec9 | Metadata agent | devstack1 | :-)   | True           | neutron-metadata-agent |</div><div>+--------------------------------------+----------------+-----------+-------+----------------+------------------------+</div></div><div><br></div><div><br></div><div><div>neutron port-list </div><div>+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+</div><div>| id                                   | name | mac_address       | fixed_ips                                                                         |</div><div>+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+</div><div>| 927db2be-5106-451d-95d1-5c1459d1a271 |      | fa:16:3e:40:7f:a0 | {"subnet_id": "547881c1-c4aa-4144-819a-64bc211f181b", "ip_address": "10.10.10.2"} |</div><div>+--------------------------------------+------+-------------------+----------------------------------------------------------------------------</div></div><div><br></div><div><div><div>neutron port-show 927db2be-5106-451d-95d1-5c1459d1a271</div><div>+-----------------------+-----------------------------------------------------------------------------------+</div><div>| Field                 | Value                                                                             |</div><div>+-----------------------+-----------------------------------------------------------------------------------+</div><div>| admin_state_up        | True                                                                              |</div><div>| allowed_address_pairs |                                                                                   |</div><div>| binding:host_id       | devstack1                                                                         |</div><div>| binding:profile       | {}                                                                                |</div><div>| binding:vif_details   | {"port_filter": true}                                                             |</div><div>| binding:vif_type      | ovs                                                                               |</div><div>| binding:vnic_type     | normal                                                                            |</div><div>| device_id             | dhcp6d13ba27-f5a3-57ff-8437-9fbb02a7daef-410760e0-bf34-4889-993d-526a918610bd     |</div><div>| device_owner          | network:dhcp                                                                      |</div><div>| extra_dhcp_opts       |                                                                                   |</div><div>| fixed_ips             | {"subnet_id": "547881c1-c4aa-4144-819a-64bc211f181b", "ip_address": "10.10.10.2"} |</div><div>| id                    | 927db2be-5106-451d-95d1-5c1459d1a271                                              |</div><div>| mac_address           | fa:16:3e:40:7f:a0                                                                 |</div><div>| name                  |                                                                                   |</div><div>| network_id            | 410760e0-bf34-4889-993d-526a918610bd                                              |</div><div>| security_groups       |                                                                                   |</div><div>| status                | ACTIVE                                                                            |</div><div>| tenant_id             | dee5fcd4edd6471db647e0ff7eb36309                                                  |</div><div>+-----------------------+-----------------------------------------------------------------------------------+</div></div><div><br></div><div><br></div><div>sudo ovs-vsctl show</div><div>a450ea16-a6c0-4f1b-ac49-5167b8c105ac</div><div>    Manager "tcp:<a href="http://10.30.3.234:6640" target="_blank">10.30.3.234:6640</a>"</div><div>        is_connected: true</div><div>    Bridge br-ex</div><div>        Controller "tcp:<a href="http://10.30.3.234:6653" target="_blank">10.30.3.234:6653</a>"</div><div>            is_connected: true</div><div>        fail_mode: secure</div><div>        Port br-ex</div><div>            Interface br-ex</div><div>                type: internal</div><div>        Port "eth1"</div><div>            Interface "eth1"</div><div>        Port patch-int</div><div>            Interface patch-int</div><div>                type: patch</div><div>                options: {peer=patch-ext}</div><div>    Bridge br-int</div><div>        Controller "tcp:<a href="http://10.30.3.234:6653" target="_blank">10.30.3.234:6653</a>"</div><div>            is_connected: true</div><div>        fail_mode: secure</div><div>        Port br-int</div><div>            Interface br-int</div><div>                type: internal</div><div>        Port patch-ext</div><div>            Interface patch-ext</div><div>                type: patch</div><div>                options: {peer=patch-int}</div><div>    ovs_version: "2.3.2"</div></div><div><br></div><div><br></div><div><div>sudo ovs-ofctl -O Openflow13 show br-int</div><div>OFPT_FEATURES_REPLY (OF1.3) (xid=0x2): dpid:0000be80fe69c946</div><div>n_tables:254, n_buffers:256</div><div>capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS</div><div>OFPST_PORT_DESC reply (OF1.3) (xid=0x3):</div><div> 3(patch-ext): addr:5a:d2:aa:c8:4b:9e</div><div>     config:     0</div><div>     state:      0</div><div>     speed: 0 Mbps now, 0 Mbps max</div><div> LOCAL(br-int): addr:be:80:fe:69:c9:46</div><div>     config:     0</div><div>     state:      0</div><div>     speed: 0 Mbps now, 0 Mbps max</div><div>OFPT_GET_CONFIG_REPLY (OF1.3) (xid=0x5): frags=normal miss_send_len=0</div></div><div><br></div><div><div>sudo ovs-ofctl -O Openflow13 dump-ports br-int</div><div>OFPST_PORT reply (OF1.3) (xid=0x2): 2 ports</div><div>  port LOCAL: rx pkts=8, bytes=648, drop=0, errs=0, frame=0, over=0, crc=0</div><div>           tx pkts=0, bytes=0, drop=0, errs=0, coll=0</div><div>           duration=95700.292s</div><div>  port  3: rx pkts=10376, bytes=949680, drop=0, errs=0, frame=0, over=0, crc=0</div><div>           tx pkts=8151, bytes=921063, drop=0, errs=0, coll=0</div><div>           duration=90707.741s</div></div><div><br></div><div>The output of </div><div><br></div><div>ip netns</div><div><br></div><div>is empty.</div><div><br></div><div>There is a way to create manually the connection between br-int and the dhcp agent?</div><div><br></div><div>Thanks<span class="HOEnZb"><font color="#888888"><br clear="all"><div><br></div><div><br></div><div>Silvia </div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Silvia Fichera</div>
</div>