Comment 6 for bug 1647451

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

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

commit 8e097039e73663689b4c630589ab2dd5a569b5de
Author: Timofey Durakov <email address hidden>
Date: Thu Dec 1 19:03:24 2016 +0300

    fix for auth during live-migration

    Post step could fail due to auth token expiration.
    get_instance_nw_info fails with authentication required,
    because there are several calls to neutron api, some of them
    are admin context, while others try to use token from request
    context. This patch ensure that if admin context is initially used,
    all subsequent calls will use the same initialized client

    Closes-Bug: #1647451

    Change-Id: I8962a9cd472cbbb5b9b67c5b164ff29fd8f5558a
    (cherry picked from commit 4a5ecf1e29c3bdbb022f98a5fba41d4e7df56d88)