Failure changing kube-apiserver parameters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Jerry Sun |
Bug Description
Brief Description
-----------------
Changing kube-apiserver parameters causes the kube-apiserver to fail to start up again due to missing etcd parameters. The root cause seems to be introduced by the fix to this bug:
https:/
the etcd parameters introduced seems to be mandatory, but gets lost when changing kube-apiserver parameters. This is due to the kubernetes puppet class having no default for the new etcd parameters, and thus the "undef" defaults gets passed down to the script to change the kube-apiserver parameters.
Severity
--------
Major
Steps to Reproduce
------------------
system service-
system service-
Expected Behavior
------------------
kube apiserver restarts, with the PodSecurityPolicy plugin enabled
Actual Behavior
----------------
kube apiserver fails to restart. Manually starting kube-apiserver on the command line using the same parameters as before changing the service parameters shows the kube-apiserver pods crashing.
Reproducibility
---------------
100% reproducible
System Configuration
-------
Multi node system
Branch/Pull Time/Commit
-------
pull on 2021-02-02
Last Pass
---------
Before the etcd changes were merged
CVE References
Changed in starlingx: | |
assignee: | nobody → Jerry Sun (jerry-sun-u) |
Changed in starlingx: | |
status: | Triaged → Fix Released |
stx.5.0 / high - issue introduced by recent changes in stx master