[Bug 1084766] New: kubernetes-kubelet doesn't create /var/lib/kubelet properly in transactional-update
http://bugzilla.opensuse.org/show_bug.cgi?id=1084766 Bug ID: 1084766 Summary: kubernetes-kubelet doesn't create /var/lib/kubelet properly in transactional-update Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Containers Assignee: containers-bugowner@suse.de Reporter: rbrown@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- kubernetes-kubelet doesn't create /var/lib/kubelet properly in transactional-update This means kubelet is not installable on Kubic unless it's done as part of the systems initial installation This means users cannot move from MicroOS to a functioning Kubernetes cluster Should be another good usecase for a tmpfiles.d workaround -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1084766 http://bugzilla.opensuse.org/show_bug.cgi?id=1084766#c1 Valentin Rothberg <vrothberg@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vrothberg@suse.com --- Comment #1 from Valentin Rothberg <vrothberg@suse.com> --- It seems that this error has been lifted to be a fatal one with Kubernetes 1.10. I cannot get a 1.10.2 kubelet running at the moment. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1084766 http://bugzilla.opensuse.org/show_bug.cgi?id=1084766#c2 Flavio Castelli <fcastelli@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High CC| |fcastelli@suse.com Assignee|containers-bugowner@suse.de |rbrown@suse.com --- Comment #2 from Flavio Castelli <fcastelli@suse.com> --- @Richard: can you fix that inside of MicroOS? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1084766 http://bugzilla.opensuse.org/show_bug.cgi?id=1084766#c3 Richard Brown <rbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|rbrown@suse.com |fcastelli@suse.com --- Comment #3 from Richard Brown <rbrown@suse.com> --- (In reply to Flavio Castelli from comment #2)
@Richard: can you fix that inside of MicroOS?
No - MicroOS cannot pre-emptively make a directory for a package that it doesn't have installed It should be fixed in the package, and I probably shouldn't be the one fixing the package. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1084766 http://bugzilla.opensuse.org/show_bug.cgi?id=1084766#c4 --- Comment #4 from Richard Brown <rbrown@suse.com> --- Note - kubelet 1.10 also wants to make a folder in /usr/libexec/kubernetes/kubelet-plugins which it wants to make at runtime - this should also be fixed to be made by the package -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1084766 http://bugzilla.opensuse.org/show_bug.cgi?id=1084766#c5 --- Comment #5 from Valentin Rothberg <vrothberg@suse.com> --- (In reply to Richard Brown from comment #4)
Note - kubelet 1.10 also wants to make a folder in /usr/libexec/kubernetes/kubelet-plugins which it wants to make at runtime - this should also be fixed to be made by the package
/usr/libexec/ doesn't exist on openSUSE/SLE as the RPM macro defaults to /usr/lib/. Is there a configuration option to alter the plugins path? CRI-O and Podman have such switches, which makes it easier to be adopted on more distros. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1084766 http://bugzilla.opensuse.org/show_bug.cgi?id=1084766#c6 --- Comment #6 from Richard Brown <rbrown@suse.com> --- (In reply to Valentin Rothberg from comment #5)
(In reply to Richard Brown from comment #4)
Note - kubelet 1.10 also wants to make a folder in /usr/libexec/kubernetes/kubelet-plugins which it wants to make at runtime - this should also be fixed to be made by the package
/usr/libexec/ doesn't exist on openSUSE/SLE as the RPM macro defaults to /usr/lib/. Is there a configuration option to alter the plugins path? CRI-O and Podman have such switches, which makes it easier to be adopted on more distros.
--volume-plugin-dir looks like the runtime switch, I guess this could be put into our KUBELET_ARGS in /etc/kubernetes/kubelet? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1084766 http://bugzilla.opensuse.org/show_bug.cgi?id=1084766#c7 --- Comment #7 from Flavio Castelli <fcastelli@suse.com> --- I'm against changing the default locations. This makes things harder for people jumping on Kubic/CaaSP because they don't find what they are looking for into the expected locations. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1084766 http://bugzilla.opensuse.org/show_bug.cgi?id=1084766#c8 --- Comment #8 from Richard Brown <rbrown@suse.com> --- (In reply to Flavio Castelli from comment #7)
I'm against changing the default locations. This makes things harder for people jumping on Kubic/CaaSP because they don't find what they are looking for into the expected locations.
I get where you're coming from but creating /usr/libexec would be madness given /usr/libexec is not common, was forbidden in many versions of the FHS, is not a valid path in any *SUSE distribution...and is generally not 'normal' behaviour In this case we almost certainly should be using /usr/lib, instead of creating an entirely new structure under /usr just for k8s -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1084766 http://bugzilla.opensuse.org/show_bug.cgi?id=1084766#c9 --- Comment #9 from Flavio Castelli <fcastelli@suse.com> --- (In reply to Richard Brown from comment #8)
I get where you're coming from but creating /usr/libexec would be madness given /usr/libexec is not common, was forbidden in many versions of the FHS, is not a valid path in any *SUSE distribution...and is generally not 'normal' behaviour
In this case we almost certainly should be using /usr/lib, instead of creating an entirely new structure under /usr just for k8s
I see, fine with me then. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com