On Tue, Sep 15, 2015 at 03:00:08PM +0200, 'Hrvoje Ribicic' via ganeti-devel 
wrote:
> In Xen commit e1475a6693aac8cddc4bdd456548aa05a625556b, the output from
> xl list was extended to provide a reason for shutdowns. This breaks
> our somewhat strict parsing of the output in certain situations where
> the new states appear (e.g. the short suspension during a migration, or
> an instance reboot).
> 
> This patch makes sure the new states (barring the mysterious watchdog
> state) are handled correctly.
> 
> Signed-off-by: Hrvoje Ribicic <[email protected]>
> ---
>  lib/hypervisor/hv_xen.py                     | 24 +++++++++++++++++++-----
>  test/py/ganeti.hypervisor.hv_xen_unittest.py | 14 ++++++++++++++
>  2 files changed, 33 insertions(+), 5 deletions(-)

LGTM

-- 
Klaus Aehlig
Google Germany GmbH, Dienerstr. 12, 80331 Muenchen
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschaeftsfuehrer: Graham Law, Christine Elizabeth Flores

Reply via email to