snc icon indicating copy to clipboard operation
snc copied to clipboard

[Q] using other `platform` options

Open ildar opened this issue 4 years ago • 5 comments

Hi! I'm wishing to use other platform options that are valid for openshift-installer (see https://github.com/code-ready/snc/blob/master/install-config.yaml#L29).

Question: what should be done for having platform choices? or are there shorter (other) ways to have this besides snc?

ildar avatar Feb 04 '21 06:02 ildar

The platform is libvirt as this is what we use to base other images from. These images are used by CRC for a hypervisor-based development environment. For use on Hyperkit and Hyper-V we converted the images.

What are you looking for, and why?

Note: we can not target 'aws' or 'azure' as this will have leftover information in the image about the environment you target, such as access keys. This means that any image that is generated for use on a cloud provider, would ALSO have the keys to target 'your' environment. We haven't dealt with stripping this. We have considered to convert images from libvirt for use on azure, aws, etc, but the initial layout is still an issue. It would likely be best to base this from a baremeyal install on a VM perhaps?

are there shorter (other) ways to have this besides snc?

using the actual openshift-installer? Perhaps describe what your needs are...

gbraad avatar Feb 04 '21 06:02 gbraad

I'm looking for a flexibility. For different reasons I have VMware, KVM and PowerVM hypervisor platforms in my lab and want to deploy OCP/SNC on those beasts. KVM (on ppc64le) presumably should be fine, I'll check that later. Now I want to deploy SNC on VMware. Thanks for answering my (not so smart) questions. 👍

ildar avatar Feb 04 '21 07:02 ildar

We do not support VMware from the SNC/CRC side as this is not something we have as a target for ourselves. There is no way for us to test this. You are however free to try the snc scripts with a provider and see if this would work (we will take patches is a level of support can be given). But, it will be unlikely we will hiost images for this.

Note: PPC64LE support is being worked on by @mtarsel and changes have been made to allow the creation of these images. So, Libvirt/KVM and PPC are possible already.

gbraad avatar Feb 04 '21 08:02 gbraad

I didn't think nested virtualization on PowerVM LPAR was supported but I haven't checked in a while. SNC will run on a bare metal ppc64le host and I have not created any CRC bundles yet.

mtarsel avatar Feb 04 '21 08:02 mtarsel

On Thu, Feb 4, 2021 at 2:45 PM Mick Tarsel wrote:

I didn't think nested virtualization on PowerVM LPAR was supported but I haven't checked in a while. SNC will run on a bare metal ppc64le host and I have not created any CRC bundles yet.

Sure. I've read the related discussions. I'm going to try Linux hypervisor on top of OPAL fw + libvirtd.

On Thu, Feb 4, 2021 at 2:35 PM Gerard Braad wrote:

We do not support VMware . You are however free to try the snc scripts with a provider and see if this would work

This was the initial question: can you evaluate if it's at all possible and what parts of the scripts I should care of.

Thanks a lot, guys.

ildar avatar Feb 04 '21 09:02 ildar