Agent should go crash if installation of essential flows failed #1745
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Describe the bug
The AntreaAgent keeps running even it met flow installation errors. For E.g. AntreaProxy needs kernel version ≥ 4.6 and thus in the lower version kernel any flow installation with
ct(nat)
will fail which leads to several key flows in table 30 not exist. The AntreaAgent should crash instead of keeping running which misleads users.To Reproduce
Deploy Antrea on Node with kernel version lower than 4.6. There is no flow in table 30.
Expected
The Agent should crash if any essential flow can not be installed.
Actual behavior
The Agent keeps running.
Additional context
#1652
The text was updated successfully, but these errors were encountered: