.. _rollback-compute-node: ======================= Rollback a compute node ======================= You can rollback a compute node to its original state, for example, the state before it failed. **To rollback a compute node**: #. SSH to one of the controller nodes. #. Put the node into maintenance mode to prevent scheduling of new VMs by disabling the nova-compute service: .. code-block:: console $ nova service-disable nova-compute #. Power off all the VMs running on the node to be re-installed: .. code-block:: console $ nova stop [vm-uuid] Alternatively, live migrate the VMs: #. Get a list of all VMs running on a host: .. code-block:: console $ nova list --host --all-tenants #. Manually live migrate instances to other hosts: .. code-block:: console $ nova live-migration #. Reinstall the node as described in :ref:`reinstall-node`. #. Enable the nova-compute service: .. code-block:: console $ nova service-enable nova-compute #. If you did not perform the live migration, start the VMs that are in the ``SHUTOFF`` status: .. code-block:: console $ nova start [vm-uuid] .. seealso:: * :ref:`access_shell` * `Planned Maintenance `_