[Bug] Incorrectly configured STRIMZI_KUBERNETES_VERSION
makes the operator stuck
#11384
Labels
STRIMZI_KUBERNETES_VERSION
makes the operator stuck
#11384
If you configure the
STRIMZI_KUBERNETES_VERSION
environment variable in the CO to something that is not a map (e.g. set it toSTRIMZI_KUBERNETES_VERSION=1.33.0
instead of a valid map such asSTRIMZI_KUBERNETES_VERSION="major=1, minor=33"
), it will fail to parse the map and get an exception which is not handled. But because the futures are not failed properly, it remains stuck in a running state without terminating forever.The full log from the CO is here:
The same seems to happen when we catch the
ParseException
in the code. We do not fail the future either when we catch it, so it if fails to parse the date (which is what throws it -STRIMZI_KUBERNETES_VERSION="major=1, minor=33, buildDate=not-a-build-date"
) it remains also stuck and never terminates.But it does start the shutdown hook regardless the future not being failed. So I'm not sure it is as simple as failing the future. The problem might be that the shutdown hook gets stuck when things fail too early?
The text was updated successfully, but these errors were encountered: