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

[BUG] Failed to update pull secret on the disk #4036

Closed
almightyyeh opened this issue Feb 17, 2024 · 10 comments
Closed

[BUG] Failed to update pull secret on the disk #4036

almightyyeh opened this issue Feb 17, 2024 · 10 comments
Labels
nested-virt To identify issues that are related to nested virtualization os/linux

Comments

@almightyyeh
Copy link

the Issue occur in both two CRC version: crc-linux-2.19.0-amd64 & crc-linux-2.32.0-amd64.

General information

  • OS: Linux / RHEL8
  • Hypervisor: KVM / Libvirtd
  • Did you run crc setup before starting it (Yes)?
  • Running CRC on: VM

CRC version

CRC version: 2.32.0+54a6f9
OpenShift version: 4.14.8
Podman version: 4.4.4

CRC status

INFO Waiting until the user's pull secret is written to the instance disk...
(...)
DEBU Running SSH command: <hidden>
DEBU SSH command succeeded
DEBU error: Temporary error: pull secret not updated to disk - sleeping 2s
DEBU retry loop: attempt 77
DEBU Running SSH command: <hidden>
DEBU SSH command succeeded
DEBU error: Temporary error: pull secret not updated to disk - sleeping 2s
DEBU RetryAfter timeout after 78 tries
DEBU Making call to close driver server
DEBU (crc) Calling .Close
DEBU (crc) DBG | time="2024-02-17T15:07:07+08:00" level=debug msg="Closing plugin on server side"
DEBU Successfully made call to close driver server
DEBU Making call to close connection to plugin binary
Failed to update pull secret on the disk: Temporary error: pull secret not updated to disk (x78)

CRC config

$ crc config view
- consent-telemetry                     : no
- skip-check-daemon-systemd-sockets     : true
- skip-check-daemon-systemd-unit        : true

Host Operating System

$ cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="8.8 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.8 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.8
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.8"

Steps to reproduce

  1. crc setup
  2. crc start
  3. Failed in Task: [INFO] Waiting until the user's pull secret is written to the instance disk...

Expected

Actual

Logs

Before gather the logs try following if that fix your issue

$ crc delete -f
$ crc cleanup
$ crc setup
$ crc start --log-level debug

above step had repeat serveral times with same problme.

Please consider posting the output of crc start --log-level debug on http://gist.github.com/ and post the link in the issue.

@almightyyeh almightyyeh added kind/bug Something isn't working status/need triage labels Feb 17, 2024
@praveenkumar praveenkumar added the nested-virt To identify issues that are related to nested virtualization label Feb 21, 2024
@anjannath anjannath added os/linux and removed kind/bug Something isn't working status/need triage labels Mar 12, 2024
@praveenkumar
Copy link
Member

@almightyyeh I can see in your config that you choose to skip daemon checks any particular reason for it?

@almightyyeh
Copy link
Author

@praveenkumar Thanks for your reply !

I skip the preflight-checks about systemd with follow issue discuss:
#3471

I have the same problem also.

@praveenkumar
Copy link
Member

@almightyyeh even #3471 (comment) doesn't work in your case?

@almightyyeh
Copy link
Author

@praveenkumar Yes, I had try resolution but still same situation with failed update pull-secret on disk.

I’ll try newer version again later.

@gopaltirupur
Copy link

gopaltirupur commented Apr 16, 2024

with latest version, I am getting the same error with default config. ( OS : Ubuntu 22.04.2 LTS )

INFO Waiting until the user's pull secret is written to the instance disk...
Failed to update pull secret on the disk: Temporary error: pull secret not updated to disk (x208)

@praveenkumar
Copy link
Member

@gopaltirupur @almightyyeh Can you start crc with --log-level debug and provide the result?

$ crc delete
$ crc config view
$ crc setup --log-level debug
$ crc start --log-level debug

@almightyyeh
Copy link
Author

@praveenkumar in my case, it pending until above 10 mins but without any error log message.

@gopaltirupur
Copy link

@praveenkumar @almightyyeh

Switched back to 2.33 ( latest is 2.34 ), Working now with out any issue, Thanks

https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/crc/2.33.0

@almightyyeh
Copy link
Author

@gopaltirupur Thanks for sharing!

@praveenkumar Thanks for update. I'll close the issue and switch new version.

@ferhoyos
Copy link

Is there any workaround if you want to use the latest version 2.34 to install OpenShift 4.15? I have the same issue Failed in Task: [INFO] Waiting until the user's pull secret is written to the instance disk.... In my case I am using a laptop with Linux (Fedora 39).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nested-virt To identify issues that are related to nested virtualization os/linux
Projects
None yet
Development

No branches or pull requests

5 participants