Compute host that is powered off and unregistered from PowerVC displays back in PowerVC after power on

After a compute host that is registered with PowerVC is powered off and unregistered, the unregistered compute host when powered on is adding back in the same PowerVC again automatically.

Problem

After a compute host that is registered with PowerVC is powered off and unregistered, the unregistered compute host when powered on is adding back in the same PowerVC again automatically. This might lead to an unpredictable behavior of the specific host in PowerVC and leads to deployment and VM lifecycle operations failure. If you also attempt to add the host in another PowerVC, the operation fails.

Explanation

When a powered off or unreachable compute host is removed from PowerVC, the configuration files from the host are not cleaned up. After the host is powered on, it automatically registers with PowerVC as part of the compute service startup and driver initialization with the default Machine Type Machine Serial (MTMS) name. However, this host cannot be used to deploy VMs as the registration is incomplete and management type is not set for this host.

Resolution

To place the host in the same or in a different PowerVC, perform the following steps.
  1. Remove the host from PowerVC after it is registered automatically post the power on operation.
  2. Uninstall the PowerVC packages.
  3. Add the host manually in the intended PowerVC.