Bug 2110180 - Error: failed to parse kubelet flag: unknown flag: --network-plugin
Summary: Error: failed to parse kubelet flag: unknown flag: --network-plugin
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kubernetes
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anthony Rabbito
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-24 09:33 UTC by hiraku.sugiura
Modified: 2022-08-03 01:27 UTC (History)
9 users (show)

Fixed In Version: kubernetes-1.24.1-7.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-03 01:27:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description hiraku.sugiura 2022-07-24 09:33:45 UTC
I got "Error: failed to parse kubelet flag: unknown flag: --network-plugin" when execute `kubeadm init`.

"--network-plugin" was setted in kubeadm.conf:

Environment="KUBELET_NETWORK_ARGS=--network-plugin=cni --cni-conf-dir=/etc/cni/net.d --cni-bin-dir=/usr/libexec/cni"

Comment 1 hiraku.sugiura 2022-07-25 03:35:08 UTC
And --cni-conf-dir and --cni-bin-dir are illegal arguments in kubernetes 1.24.

Comment 2 Anthony Rabbito 2022-07-25 14:08:22 UTC
Hello,

Thanks for bringing this to attention. I will work on getting this fixed.

Comment 3 Fedora Update System 2022-07-25 19:46:09 UTC
FEDORA-2022-3efc2a74cf has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-3efc2a74cf

Comment 4 Anthony Rabbito 2022-07-25 19:47:32 UTC
hiraku,

Feel free to try out the bodhi advisory posted above.

Thanks,
Anthony

Comment 5 Fedora Update System 2022-07-25 21:01:00 UTC
FEDORA-2022-ee81809570 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-ee81809570

Comment 6 Fedora Update System 2022-07-26 15:54:37 UTC
FEDORA-2022-ee81809570 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-ee81809570`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-ee81809570

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

Comment 7 Fedora Update System 2022-08-03 01:27:06 UTC
FEDORA-2022-ee81809570 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


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