Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

โ€œInvest in yourself โ€” your confidence is always worth it.โ€

Explore Cosmetic Hospitals

Start your journey today โ€” compare options in one place.

Openshift Local: crc troubleshooting guide

If crc is not creating a VM even after setup, and you’re using Windows 11 with Hyper-V, here’s how you can check the logs and troubleshoot the issue:


โœ… 1. View Detailed Logs from CRC

Run this command to get verbose debug logs:

crc start -l debug

or for even more detailed logging:

crc start --log-level debug

This will print detailed steps of what crc is doing, where it’s failing, and may show VM or Hyper-V issues.


โœ… 2. Check Log Files Manually

CRC stores logs in this location on Windows:

C:\Users\<your-username>\.crc\logs
Code language: HTML, XML (xml)

Check the latest folder in that directory for a file like:

crc.log
Code language: CSS (css)

You can open it in Notepad or any text editor to see detailed setup/start information.


โœ… 3. Confirm Prerequisites

Letโ€™s double-check a few required things:

ItemCheck
โœ… Hyper-V installedRun Get-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All in PowerShell
โœ… User is in Hyper-V Administrators GroupRun net localgroup "Hyper-V Administrators"
โœ… Virtualization Enabled in BIOSCheck from Task Manager โ†’ Performance โ†’ CPU
โœ… Installed CRC with InstallerMake sure you used the .msi installer, not just a ZIP

If any of these aren’t properly configured, CRC won’t be able to start the VM.


โœ… 4. Manually Check Hyper-V VM

Check if a CRC VM was created but failed to start:

Get-VM

You may see something like crc listed. If it’s there but “Off” or in a failed state, try:

Start-VM -Name crc

And if that fails, get the error:

Get-VM -Name crc | Get-VMIntegrationService

โœ… 5. Clean Up and Retry (if needed)

If everything fails, you can try resetting and starting fresh:

crc cleanup
crc setup
crc start --log-level debug

Here is a Complete OpenShift Local (CRC) Troubleshooting Guide tailored for Windows (especially Windows 11), covering installation, VM, daemon, logs, and networking issues โ€” all in one place:


โœ… Complete OpenShift Local (CRC) Troubleshooting Guide for Windows


๐Ÿงฐ 1. Basic CRC Setup Checklist (Before Troubleshooting)

RequirementNotes
OSWindows 10/11 Pro, Enterprise, or Education (Hyper-V required)
RAMMinimum 9 GB free (16 GB total preferred)
Disk SpaceAt least 35 GB free
VirtualizationMust be enabled in BIOS
Hyper-V InstalledRequired โ€“ CRC won’t work with VirtualBox
Admin RightsMust run CRC setup and start as Administrator
CRC Installed via MSIAlways use the official Windows .msi installer
Reboot PerformedAfter install โ€“ mandatory

๐Ÿ› ๏ธ 2. Installation & Setup

โœ… Correct Installation Steps:

crc cleanup
crc setup

Always reboot after installation.


๐Ÿงช 3. Common Issues and Fixes

โŒ Issue 1: CRC Daemon Not Running

Error:

Is 'crc daemon' running? Cannot reach daemon API
Code language: JavaScript (javascript)

Fix:

# Open PowerShell as Admin
crc daemon
Code language: PHP (php)

Keep this terminal open while you run crc start in another one.


โŒ Issue 2: No VM is created

Fix:

  • Confirm virtualization:
Get-VM
  • Retry clean setup:
crc cleanup
crc setup
crc daemon
crc start --log-level debug

โŒ Issue 3: Hyper-V Not Enabled

Fix: Run as Admin:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All

Then reboot.


โŒ Issue 4: Podman or oc not found

Fix: Check:

dir C:\Users\<your-user>\.crc\bin
Code language: HTML, XML (xml)

If missing, re-run:

crc setup

โŒ Issue 5: DNS/Networking Failures

Fix:

  • Add api.crc.testing and *.apps-crc.testing to hosts file:
notepad C:\Windows\System32\drivers\etc\hosts

Add:

192.168.130.11 api.crc.testing
192.168.130.11 console-openshift-console.apps-crc.testing
Code language: CSS (css)

Replace 192.168.130.11 with the output of:

crc ip

๐Ÿงพ 4. Useful CRC Commands

PurposeCommand
Setup CRCcrc setup
Start clustercrc start --log-level debug
Stop clustercrc stop
Delete everythingcrc delete
Cleanup cache/machines/logscrc cleanup
Show statuscrc status
Get CRC IPcrc ip
Open dashboardcrc console

๐Ÿ“ 5. Log File Locations

Manual Log Inspection:

C:\Users\<your-user>\.crc\logs\crc.log
Code language: CSS (css)

Look for errors like:

  • โ€œVM creation failedโ€
  • โ€œDaemon not reachableโ€
  • โ€œFailed to mount diskโ€

๐Ÿ“ฆ 6. Bundle File Missing or Corrupt

If crc shows:

Bundle not found: crc_hyperv_xxx.crcbundle
Code language: CSS (css)

Fix:

  1. Download bundle manually: https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/crc/latest/
  2. Place in:
C:\Users\<your-user>\.crc\cache
Code language: HTML, XML (xml)

๐ŸŒ 7. Accessing the Cluster

  1. Run:
crc console
Code language: JavaScript (javascript)
  1. Login with:
    • Username: kubeadmin
    • Password: found at: C:\Users\<your-user>\.crc\cache\...<bundle>\kubeadmin-password
  2. Get oc tool path:
crc oc-env

๐Ÿ’ก 8. Tips & Best Practices

Tip
Always run crc in PowerShell (Admin)
Do not move .crcbundle file after setup
Avoid running CRC inside a VM
Check Windows Defender or antivirus โ€” it can block Hyper-V or crc.exe
Ensure enough free RAM + Disk Space

๐Ÿ“ž 9. When All Else Fails

  • Update CRC to the latest version
  • Re-download the bundle
  • Reset:
crc delete
crc cleanup
Code language: JavaScript (javascript)
  • Reboot
  • Start again

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services โ€” all in one place.

Explore Hospitals
Iโ€™m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at <a href="https://www.cotocus.com/">Cotocus</a>. I share tech blog at <a href="https://www.devopsschool.com/">DevOps School</a>, travel stories at <a href="https://www.holidaylandmark.com/">Holiday Landmark</a>, stock market tips at <a href="https://www.stocksmantra.in/">Stocks Mantra</a>, health and fitness guidance at <a href="https://www.mymedicplus.com/">My Medic Plus</a>, product reviews at <a href="https://www.truereviewnow.com/">TrueReviewNow</a> , and SEO strategies at <a href="https://www.wizbrand.com/">Wizbrand.</a> Do you want to learn <a href="https://www.quantumuting.com/">Quantum Computing</a>? <strong>Please find my social handles as below;</strong> <a href="https://www.rajeshkumar.xyz/">Rajesh Kumar Personal Website</a> <a href="https://www.youtube.com/TheDevOpsSchool">Rajesh Kumar at YOUTUBE</a> <a href="https://www.instagram.com/rajeshkumarin">Rajesh Kumar at INSTAGRAM</a> <a href="https://x.com/RajeshKumarIn">Rajesh Kumar at X</a> <a href="https://www.facebook.com/RajeshKumarLog">Rajesh Kumar at FACEBOOK</a> <a href="https://www.linkedin.com/in/rajeshkumarin/">Rajesh Kumar at LINKEDIN</a> <a href="https://www.wizbrand.com/rajeshkumar">Rajesh Kumar at WIZBRAND</a> <a href="https://www.rajeshkumar.xyz/dailylogs">Rajesh Kumar DailyLogs</a>

Related Posts

Best DevOps Tools in 2024

hereโ€™s a clear, structured breakdown of the Best DevOps Tools (grouped by categories), so you can use it for learning, training, or posts. ๐Ÿš€ Best DevOps Tools…

Read More

OpenShift Tutorial โ€“ Deploy and Access Your First Applications using OpenShift Local

How to install oc? OpenShift: How to Install OpenShift CLI oc How to login? Login to the Openshift using Web Console and CLI using oc Copy the admin…

Read More

OpenShift Lab 14: Setting Up and Using OpenShift Serverless Functions on OpenShift Local

Lab Objective In this lab, you will install and use OpenShift Serverless Functions on OpenShift Local. You will create a simple Node.js serverless function, deploy it to…

Read More

OpenShift Lab 13: Deploy a Java Spring Boot Application with MySQL Using the OpenShift Web Console

Lab Objective In this lab, you will deploy a Java Spring Boot application on OpenShift using the OpenShift web console. You will deploy two components: The Java…

Read More

OpenShift Lab 12: Deploy an Application from an Existing Container Image Using the OpenShift Web Console

Lab Objective In this lab, you will deploy an application on OpenShift from an existing container image. This lab is different from building an application from source…

Read More

OpenShift: How to Install OpenShift CLIย oc

Option – 1 – REDHAT Websites URL – https://access.redhat.com/downloads/content/290/ver=4.18/rhel—9/4.18.11/x86_64/product-software Option – 2 – OKD Websites The OKD (Origin Community Distribution of Kubernetes for OpenShift) is the open-source…

Read More
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
0
Would love your thoughts, please comment.x
()
x