Comment 6 for bug 1563325

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/newton)

Reviewed: https://review.openstack.org/404658
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=e0f021f187758268e2bd732f63cf88fbf703320c
Submitter: Jenkins
Branch: stable/newton

commit e0f021f187758268e2bd732f63cf88fbf703320c
Author: Sivasathurappan Radhakrishnan <email address hidden>
Date: Tue Aug 23 20:47:06 2016 +0000

    Using get() method to prevent KeyError

    Using get() to access keys like "summary.guest.toolsStatus" and
    "summary.guest.toolrunningStatus" to avoid exception during hard reboot.
    This change would use a default values even if they don't exist in dict
    as we can have VMs where VM tools wouldn't be installed/running which leads
    to hard reboot

    Change-Id: I332867fe783d6d47b81d8a53153af140d4158217
    Closes-bug: #1563325
    (cherry picked from commit d3c7396d87681b82327c59c27fe14cf5e20c3ba5)