Comment 2 for bug 1587442

Revision history for this message
Oleg Bondarev (obondarev) wrote :

For some reason router-distributed port was reattached to OVS:

2016-05-31 11:45:09.503 5652 DEBUG neutron.agent.linux.async_process [-] Output received from [ovsdb-client monitor Interface name,ofport,external_ids --format=json]: {"data":[["f0a84715-d2fa-419f-8944-bae9a466cf6b","delete","qr-5e420f53-c3",12,["map",[["attached-mac","fa:16:3e:ef:6e:df"],["iface-id","5e420f53-c356-4977-94fa-389db3f612c7"],["iface-status","active"]]]]],"headings":["row","action","name","ofport","external_ids"]} _read_stdout /usr/lib/python2.7/dist-packages/neutron/agent/linux/async_process.py:236
2016-05-31 11:45:09.679 5652 DEBUG neutron.agent.linux.async_process [-] Output received from [ovsdb-client monitor Interface name,ofport,external_ids --format=json]: {"data":[["7c6bd375-2231-4e82-b230-3073919455e5","insert","qr-5e420f53-c3",["set",[]],["map",[["attached-mac","fa:16:3e:ef:6e:df"],["iface-id","5e420f53-c356-4977-94fa-389db3f612c7"],["iface-status","active"]]]]],"headings":["row","action","name","ofport","external_ids"]} _read_stdout /usr/lib/python2.7/dist-packages/neutron/agent/linux/async_process.py:236
2016-05-31 11:45:09.693 5652 DEBUG neutron.agent.linux.async_process [-] Output received from [ovsdb-client monitor Interface name,ofport,external_ids --format=json]: {"data":[["7c6bd375-2231-4e82-b230-3073919455e5","old",null,["set",[]],null],["","new","qr-5e420f53-c3",4,["map",[["attached-mac","fa:16:3e:ef:6e:df"],["iface-id","5e420f53-c356-4977-94fa-389db3f612c7"],["iface-status","active"]]]]],"headings":["row","action","name","ofport","external_ids"]}

Due to bug https://bugs.launchpad.net/mos/+bug/1577721 (which is waiting to be merged to stable/mitaka and then synced to MOS) the port was added and then deleted:

2016-05-31 11:45:19.884 5652 DEBUG neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-9c4d2be4-2b85-4275-94ce-5a44bc5f99e9 - - - - -] Starting to process devices in:{'current': set([u'6154d8ea-4c24-4219-afd7-01afef7a3c26', u'f126806b-9b7a-49f8-8fab-d321cb8bd2cd', u'1e0be70a-9d69-4d2f-a1d3-bd2f7ea4d28c']), 'removed': set([u'5e420f53-c356-4977-94fa-389db3f612c7']), 'added': set([u'5e420f53-c356-4977-94fa-389db3f612c7', u'6154d8ea-4c24-4219-afd7-01afef7a3c26', u'1e0be70a-9d69-4d2f-a1d3-bd2f7ea4d28c', u'f126806b-9b7a-49f8-8fab-d321cb8bd2cd']), 'updated': set([u'5e420f53-c356-4977-94fa-389db3f612c7'])}
...
 Agent rpc_loop - iteration:1 completed. Processed ports statistics: {'regular': {'updated': 1, 'added': 1, 'removed': 1}}.

So this is duplicate of https://bugs.launchpad.net/mos/+bug/1577721. Please feel free to verify after https://bugs.launchpad.net/mos/+bug/1577721 is fixed