-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mirroring] mirror rule fails to apply after warm reboot #5497
Comments
it is likely the mirroring is not added in the warm reboot test. |
what is the repro steps? |
I also meet this issue. In the current design, the everflow rule must be set after mirror session created. but after warm-reboot. when restore the everflow rule, the mirror session didn't create yet, the aclorch check failed, print "Mar 13 22:08:40.016726 sonic ERR swss#orchagent: :- validateAddAction: Mirror rule reference mirror session that does not exists session1", and exit. It caused the configuration restore failed. |
[configuration]
[result]
|
In our test, warm reboot failed randomly. I read the current code. MirrorOrch is freezed until |
MirrorOrch and AclOrch don't process configuration correctly on warm restoration:
sonic_dump_r-qa-sw-eth-214_20200313_221021.tar.gz
Adding more information about issue from our internal issue:
Steps to reproduce
Observed behavior
Everflow functionality doesn't work after warm-rebooting
Errors in syslog:
Mar 13 22:08:40.016726 sonic ERR swss#orchagent: :- validateAddAction: Mirror rule reference mirror session that does not exists session1
Mar 13 22:08:40.016726 sonic ERR swss#orchagent: :- doAclRuleTask: Unknown or invalid rule attribute 'MIRROR_INGRESS_ACTION : session1'
Mar 13 22:08:40.016726 sonic ERR swss#orchagent: :- doAclRuleTask: Failed to create ACL rule. Rule configuration is invalid
Expected behavior
Everflow functionality should work after warm-rebooting.
The text was updated successfully, but these errors were encountered: