openshift / installer

Install an OpenShift 4.x cluster
https://try.openshift.com
Apache License 2.0
1.44k stars 1.39k forks source link

Libvirt in RHEL7.6 supported? #1183

Closed AsherShoshan closed 5 years ago

AsherShoshan commented 5 years ago

Version

$ openshift-install version unreleased-master-197-g8604f1fa3669176bc557b97f19d5dc11ee85fad7

Platform (aws|libvirt|openstack):libvirt

What happened?

openshift-install create cluster generates the below message

ERROR * libvirt_domain.bootstrap: Error creating libvirt domain: virError(Code=1, Domain=10, Message='internal error: process exited while connecting to monitor: qemu-kvm: -fw_cfg: invalid option')

What you expected to happen?

Creating a cluster

How to reproduce it (as minimally and precisely as possible)?

run 'openshift-installer create cluster' in rhel7.6 machine

e-minguez commented 5 years ago

qemu-kvm version included in RHEL7.6 doesn't support the -fw_cfg flag required to use igntion. There is a PR pending for this https://github.com/openshift/installer/pull/675

If you have access to qemu-kvm-rhev (in RHV or OSP software channels), you can use it as it is an updated version that includes the -fw_cfg flag support.

dantrainor commented 5 years ago

I've been using the following to pull packages that support this from upstream Virt SIG. This could provide a temporary workaround until the aforementioned PR is accepted:

https://github.com/ironcladlou/openshift4-libvirt-gcp/blob/master/provision.sh#L13-L34

zeenix commented 5 years ago

AFAIK, this has been resolved. Please re-open if not.

/close

openshift-ci-robot commented 5 years ago

@zeenix: Closing this issue.

In response to [this](https://github.com/openshift/installer/issues/1183#issuecomment-504986792): >AFAIK, this has been resolved. Please re-open if not. > >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.