Comment 3 for bug 1239747

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

Reviewed: https://review.openstack.org/51663
Committed: http://github.com/openstack/nova/commit/c31ae4987c5ae2015cc5379a4717490b75c62c9e
Submitter: Jenkins
Branch: master

commit c31ae4987c5ae2015cc5379a4717490b75c62c9e
Author: Paul Murray <email address hidden>
Date: Mon Oct 14 17:44:20 2013 +0100

    Improve logging messages in libvirt driver

    This is a trivial change to correct an uninformative log message.
    There are two checks in get_instance_disk_info that look at a disk.
    One checks for the type of a disk and logs its path if it is not a file.
    The other checks for the path and logs the instance name it belongs to
    if it does not exist. The first will log None if the path does not exist,
    so reverse the order of the checks.

    Closes-Bug: #1239747
    Change-Id: Ieb52ba0584ad789dc55f40e0172cf5ed41e86fbe