Reviewed: https://review.openstack.org/266383 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=7ca04daa71910b578303845a363883fa036358f7 Submitter: Jenkins Branch: master
commit 7ca04daa71910b578303845a363883fa036358f7 Author: Hynek Mlnarik <hmlna...@redhat.com> Date: Tue Jan 12 09:10:25 2016 +0100 Log INFO message when setting admin state up flag to False for OVS port Disabling admin state can cause confusion in OVS agent logs as to why VLAN 4095 is set to a particular port. This commit adds an extra INFO log message when admin state is disabled. There is no log emitted upon enabling admin state as there is already a detailed log entry logged in treat_devices_added_or_updated() function. Change-Id: I1301db8fea75af211f66a1914d1f0b706a6d5b36 Closes-Bug: 1463891 ** Changed in: neutron Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1463891 Title: Setting admin_state down on port produces no logs Status in neutron: Fix Released Bug description: Tried to check how admin_state down affects HA ports. Noticed that management data between them stoped and cause them to become master. Although traffic to connected floating IP remain working. Problem is: no log on OVS agent idicated why it's processing a port update or why it's setting it's VLAN tag to 4095. (06:39:44 PM) amuller: there should be an INFO level log saying something like: "Setting port admin_state to {True/False}"(06:39:56 PM) amuller: with the port ID of course Current log: 2015-06-08 10:25:25.782 1055 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-b5a70070-2c49-47f2-9c77-49ba88851f4b ] Port 'ha-8e0f96c5-78' has lost its vlan tag '1'! 2015-06-08 10:25:25.783 1055 INFO neutron.agent.securitygroups_rpc [req-b5a70070-2c49-47f2-9c77-49ba88851f4b ] Refresh firewall rules 2015-06-08 10:25:26.784 1055 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-b5a70070-2c49-47f2-9c77-49ba88851f4b ] Port 8e0f96c5-7891-46a4-8420-778454949bd0 updated. Details: {u'profile': {}, u'allowed_address_pairs': [], u'admin_state_up': False, u'network_id': u'6a5116a2-39f7-45bc-a432-3d624765d602', u'segmentation_id': 10, u'device_owner': u'network:router_ha_interface', u'physical_network': None, u'mac_address': u'fa:16:3e:02:cb:47', u'device': u'8e0f96c5-7891-46a4-8420-778454949bd0', u'port_security_enabled': True, u'port_id': u'8e0f96c5-7891-46a4-8420-778454949bd0', u'fixed_ips': [{u'subnet_id': u'f81913ba-328f-4374-96f2-1a7fd44d7fb1', u'ip_address': u'169.254.192.3'}], u'network_type': u'vxlan'} 2015-06-08 10:25:26.940 1055 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-b5a70070-2c49-47f2-9c77-49ba88851f4b ] Configuration for device 8e0f96c5-7891-46a4-8420-778454949bd0 completed. To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1463891/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp