DescriptionReporting of policy errors via host-offline-reason: part 1
PolicyWatcher.OnPolicyError callback and implementation.
- This new callback enables HostProcess to react to policy errors by
calling ShutdownHost.
- PolicyWatcher on Linux calls this callback when detecting malformed
policy files (with retries mechanism to avoid firing this for
transient file reading problems)
BUG=427512
410050
Committed: https://crrev.com/142f8e1d3e4b75c901f33cb771cd848019630c1e
Cr-Commit-Position: refs/heads/master@{#305069}
Committed: https://crrev.com/0fdd951c7c55120d58944ea94eaa8ddfc8613d23
Cr-Commit-Position: refs/heads/master@{#305658}
Patch Set 1 #
Total comments: 25
Patch Set 2 : Addressed feedback from Lambros #
Total comments: 3
Patch Set 3 : Addressed feedback from Kelvin. #
Total comments: 2
Patch Set 4 : Fixed formatting of policy_watcher_unittest.cc #Patch Set 5 : After rebasing #Patch Set 6 : Really rebasing this time #Patch Set 7 : Rebased and reopened to try memory trybots. #Messages
Total messages: 33 (10 generated)
|