Skip to content

[BUG]crc hangs while run as normal user #3793

Open
@wuchuxiong

Description

General information

  • OS: Linux RHEL 8
  • Hypervisor: KVM
  • Did you run crc setup before starting it (Yes/No)? Yes.
  • Running CRC on: VM

CRC version

sudo ./crc version
CRC version: 2.20.0+f3a947
OpenShift version: 4.13.0
Podman version: 4.4.4

CRC status

./crc status doesn't work
Run the command with sudo, it says crc does not seem to be setup. But actually it already worked well at the beging

$ sudo ./crc status
crc does not seem to be setup correctly, have you run 'crc setup'?

CRC config

$ sudo ./crc config view
- consent-telemetry                     : yes

Host Operating System

 cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="8.0 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.0"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.0 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8.0:GA"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.0
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.0"

Steps to reproduce

Face this issue randomly. I can't reproduce it stably.

Expected

crc command can be run with normal user

Actual

I setup the crc with below command with a non-root user.

./crc setup
./crc start -c 8 -m 24000 -d 120

It worked pretty well at the beginning. I can access the k8s service correctly. And I can run ./crc status successfully
with the normal user. But after a few hours or a few days, ./crc version or ./crc status command always hang with
normal user. It doesn't print out any message at all even with "--log-level debug" flag.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't workingstatus/need more informationIssue needs more information before it will be looked at

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions