Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error starting kubernetes on first start on Linux (after manual cleanup) #2323

Closed
thehejik opened this issue Jun 2, 2022 · 2 comments · Fixed by #2392
Closed

Error starting kubernetes on first start on Linux (after manual cleanup) #2323

thehejik opened this issue Jun 2, 2022 · 2 comments · Fixed by #2392
Assignees
Labels
kind/bug Something isn't working platform/linux
Milestone

Comments

@thehejik
Copy link
Contributor

thehejik commented Jun 2, 2022

Actual Behavior

First initial start of RD on Linux openSUSE 15.3 is failing when using default values (containerd, default k8s, ...). Subsequent start is successfull.

When validating rpm package rancher-desktop-9.main.1654131014.19ab90f-346.1.x86_64.rpm after uninstalling previous RD version and manual cleanup of its leftovers by:

rm -r ~/.local/share/rancher-desktop ~/.config/rancher-desktop ~/.cache/rancher-desktop ~/.kube* ~/.rd

and starting as normal user the following Error is thrown in Waiting for service phase:

 at ChildProcess.emit (node:events:390:28)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12) {
  command: [
    '/opt/rancher-desktop/resources/resources/linux/bin/kubectl',
    '--context',
    'rancher-desktop',
    'cluster-info'
  ]
}

rd-initial-start

Steps to Reproduce

On system when it was installed before

$ sudo zypper rm rancher-desktop
$ rm -r ~/.local/share/rancher-desktop ~/.config/rancher-desktop ~/.cache/rancher-desktop ~/.kube* ~/.rd
$ sudo zypper in rancher-desktop
  • start RD from gnome and observer if the error occures

On fresh system:

  • install RD from rpm (main branch)
  • start it from gnome
  • the error is thrown

Result

The error is described above.

Expected Behavior

It should start successfully on first attempt

Additional Information

No response

Rancher Desktop Version

rancher-desktop-9.main.1654131014.19ab90f-346.1.x86_64.rpm
rancher-desktop-9.main.1654131014.19ab90f-346.2.x86_64.rpm

Rancher Desktop K8s Version

v1.23.6 (stable,latest)

Which container runtime are you using?

containerd (nerdctl)

What operating system are you using?

Other (specify below)

Operating System / Build Version

opensuse 15.3

What CPU architecture are you using?

x64

Linux only: what package format did you use to install Rancher Desktop?

rpm

Windows User Only

No response

@thehejik thehejik added the kind/bug Something isn't working label Jun 2, 2022
@thehejik
Copy link
Contributor Author

thehejik commented Jun 3, 2022

I was able to reproduce the same issue on fresh opensuse tumbleweed installation with gnome.

@gaktive gaktive modified the milestones: 1.4.0, Later Jun 3, 2022
@thehejik
Copy link
Contributor Author

thehejik commented Jun 15, 2022

The problem is with kuberlr which returns non-zero return code after downloading and moving kubectl binary from /tmp to /home. The problem is fixed and PR flavio/kuberlr#23 merged in kuberlr's master branch but not built yet.

So for fixing this issue we just need to:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working platform/linux
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants