BareMetal IPI fails with an error defining libvirt domain while creating a bootstrap VM

Solution Verified - Updated -

Issue

  • During BareMetal IPI, the installation fails with following errors:
DEBUG libvirt_volume.bootstrap: Creation complete after 2s [id=/var/lib/libvirt/openshift-images/ipi-installation-demo-8r8nc-bootstrap/ipi-installation-demo-8r8nc-bootstrap]
DEBUG libvirt_domain.bootstrap: Creating...
ERROR
ERROR Error: Error defining libvirt domain: virError(Code=38, Domain=7, Message='End of file while reading data: Input/output error')
ERROR
ERROR   on ../tmp/openshift-install-bootstrap-3944846826/main.tf line 44, in resource "libvirt_domain" "bootstrap":
ERROR   44: resource "libvirt_domain" "bootstrap" {
ERROR
ERROR
FATAL failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed to apply Terraform: failed to complete the change
...

Environment

  • Red Hat OpenShift Container Platform [RHOCP]
    • 4.8+
    • BareMetal IPI

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content