cancel
Showing results for 
Search instead for 
Did you mean: 
vivek_tiwari88
Mission Specialist
Mission Specialist
  • 4,518 Views

Openshift Local (CRC) On Windows Failed

Hi!

I have been trying to install the OpenShift Local (CRC) on windows 10 to practise for Ex280 Certification. I have managed to install the CRC many times successfully on windows machine, but it doesn't include podman.

Installing podman always failing for me, 

Labels (2)
6 Replies
Fran_Garcia
Starfighter Starfighter
Starfighter
  • 4,504 Views

Installing additional software inside the Openshift Local (CRC) is not required to experience some basic Openshift usage. Openshift uses crio internally (not podman).

If you want to also practise using podman you could install WSL on Windows 10, or a new, sepparate virtual machine with RHEL.

0 Kudos
vivek_tiwari88
Mission Specialist
Mission Specialist
  • 4,492 Views

Dear Fran_Gracia,

Thanks for response. I had same expectation that i did not require to install any additional software. But after installing OpenShift Local, i noticed that the deployments were facing pull image issue.

i thought "podman login <registry>" will fix the problem. That's where is started experiencing the need of podman. 

how shall we connect to registry without podman or docker?

0 Kudos
Fran_Garcia
Starfighter Starfighter
Starfighter
  • 4,460 Views

You need to add a pull secret to inform Openshift about the credentials to use for a certain registry. You can review the Openshift documentation to add that secret to your project, or add a generic global pull secret available to all projects. Relevant documentation available at:

https://docs.openshift.com/container-platform/4.10/openshift_images/managing_images/using-image-pull...

0 Kudos
MouradN81
Cadet
Cadet
  • 4,384 Views

Hi Vivek,

 

I sometimes run into issued for CRC on top of Windows.

If you're still facing issues installing CRC directly on Windows, you may also try to use nested virutalization on Hyper-V. Install a RHEL VM on Hyper-V, then run CRC on top on this VM. Just make sure the VM has access to Internet by connteting it to a NATted or bridged network.

 

Yes. It's overengineered but it sometimes help in case you only a Windows box.

 

0 Kudos
vivek_tiwari88
Mission Specialist
Mission Specialist
  • 4,371 Views

Dear Mourad,

Thanks for your help. I had tried to install "CRC on top of RHEL8 VM" initially, but this has been constantly failing and OpenShift (within CRC) taking too much time to be in "Ready" State.

Apparently, i choose to run CRC on Window Platform.

Regards,
Vivek Tiwari

0 Kudos
MouradN81
Cadet
Cadet
  • 4,354 Views

Vivek,

What are the physical config of your local machine that you're using to install CRC. Which Windows version and which hypervisor (Hyper-V, VMware Workstation or VirtualBox)?

There a nice release notes document that you might find helpful. Make sure you have a machine with minimum hardware requirements and a supported Windows OS version/edition.

Have a look at this release notes link below, and take the time to read everything related to Windows, as there are some known issues that you can avoid if you are aware of them.

https://access.redhat.com/documentation/fr-fr/red_hat_codeready_containers/1.40/pdf/release_notes_an...


I was able to install CRC on Windows 10 with no issue. However, that was one year ago and things might have changed since then.

 

Let me know about your progress.

0 Kudos
Join the discussion
You must log in to join this conversation.