Summary
The boot-up phase of the cdf-apiserver pod in CDF 2020.08 does not work with the updated version of etcd in CDF 2020.11.
Error
When trying to upgrade from CDF 2020.08 to CDF 20202.11, the cdf-apiserver pod does not restart as expected, and the upgrade fails. When this issue occurs, critical errors that resemble the following are written to the cdf-apiserver log file:
Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "error" (class suiteinstaller.v1_1.integration.etcd.bean.KubeEtcdResponseV3), not marked as ignorable (6 known properties: "errorCode", "message", "kvs", "cause", "header", "count"])
at [Source: (String)"{"error":"etcdserver: invalid auth token","code":16}"; line: 1, column: 11] (through reference chain: suiteinstaller.v1_1.integration.etcd.bean.KubeEtcdResponseV3["error"])
at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:61)
at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownProperty(DeserializationContext.java:840)
at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:1192)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1592)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1570)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:294)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4202)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3205)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3173)
at suiteinstaller.v1_1.integration.etcd.imp.KubeEtcdClientImp.get(KubeEtcdClientImp.java:159)
... 218 common frames omitted
Cause
This issue occurs because the boot-up phase of the cdf-apiserver pod in CDF 2020.08 does not work with the updated version of etcd in CDF 2020.11.
Fix
Follow these documented instructions here to resolve the problem: https://docs.microfocus.com/itom/SMAX:2020.11/CdfapiserverFailsStartUpgrade