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