How to recover a host after an erroneous decommissioning?

Note

If the decommissioned host is disabled, it must be enabled!

In the event of an erroneous decommissioning of host, the following steps must be taken:

  1. Check the status of the nova-compute service with the command:

    systemctl is-enabled nova-compute
    

    If the status of the service is disabled, enable it with the command:

    systemctl enable nova-compute
    
  2. Restart the nova-compute service with the command:

    systemctl restart nova-compute