Closed stephenxs closed 1 year ago
@renukamanavalan can you please help to fix? Thanks.
Hi @zhangyanzhao we do not have an eventd.timer file as it is not needed and I am unable to reproduce this issue:
admin@str-msn2700-04:~$ sudo config reload Clear current config and reload config in config_db format from the default config file(s) ? [y/N]: y Stopping SONiC target ... 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/local/bin/db_migrator.py -o migrate Running command: /usr/local/bin/sonic-cfggen -d -y /etc/sonic/sonic_version.yml -t /usr/share/sonic/templates/sonic-environment.j2,/etc/sonic/sonic-environment Restarting SONiC target ... Reloading Monit configuration ... Reinitializing monit daemon
sudo systemctl enable eventd.timer
Thanks @zbud-msft
Can you try running sudo systemctl enable eventd.timer
or check the syslog?
For config reload
, the error message is not in CLI output but in the log.
For sudo systemctl enable eventd.timer
, the error message is printed to the CLI.
sudo systemctl enable eventd.timer
Thanks @zbud-msft Can you try running
sudo systemctl enable eventd.timer
or check the syslog? Forconfig reload
, the error message is not in CLI output but in the log. Forsudo systemctl enable eventd.timer
, the error message is printed to the CLI.
Understand, I see it in the logs. I will look into it.
There is no eventd.timer, so "systemctl
"Failed to enable unit: Unit file eventd.timer **does not exist**.
"
@zbud-msft, please check if log has anything related to eventd.timer, when config reload is invoked.
Hi @stephenxs, we have found the issue which results in hostcfgd trying to enable/unmask eventd.timer. The fix is in PR: https://github.com/sonic-net/sonic-buildimage/pull/12059
Description
Steps to reproduce the issue:
config reload
orsystemctl enable eventd.timer
(which is invoked fromconfig reload
)Describe the results you received:
Error message is observed from the syslog or the output of the command
systemctl enable eventd.timer
Describe the results you expected:
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The
eventd
service and docker were introduced by PR #11848 but the fileeventd.timer
was missed, which causes the error message.sonic_dump_r-anaconda-70_20220906_055706.tar.gz