Comment 24 for bug 1760047

Revision history for this message
Michael Polenchuk (mpolenchuk) wrote :

After this patch we've started to get "Duplicate IP addresses found, DHCP cache is out of sync" messages (but actually it ain't true, see log below) really often, which sometimes causes vm unable to get an ip address from DHCP server. Therefore resync with neutron server is triggered causing unwanted events.

CACHE: [{u'status': u'DOWN', u'binding:host_id': u'', u'description': u'', u'allowed_address_pairs': [], u'tags': [], u'extra_dhcp_opts': [], u'updated_at': u'2019-04-19T09:23:02Z', u'device_owner': u'network:router_interface', u'revision_number': 3, u'binding:profile': {}, u'port_security_enabled': True, u'fixed_ips': [{u'subnet_id': u'fdb78251-4c22-4716-aead-911a3d5651ee', u'ip_address': u'192.168.120.3'}], u'id': u'ea0242a0-36d1-4fce-bc4d-e0b4915ece57', u'security_groups': [u'bbd520f2-37ff-4cd2-91a9-5f613b818d1b'], u'device_id': u'bb304e0f-f497-4133-ad24-9a756ff0495d', u'name': u'', u'admin_state_up': True, u'network_id': u'20cafb8f-5edf-4074-a6ec-0553ab5150bd', u'tenant_id': u'2cf1eb36e2cc4f8991659fbc1b6d39eb', u'binding:vif_details': {}, u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:5d:a9:ce', u'project_id': u'2cf1eb36e2cc4f8991659fbc1b6d39eb', u'created_at': u'2019-04-19T09:22:58Z'}, {u'status': u'ACTIVE', u'binding:host_id': u'gtw01', u'description': u'', u'allowed_address_pairs': [], u'tags': [], u'extra_dhcp_opts': [], u'updated_at': u'2019-04-19T09:23:03Z', u'device_owner': u'network:dhcp', u'revision_number': 3, u'binding:profile': {}, u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'fdb78251-4c22-4716-aead-911a3d5651ee', u'ip_address': u'192.168.120.2'}], u'id': u'8e27eaa5-92c0-49ff-919d-9808da6ef61e', u'security_groups': [], u'device_id': u'dhcpf3c106f5-c8d0-5c49-8f89-8de3aa25f954-20cafb8f-5edf-4074-a6ec-0553ab5150bd', u'name': u'', u'admin_state_up': True, u'network_id': u'20cafb8f-5edf-4074-a6ec-0553ab5150bd', u'tenant_id': u'2cf1eb36e2cc4f8991659fbc1b6d39eb', u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'2f0a948b-d36d-4e46-8e75-82a01a90c6f8', u'host_addresses': [u'10.1.0.2']}, u'binding:vnic_type': u'normal', u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:61:b4:19', u'project_id': u'2cf1eb36e2cc4f8991659fbc1b6d39eb', u'created_at': u'2019-04-19T09:22:58Z'}]

NEW: admin_state_up=True, allowed_address_pairs=[], binding:host_id=, binding:profile=, binding:vif_details=, binding:vif_type=unbound, binding:vnic_type=normal, created_at=2019-04-19T09:22:58Z, description=, device_id=bb304e0f-f497-4133-ad24-9a756ff0495d, device_owner=network:router_interface, extra_dhcp_opts=[], fixed_ips=[{u'subnet_id': u'fdb78251-4c22-4716-aead-911a3d5651ee', u'ip_address': u'192.168.120.3'}], id=ea0242a0-36d1-4fce-bc4d-e0b4915ece57, mac_address=fa:16:3e:5d:a9:ce, name=, network_id=20cafb8f-5edf-4074-a6ec-0553ab5150bd, port_security_enabled=True, project_id=2cf1eb36e2cc4f8991659fbc1b6d39eb, revision_number=2, security_groups=[u'bbd520f2-37ff-4cd2-91a9-5f613b818d1b'], status=DOWN, tags=[], tenant_id=2cf1eb36e2cc4f8991659fbc1b6d39eb, updated_at=2019-04-19T09:23:00Z

Version: 13.0.3 (+stable/rocky)