Commit 25631d7
eve-k: reduce idle logging, ignore api outage during failover
The 'looking for cont' log near the top of checkAppsStatus
and checkAppsFailover is run when apps are running outside of
any active management operations or app migration operations.
Avoid logging above Functionf in this state to minimize pillar logs.
Kubevirt operations on the Hypervisor interface which either change
the state of a domain or get state of a domain specific to a host/node
should first call scheduledOnNode which implements vm/container handlers.
Don't call the direct replicaVmiScheduledOnMe or replicaPodScheduledOnMe.
During failover multiple nodes may attempt info on a kubevirt domain.
scheduledOnNode is used to skip operations for nodes where an app is not
running. In cases where scheduledOnMe is unable to determine the scheduling
state of an app: the caller should determine if the error is some type
where the k3s api server may be temporarily unavailable.
If the api server is temporarily unavailable then declare app state UNKNOWN
as BROKEN signals to the controller that no further tries will be attempted.
Remove incorrect error log in getNodeDrainRequester(). Its possible to
meet that error log in normal conditions:
- zedkube startup as single node mode
- zedkube recv edgenodeclusterconfig
- zedkube node delete
- zedkube cluster delete
Signed-off-by: Andrew Durbin <andrewd@zededa.com>1 parent b7970e6 commit 25631d7
File tree
4 files changed
+8
-6
lines changed- pkg/pillar
- cmd/zedkube
- hypervisor
4 files changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
736 | 736 | | |
737 | 737 | | |
738 | 738 | | |
739 | | - | |
| 739 | + | |
740 | 740 | | |
741 | 741 | | |
742 | 742 | | |
| |||
813 | 813 | | |
814 | 814 | | |
815 | 815 | | |
816 | | - | |
| 816 | + | |
817 | 817 | | |
818 | | - | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
819 | 822 | | |
820 | 823 | | |
821 | 824 | | |
| |||
0 commit comments