k8s upgrade fails if kubeadm configmap formatted in specific way
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Chris Friesen |
Bug Description
There is an upstream issue in Kubeadm (affecting at least up till 1.24.4) when the "certSANs" field of the kubeadm configmap contains unquoted IPv6 addresses in "flow style". When this occurs, kubeadm will choke while parsing the configmap. This in turn causes the K8s upgrade to fail.
The problematic formatting looks like this:
While this is fine:
- ::1
- 192.168.206.1
- 127.0.0.1
- 10.20.7.3
It also works to wrap each IPv6 address in quotes.
Changed in starlingx: | |
assignee: | nobody → Chris Friesen (cbf123) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.9.0 stx.containers stx.update |
Fix proposed to branch: master /review. opendev. org/c/starlingx /config/ +/880240
Review: https:/