Bug 2232103 - Kubelet fails starting with unknown flag: --logtostderr
Summary: Kubelet fails starting with unknown flag: --logtostderr
Keywords:
Status: ON_QA
Alias: None
Product: Fedora
Classification: Fedora
Component: kubernetes
Version: 38
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Brad Smith
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-15 10:05 UTC by Léo Gillot-Lamure
Modified: 2023-08-16 02:54 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Léo Gillot-Lamure 2023-08-15 10:05:50 UTC
The package kubernetes-node-1.26.7-1.fc38 still contains KUBE_LOGTOSTDERR="--logtostderr=true" in /etc/kubernetes/config, but Kubelet 1.26 doesn’t support this option anymore.

Reproducible: Always

Steps to Reproduce:
1. dnf install kubernetes-node
2. systemctl start kubelet
3. journalctl -u kubelet
Actual Results:  
E0815 09:46:22.102397    1185 run.go:74] "command failed" err="failed to parse kubelet flag: unknown flag: --logtostderr"

then stops with exit code 1.

Expected Results:  
Kubelet starts and stays up.

Comment 1 Fedora Update System 2023-08-15 17:54:40 UTC
FEDORA-2023-2c805a38da has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-2c805a38da

Comment 2 Brad Smith 2023-08-15 18:10:16 UTC
Thanks for the bug report. Updates have been submitted for rawhide, F39, and F38 to correct this oversight.

Comment 3 Fedora Update System 2023-08-16 02:54:23 UTC
FEDORA-2023-2c805a38da has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-2c805a38da`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-2c805a38da

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.


Note You need to log in before you can comment on or make changes to this bug.