You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
When we create a mirror session with DIP reachable via next hop of L3 Portchannel interface, the mirror session takes one of the portchannel member as Active monitor port.
Now when the active monitor port which is a member of Portchannel is shutdown, monitor port doesn't switch to another member of the portchannel. And the mirror packet forwarding through the L3 portchannel interface fails.
Now shutdown the active monitor port which is the member of L3 portchannel.
The text was updated successfully, but these errors were encountered:
…ervices (sonic-net#1499)
Signed-off-by: Yong Zhao yozhao@microsoft.com
What I did
When we ran the commands sudo config reload or sudo config load_minigraph, the containers swss, snmp, lldp, teamd, syncd, snmp, bgp, radv, pmon, dhcp_relay, telemetry, mgmt-framework and restapi would be stopped and then restarted. The script container_checker ran by Monit will generate false alerting messages into syslog to indicate some containers were not running during such stopping and restarting process. So this PR aims to prevent Monit from generating false alarm messages.
How I did it
Before stopping services, we disable Monit to monitor the running status of containers. After restarting services, we enable Monit to monitor the running status of containers again.
How to verify it
I deliberately reduce the monitoring interval of Monit from 60 seconds to 10 seconds to ensure the alerting messages from the script container_checker was generated during sudo config reload and sudo config load_minigraph. After this change was added into _stop_services() and _restart_services() , I checked that the alerting messages from container_checker did not appear in the syslog.
I verified this change on the virtual switch.
Description:
When we create a mirror session with DIP reachable via next hop of L3 Portchannel interface, the mirror session takes one of the portchannel member as Active monitor port.
Now when the active monitor port which is a member of Portchannel is shutdown, monitor port doesn't switch to another member of the portchannel. And the mirror packet forwarding through the L3 portchannel interface fails.
Now shutdown the active monitor port which is the member of L3 portchannel.
The text was updated successfully, but these errors were encountered: