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

Kubernetes error - 1.12.2 - Failed to upload file #6252

Open
thirumalaicb opened this issue Dec 26, 2023 · 9 comments
Open

Kubernetes error - 1.12.2 - Failed to upload file #6252

thirumalaicb opened this issue Dec 26, 2023 · 9 comments
Labels
kind/bug Something isn't working platform/macos runtime/moby triage/need-to-repro Needs to be reproduced by dev team

Comments

@thirumalaicb
Copy link

Actual Behavior

Error Starting Kubernetes
Error: /Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl.ventura exited with code 1
Last command run:
/Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl.ventura copy /var/folders/hv/mbh2qgjj3vsdl61d9x99y1yr0000gp/T/rd-nginx.conf-ycIAMt/nginx.conf 0:/tmp/rd-nginx.conf-ycIAMt.nginx.conf

Context:
Configuring image proxy

Some recent logfile lines:
'/var/folders/hv/mbh2qgjj3vsdl61d9x99y1yr0000gp/T/rd-nginx.conf-ycIAMt/nginx.conf',
'0:/tmp/rd-nginx.conf-ycIAMt.nginx.conf'
],
stdout: '',
stderr: '/usr/bin/scp: write remote "/tmp/rd-nginx.conf-ycIAMt.nginx.conf": Failure\r\n' +
'/usr/bin/scp: failed to upload file /var/folders/hv/mbh2qgjj3vsdl61d9x99y1yr0000gp/T/rd-nginx.conf-ycIAMt/nginx.conf to /tmp/rd-nginx.conf-ycIAMt.nginx.conf\r\n',
code: 1,
[Symbol(child-process.command)]: '/Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl.ventura copy /var/folders/hv/mbh2qgjj3vsdl61d9x99y1yr0000gp/T/rd-nginx.conf-ycIAMt/nginx.conf 0:/tmp/rd-nginx.conf-ycIAMt.nginx.conf'
}
lima.ha.stderr.log
lima.log

Steps to Reproduce

I had to restart my computer and after restarting,

  • Start Rancher Desktop
  • Provide admin rights when prompted.
  • When the status indicates "Installing CA certificates...", an error is displayed.

Result

Could not start Docker containers.

Expected Behavior

Docker containers should start.

Additional Information

This is happening all of a sudden. FYI, I usually keep my MacOS libraries updated by running brew upgrade. Maybe some library seems incompatible?

I have Kubernetes disabled. Even when enabling it has no difference.

Rancher Desktop Version

1.11.1

Rancher Desktop K8s Version

K8S disabled

Which container engine are you using?

moby (docker cli)

What operating system are you using?

macOS

Operating System / Build Version

Sonoma 14.1.1 (23B81)

What CPU architecture are you using?

x64

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

None

Windows User Only

No response

@thirumalaicb thirumalaicb added the kind/bug Something isn't working label Dec 26, 2023
@slali-dev
Copy link

Hi @thirumalaicb
Did this start raising after system update?
I'm facing the same issue here with the same system, and it happened right after I upgraded to Sonoma 14.2.1

@thirumalaicb
Copy link
Author

Hi @thirumalaicb Did this start raising after system update? I'm facing the same issue here with the same system, and it happened right after I upgraded to Sonoma 14.2.1

@slali-dev I am not sure if it is after upgrade. I suspect it to be the one I mentioned in Additional Information. But I could be wrong.

@thirumalaicb
Copy link
Author

@jandubois any advice here please?

@chimico
Copy link

chimico commented Jan 23, 2024

Using:

  • macOS 14.3
  • Rancher Desktop 1.12.1
  • Kubernetes turned off.

Using the Reset Kubernetes worked.

@jandubois
Copy link
Member

There is not much we can do unless the people affected provide the full set of log files, plus information about OS version, CPU arch, etc.

@thirumalaicb included 2 log files, and the OS info, but unfortunately the other log files are still needed.

For the others that reply with "I have the same problem", that is not helpful, as the only common thing I get from this is that Rancher Desktop also doesn't start for you. But it is impossible to tell if this happens for the same reasons as the original issue creator. We need your log files and setup information as well!

So please, if this is reproducible by you, collect all the logs in the log directory and attach them to a bug report or make them otherwise available.

@thirumalaicb
Copy link
Author

thirumalaicb commented Jan 27, 2024

@jandubois Please find attached. Thank you for looking into this.
rancher-logs.zip

I also tried upgrading to 1.12.0 and then to 1.12.2 today and still the same issue. The OS version is now Sonoma 14.2.1.

@thirumalaicb thirumalaicb changed the title Kubernetes error - 1.11.1 - Failed to upload file Kubernetes error - 1.12.2 - Failed to upload file Jan 27, 2024
@anderson-marques
Copy link

For me solved by reseting setting to Factory, upgrating Rancher Desktop and Kubernetes version.

@thirumalaicb
Copy link
Author

Thank you @anderson-marques. That worked for me as well. Back to running Docker once again.
OS: Sonoma 14.3 (23D56)
Rancher: 12.2 still

@stampycode
Copy link

I had this same issue running on Windows 10, multiple times. My suspicion is that it occurs when Rancher doesn't have access to the internet, as this machine mostly runs without internet access.

Solution for us that has always worked:

- Shut down Rancher desktop
- open terminal
- wsl --unregister rancher-desktop
- start Rancher desktop

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/macos runtime/moby triage/need-to-repro Needs to be reproduced by dev team
Projects
None yet
Development

No branches or pull requests

6 participants