You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixdevfile#987
When checking workspace deployment pod events, first check event.series.count (as event.count is deprecated).
If event.series.count isin't set, fallback to event.count if it is set.
Otherwise, assume the event count is 1.
Signed-off-by: Andrew Obuchowicz <[email protected]>
Fixdevfile#987
When checking workspace deployment pod events, first check event.series.count (as event.count is deprecated).
If event.series.count isin't set, fallback to event.count if it is set.
Otherwise, assume the event count is 1.
Signed-off-by: Andrew Obuchowicz <[email protected]>
Description
This is a followup to Workspace pod FailedScheduling event not being properly caught, which was addressed by catching the unschedulable condition. However, other failure events that DWO tries to catch may still not be properly detected if their
event.count
is set to0
and never incremented (which seems to occur on OpenShift 4.10/4.11/4.12).In order to address this, we should either:
1
to0
event.series.count
API andold event.count
API:Either fix unfortunately won't help for the
FailedMount
event, which has a threshold of 3, but it's better than nothing.Additional context
The upstream OpenShift bug regarding
event.count
andevent.series.count
not being set: https://issues.redhat.com/browse/OCPBUGS-3796The text was updated successfully, but these errors were encountered: