[Bug 1192619] New: Kubicctl doesn't work work transactional_update executor
http://bugzilla.opensuse.org/show_bug.cgi?id=1192619 Bug ID: 1192619 Summary: Kubicctl doesn't work work transactional_update executor Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kubic Assignee: kubic-bugs@opensuse.org Reporter: adathor@opensuse.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 853710 --> http://bugzilla.opensuse.org/attachment.cgi?id=853710&action=edit kubicctl_error Hi, I've installed a small Kubic cluster with 1 control-plane and 2 worker nodes (4vCPU, 4GB ram in libvirt) and when I try to add the nodes with `kubicctl` it simply fails to do so with the attached kubicctl_error.log message. I took the kubeadm that salt cmd from the master tries to execute on the worker, ran it on the minion manually and immediately was added: ``` kubeadm join 172.168.150.25:6443 --token deu47v.pad0gfatrn2g6sfh --discovery-token-ca-cert-hash sha256:1715bf3bb55d24abbba682b4cdc0482c9c77bf1003c8fa2a305fcc48c0fbd4ca ``` Some further investigation revealed that if the `transactional_update` executor module is disabled in salt-minion on the worker, kubicctl is able to add the nodes. I also tried to run the `kubeadm join cmd` on the worker in `t-u shell` I get the same error what `kubicctl` was throwing at first (kubicctl_error.log). (Tested on 2 separate system libvirt and ESXI. Also had this issue running on the Kubic mailing list: https://lists.opensuse.org/archives/list/kubic@lists.opensuse.org/thread/GU6...) Let me know if you need additional information/testing from my side! Br, A. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1192619 http://bugzilla.opensuse.org/show_bug.cgi?id=1192619#c1 Alberto Planas Dominguez <aplanas@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED --- Comment #1 from Alberto Planas Dominguez <aplanas@suse.com> --- Indeed. It is OK to disable the executor when using kubicctl. Seems that was a wrong decision to make the executor enabled by default in transactional systems. For one side simplify a lot of stuff, but for the other have this kind of problems. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1192619 http://bugzilla.opensuse.org/show_bug.cgi?id=1192619#c2 --- Comment #2 from Attila Pinter <adathor@opensuse.org> --- If manually need to disable the executor that sort of defeats the purpose of `kubicctl`. Unfortunately I don't know enough of salt, and also couldn't really find a definitive answer to this, but if we could define for salt-call to run the command with a preferred executor that could resolve the issue. So `kubicctl` would run with `direct_call` instead of `transactional-update`. Or that might sound too easy ^_^ -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1192619 http://bugzilla.opensuse.org/show_bug.cgi?id=1192619#c3 --- Comment #3 from Alberto Planas Dominguez <aplanas@suse.com> --- (In reply to Attila Pinter from comment #2)
If manually need to disable the executor that sort of defeats the purpose of `kubicctl`.
Yes, a fix could be not to install the executor by default. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1192619 http://bugzilla.opensuse.org/show_bug.cgi?id=1192619#c4 --- Comment #4 from Alberto Planas Dominguez <aplanas@suse.com> --- Ok. I think that I found a way to opt-out the executor in kubicctl. There is a PR with the changes here: https://github.com/thkukuk/kubic-control/pull/37 -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1192619 http://bugzilla.opensuse.org/show_bug.cgi?id=1192619#c5 --- Comment #5 from Attila Pinter <adathor@opensuse.org> --- (In reply to Alberto Planas Dominguez from comment #4)
Ok. I think that I found a way to opt-out the executor in kubicctl. There is a PR with the changes here: https://github.com/thkukuk/kubic-control/pull/37
This is awesome! So it is possible to define the executor. Should probably learn a little salt ^_^ Well done, and thank you! -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1192619 http://bugzilla.opensuse.org/show_bug.cgi?id=1192619#c7 --- Comment #7 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1192619) was mentioned in https://build.opensuse.org/request/show/932544 Factory / kubic-control -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com