You can reset OpenStack instances in the ERROR or SHUTOFF state that are powered on in vCenter Server.

Problem

An OpenStack instance may remain in the ERROR or SHUTOFF state even after the virtual machine corresponding to the instance is powered on in vCenter Server.

Solution

  1. Log in to the OpenStack Management Server as viouser.
  2. Display OpenStack instances in the ERROR or SHUTOFF state that are listed as powered on in vCenter Server.
    sudo viocli inventory-admin show-instances --nova-state {ERROR | SHUTOFF} --vc-state poweredOn
  3. Reset powered-on instances in the ERROR or SHUTOFF state.
    sudo viocli inventory-admin reset-instances-state --nova-state {ERROR | SHUTOFF} --vc-state poweredOn