Open wangxin opened 4 years ago
@wangxin Please check latest master. It should be fix now.
I am closing this issue since it was not observed on SONiC-OS-HEAD.39-887ea003 from the 201911 branch.
@abdosi @wangxin What was the root cause/fix last time? We observe it again on
SONiC Software Version: SONiC.201911.132-a47add53
Distribution: Debian 9.12
Kernel: 4.9.0-11-2-amd64
Build commit: a47add53
Build date: Wed Jul 8 04:10:32 UTC 2020
Built by: johnar@jenkins-worker-8
Full log:
$ sudo config reload -y
Executing stop of service swss...
Executing stop of service lldp...
Executing stop of service bgp...
Executing stop of service hostcfgd...
Executing stop of service nat...
Running command: /usr/local/bin/sonic-cfggen -j /etc/sonic/init_cfg.json -j /etc/sonic/config_db.json --write-to-db
Running command: /usr/bin/db_migrator.py -o migrate
Executing reset-failed of service bgp...
Executing reset-failed of service dhcp_relay...
Executing reset-failed of service hostcfgd...
Executing reset-failed of service hostname-config...
Executing reset-failed of service interfaces-config...
Executing reset-failed of service lldp...
Executing reset-failed of service ntp-config...
Executing reset-failed of service pmon...
Executing reset-failed of service radv...
Executing reset-failed of service rsyslog-config...
Executing reset-failed of service snmp...
Executing reset-failed of service swss...
Executing reset-failed of service syncd...
Executing reset-failed of service teamd...
Executing reset-failed of service nat...
Executing reset-failed of service sflow...
Executing restart of service hostname-config...
Executing restart of service interfaces-config...
Executing restart of service ntp-config...
Executing restart of service rsyslog-config...
Executing restart of service swss...
Executing restart of service bgp...
Executing restart of service lldp...
Executing restart of service hostcfgd...
Executing restart of service nat...
Executing restart of service sflow...
Failed to restart sflow.service: Unit sflow.service is masked.
admin@sonic$ show log sflow
Jul 13 15:31:14.840518 r-tigon-04 ERR monit[853]: 'sflowmgrd' process is not running
Jul 13 15:31:42.140529 r-tigon-04 INFO hostcfgd: Running cmd: 'sudo systemctl stop sflow.service'
Jul 13 15:31:42.191434 r-tigon-04 INFO hostcfgd: Running cmd: 'sudo systemctl disable sflow.service'
Jul 13 15:31:42.322351 r-tigon-04 INFO hostcfgd: Running cmd: 'sudo systemctl mask sflow.service'
Jul 13 15:31:42.437031 r-tigon-04 INFO hostcfgd: Feature 'sflow' is stopped and disabled
Jul 13 15:31:52.773952 r-tigon-04 ERR config: Failed to execute restart of service sflow with error 1
Jul 13 15:32:14.972116 r-tigon-04 ERR monit[853]: 'sflowmgrd' process is not running
@padmanarayana to provide update
sflow feature is disabled by default ("show features"). However, monit is not excluding disabled features. Issue should not be seen if sflow is enabled in the config. Working on fix.
@jleveque and @yozhao101 will be addressing this issue as part of monit infra.
@jleveque and @yozhao101 will be addressing this issue as part of monit infra.
Yes, I am working on a solution to address this issue.
Description
After upgrade the switch and run "config load_minigraph -y", it failed with "Job for sflow.service failed".
Steps to reproduce the issue:
Describe the results you received: Config load_minigraph failed with "Job for sflow.service failed"
Describe the results you expected: Config load_minigraph should be successful
Additional information you deem important (e.g. issue happens only occasionally):
sonic_dump_dev-r-vrt-233-010_20200107_060656.tar.gz