Openshift IPI installation on RHV-4.x failed with "Error: timeout while waiting for state to become 'up' (last state: 'down', timeout: 10m0s)"

Solution Verified - Updated

Environment

  • openshift container platform
    • 4.5
  • Red Hat Virtualization
    • 4.4.1

Issue

  • Openshift IPI deployment on RHV-4.4 get failed with below error for create cluster command:-
level=debug msg="module.masters.ovirt_vm.master[1]: Still creating... [10m40s elapsed]"
level=debug msg="module.masters.ovirt_vm.master[2]: Still creating... [10m40s elapsed]"
level=error
level=error msg="Error: timeout while waiting for state to become 'up' (last state: 'down', timeout: 10m0s)"
level=error
level=error msg="  on ../../tmp/openshift-install-213984312/masters/main.tf line 1, in resource \"ovirt_vm\" \"master\":"
level=error msg="   1: resource \"ovirt_vm\" \"master\" {"
  • Master nodes VM on RHV-4.4 not coming up with due to the below error:-
VM <vm-name> is down with error. Exit message: unsupported configuration: Can't add USB input device. USB bus is disabled.

Resolution

  • The master VM creation on RHV-4.4 is failing due to USB bus disabled for the VM's created with High Performance type.
  • Change the vmType to server in install config before creating a cluster, and then create the cluster with a customized install-config file.
apiVersion: v1
baseDomain: example.com
controlPlane:
  name: master
  platform:
    ovirt:
      cpu:
        cores: 4
        sockets: 2
      memoryMB: 65536
      osDisk:
        sizeGB: 100
      vmType: server           
  replicas: 3

Disclaimer: Links contained herein to an external website(s) are provided for convenience only. Red Hat has not reviewed the links and is not responsible for the content or its availability. The inclusion of any link to an external website does not imply endorsement by Red Hat of the website or their entities, products, or services. You agree that Red Hat is not responsible or liable for any loss or expenses that may result due to your use of (or reliance on) the external site or content.


Root Cause

Diagnostic Steps

  • Run the create cluster command with --log-level=debug option and see if the installer is getting time out.
  • Check the events in RHV portal for the master VMs created in RHV by openshift installer.
SBR
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.