Comment 2 for bug 1842440

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

Reviewed: https://review.opendev.org/679802
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=3cef55907b1c7fe273a9972f82a512a6ce2286bd
Submitter: Zuul
Branch: master

commit 3cef55907b1c7fe273a9972f82a512a6ce2286bd
Author: Matt Riedemann <email address hidden>
Date: Tue Sep 3 10:58:59 2019 -0400

    nova: use EndpointNotFound from keystoneauth1

    I16e0b6e55a9c9da04c4582f9be672018d37bf368 in python-novaclient 15.0.0
    removed the EndpointNotFound class which breaks the cinder unit
    test "test_novaclient_exceptions". That test was added with change
    Iea3ff0405ef8cf9c5222a489d85f9d135ebd3652 in Ocata after novaclient
    7.0.0 removed its service catalog code. The cinder novaclient module
    code was updated in I55613793c8f525a36ac74636f47d7ab76f5c7e39 (Pike)
    and Ie27f3b528dbfaa57fe354a84a93787e1618182a3 (Pike) to remove the
    hacked service catalog code but still checks the service catalog for
    an identity endpoint if cinder isn't configured with an auth_url for
    talking to nova. That code was raising novaclient.EndpointNotFound
    which is now gone, so this change swaps it to use EndpointNotFound
    from the keystoneauth1 library instead.

    Needed by: https://review.opendev.org/679295/

    Change-Id: I4b03beba0f847d779b6f3031be7ac68925cc79f4
    Closes-Bug: #1842440