From 615beb2a105d12703009673fb9e0359d673b0968 Mon Sep 17 00:00:00 2001 From: Armando Migliaccio Date: Thu, 25 Oct 2012 20:12:53 +0100 Subject: details the reboot behavior that a virt driver should follow. fixes bug 1000774 Change-Id: I5a1cd62181d6f3772b890006ae73113eee0a0e0e --- nova/virt/driver.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nova/virt/driver.py b/nova/virt/driver.py index 941d46e5e..1ae50bb6d 100644 --- a/nova/virt/driver.py +++ b/nova/virt/driver.py @@ -200,6 +200,12 @@ class ComputeDriver(object): block_device_info=None): """Reboot the specified instance. + After this is called successfully, the instance's state + goes back to power_state.RUNNING. The virtualization + platform should ensure that the reboot action has completed + successfully even in cases in which the underlying domain/vm + is paused or halted/stopped. + :param instance: Instance object as returned by DB layer. :param network_info: :py:meth:`~nova.network.manager.NetworkManager.get_instance_nw_info` -- cgit