Detail:
A month ago I posted a question with specific version 7.0.10 in the topic. I had issues and needed to revert, so I went back to my working 7.0.6 version.
Today I went to try again. Kasten Upgrade page says to apply 7.0.10 before 7.0.14. Of course, 7.0.10 was pulled and doesnt exist. 7.0.11 says it was to specifically address the issues in 7.0.10, so I read this as a re-release.
Since 7.0.6 doesnt know about 7.0.10 or 7.0.14, it must come from an external system. This should be corrected to reflect that 7.0.10 no longer exists.
So I apply 7.0.11. Totally fine. Then move on to 7.0.14.
Issue:
the “state-svc” pod is failing to start with a CreateContainerConfigError state. Specifically, the admin-svc container. The event-svc and state-svc containers are starting.
The admin-svc container is demanding a specific set of env variables, including:
CONCURRENT_SNAP_CONVERSIONS
<set to the key 'concurrentSnapConversions' of config map 'k10-config'>
CONCURRENT_WORKLOAD_SNAPSHOTS
<set to the key 'concurrentWorkloadSnapshots' of config map 'k10-config'>
These keys do not exist in my k10-config configmap. One would think this is the reason 7.0.10 (7.0.11) was an upgrade step to 7.0.14, and it would have been created in the configmap during update.
The entire container is failing with
Error: couldn't find key concurrentSnapConversions in ConfigMap kasten-io/k10-config
I do not see any parameters matching “conversion” under the Advanced Install - Complete Listing of Helm Options, so I do not know what the default value of these should be.
Ironically, the only reference to this key I can find in the release notes for v7 is that a parameter named limiter.concurrentSnapConversions is depreciated. Could this be the same concurrentSnapConversions missing from the configmap?
I see that the replacement for this limiter.concurrentSnapConversions is limiter.snapshotExportsPerAction, which has a default value of “3” in the Advanced Install section.
However, I cannot find anything referencing concurrentWorkloadSnapshots or what its default value should be.
TL/DR;
kasten upgrade path information needs to be corrected to remove 7.0.10 and
7.0.14 state-svc pod admin-svc container is demanding an environment variable that is possibly depreciated in this version, and not populated by default/upgrade. If these keys/vars are mandatory (e.g. optional=false) they should be created and assigned the default values if they dont exist.