Comment 3 for bug 1480514

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

Reviewed: https://review.openstack.org/208268
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=d365c087aee56af2617700f55f4ff7a01c116da6
Submitter: Jenkins
Branch: master

commit d365c087aee56af2617700f55f4ff7a01c116da6
Author: lyanchih <email address hidden>
Date: Mon Aug 3 02:16:38 2015 +0000

    libvirt: cleanup() serial_consoles after instance failure

    When nova cleanup() is called to release all resources related to an instance
    it can thow InstanceNotFound. Which is not caught and therefore returned to
    the user.

    This is because the generator function (_get_serial_ports_from_instance)
    is not *executed* under try/except. While that is clearly the intent of the
    code.

    Change-Id: I9e9410ab7eec5fa667c0c3de4548c49df050c167
    Closes-Bug: 1480514