Comment 8 for bug 1639239

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

Reviewed: https://review.openstack.org/393941
Committed: https://git.openstack.org/cgit/openstack/os-brick/commit/?id=f7b8d242f7125242eebf0f72532daa931d5bb59f
Submitter: Jenkins
Branch: master

commit f7b8d242f7125242eebf0f72532daa931d5bb59f
Author: Matt Riedemann <email address hidden>
Date: Fri Nov 4 18:07:06 2016 -0400

    Raise specific exception for an invalid protocol connector

    Nova's libvirt driver attempts to load up a set of volume
    drivers which use os-brick connectors on start of the
    nova-compute service. If there is a missing or invalid
    mapping, like ISER + s390x, it results in a ValueError and
    nova-compute fails to start.

    This change raises a specific exception, which is still a
    ValueError for backward compatibility, so that Nova can
    handle this situation gracefully and not crash.

    Change-Id: I1d016c226416cf2b77d6e0393498905f56fd8cde
    Partial-Bug: #1639239