Open SavchukRomanLv opened 3 years ago
@SavchukRomanLv have you enabled the sflow config before you run the command? That possibly helps, can you double check?
I think you can check whether sflow feature is enabled in config_db.json, such as: "sflow": { "state" : "enabled" }
This was confusing for me as well. I thought sudo config sflow enable
should enable sflow to work, but you need to execute sudo config feature state sflow enabled
before
Description
Issue have been found during execution sflow test suite from sonic-mgmt - all cases failed.
Steps to reproduce the issue:
Execute command in DUT cli:
sudo config sflow enable
Describe the results you received:
sFlow can not start during error:
Failed to enable unit: Unit file /etc/systemd/system/sflow.service is masked.
Describe the results you expected:
sFlow service started
Output of
show version
:`SONiC Software Version: SONiC.master.46262-dirty-20211026.173812 Distribution: Debian 10.11 Kernel: 4.19.0-12-2-amd64 Build commit: b0c73d9a7 Build date: Tue Oct 26 17:47:44 UTC 2021 Built by: AzDevOps@sonic-build-workers-000TZT
Platform: x86_64-accton_wedge100bf_32x-r0 HwSKU: montara ASIC: barefoot ASIC Count: 1`
Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):