Skip to content

Unable to start CRC on Google cloud VM #4638

Open
@kansal-mukul

Description

General information

I am access of google cloud on which i spin up one VM and trying to start CRC but everytime i am getting please enable virtualization. i follow this blog : https://www.redhat.com/en/blog/codeready-containers . I tried with many OS (Centos , RHEL etc) but everytime i am not able to run crc setup command . please help and share the correct documents with full steps .

Image

Operating System

Linux

Hypervisor

KVM

Did you run crc setup before crc start?

no

Running on

VM

Steps to reproduce

  1. gcloud compute instances create crc-rhel-vm
    --zone=us-east1-b
    --machine-type=c2-standard-8
    --image-family=rhel-8
    --image-project=rhel-cloud
    --boot-disk-size=200GB
    --boot-disk-type=pd-standard
    --no-address
    --min-cpu-platform="Intel Cascade Lake"
    --metadata=startup-script='#!/bin/bash
    sudo yum module install -y virt
    sudo yum install -y virt-install virt-viewer
    sudo systemctl start libvirtd
    sudo systemctl enable libvirtd
    sudo virt-host-validate'
  2. ssh into the VM and run sudo dnf install NetworkManager
  3. curl -LO https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/crc/latest/crc-linux-amd64.tar.xz

tar -xvf crc-linux-amd64.tar.xz
mkdir -p ~/bin
cp /home/mukul_kansal/crc-linux-2.47.0-amd64/crc ~/bin
export PATH=$PATH:$HOME/bin
echo 'export PATH=$PATH:$HOME/bin' >> ~/.bashrc
cd crc-linux-2.47.0-amd64/
crc setup

CRC version

CRC status

CRC config

Host Operating System

centos 8 , RHEL . i tried both

Expected behavior

it should complete the CRC setup

Actual behavior

Image

CRC Logs

Additional context

PLease help on this ASAP . this is very urgent because i am working on one POC so planning to use this CRC cluster for further development,

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 working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions