crc: [BUG] Failed to renew TLS certificates
General information
- OS: Linux, Fedora 36
- Hypervisor: crc is running on baremetal, KVM is available
- Did you run
crc setupbefore starting it YES - Running CRC on: Baremetal-Server
CRC version
CRC version: 2.6.0+d606e64
OpenShift version: 4.10.22
Podman version: 4.1.0
CRC status
DEBU CRC version: 2.6.0+d606e64
DEBU OpenShift version: 4.10.22
DEBU Podman version: 4.1.0
DEBU Running 'crc status'
DEBU Checking file: /home/rjones/.crc/machines/crc/.crc-exist
DEBU Checking file: /home/rjones/.crc/machines/crc/.crc-exist
DEBU Found binary path at /home/rjones/.crc/bin/crc-driver-libvirt
DEBU Launching plugin server for driver libvirt
DEBU Plugin server listening at address 127.0.0.1:42591
DEBU () Calling .GetVersion
DEBU Using API Version 1
DEBU () Calling .SetConfigRaw
DEBU () Calling .GetMachineName
DEBU (crc) Calling .GetBundleName
DEBU (crc) Calling .GetState
DEBU (crc) DBG | time="2022-08-08T14:03:18+01:00" level=debug msg="Getting current state..."
DEBU (crc) DBG | time="2022-08-08T14:03:18+01:00" level=debug msg="Fetching VM..."
DEBU (crc) Calling .GetIP
DEBU (crc) DBG | time="2022-08-08T14:03:18+01:00" level=debug msg="GetIP called for crc"
DEBU (crc) DBG | time="2022-08-08T14:03:18+01:00" level=debug msg="Getting current state..."
DEBU (crc) DBG | time="2022-08-08T14:03:18+01:00" level=debug msg="IP address: 192.168.130.11"
DEBU (crc) Calling .GetIP
DEBU (crc) DBG | time="2022-08-08T14:03:18+01:00" level=debug msg="GetIP called for crc"
DEBU (crc) DBG | time="2022-08-08T14:03:18+01:00" level=debug msg="Getting current state..."
DEBU (crc) DBG | time="2022-08-08T14:03:18+01:00" level=debug msg="IP address: 192.168.130.11"
DEBU Running SSH command: df -B1 --output=size,used,target /sysroot | tail -1
DEBU Using ssh private keys: [/home/rjones/.crc/machines/crc/id_ecdsa /home/rjones/.crc/cache/crc_libvirt_4.10.22_amd64/id_ecdsa_crc]
DEBU SSH command results: err: <nil>, output: 32737570816 12522758144 /sysroot
DEBU cannot get OpenShift status: stat /home/rjones/.crc/machines/crc/kubeconfig: no such file or directory
DEBU Making call to close driver server
DEBU (crc) Calling .Close
DEBU Successfully made call to close driver server
DEBU Making call to close connection to plugin binary
DEBU (crc) DBG | time="2022-08-08T14:03:18+01:00" level=debug msg="Closing plugin on server side"
CRC VM: Running
OpenShift: Unreachable (v4.10.22)
Podman:
Disk Usage: 12.52GB of 32.74GB (Inside the CRC VM)
Cache Usage: 17.09GB
Cache Directory: /home/rjones/.crc/cache
CRC config
- consent-telemetry : no
Host Operating System
# Put the output of `cat /etc/os-release` in case of Linux
NAME="Fedora Linux"
VERSION="36 (Server Edition)"
ID=fedora
VERSION_ID=36
VERSION_CODENAME=""
PLATFORM_ID="platform:f36"
PRETTY_NAME="Fedora Linux 36 (Server Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:36"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f36/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=36
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=36
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Server Edition"
VARIANT_ID=server
Steps to reproduce
- crc delete -f
- crc cleanup
- crc setup
- crc start --log-level debug
Expected
CRC should work, I guess?
Actual
Failed to renew TLS certificates: please check if a newer CRC release is available: Failed to get all certificate signing requests: ssh command error:
command : timeout 5s oc get csr -ojson --context admin --cluster crc --kubeconfig /opt/kubeconfig
This error happens every time I try to use crc.
Logs
https://gist.github.com/rwmjones/3a58df5c478e11e003455243cce0d8f9
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 47 (22 by maintainers)
I have ordered more RAM.
It is our biggest issue as this is not possible OOTB. Praveen reserves time to look into this for this sprint.
Sure. It’s an Intel NUC RNUC11PAHi50000 which is a fairly standard 4 core / 8 thread 11th Gen Intel Core i5 mobile chipset. This has Fedora 36 installed on it, and all
crccommands are run directly on the baremetal. (The crc-created VM therefore runs as an L1 guest) Edit: 16GB RAM and 1TB hard disk.