yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #59771
[Bug 1647451] Re: Post live migration step could fail due to auth errors
Reviewed: https://review.openstack.org/407147
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=4a5ecf1e29c3bdbb022f98a5fba41d4e7df56d88
Submitter: Jenkins
Branch: master
commit 4a5ecf1e29c3bdbb022f98a5fba41d4e7df56d88
Author: Timofey Durakov <tdurakov@xxxxxxxxxxxx>
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
** Changed in: nova
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1647451
Title:
Post live migration step could fail due to auth errors
Status in OpenStack Compute (nova):
Fix Released
Bug description:
Description
===========
When live migration is finished it's possible that keystone auth token is already expired,
that causes for post_step to fail
Steps to reproduce
==================
there are 2 options to reproduce this issue:
1. run live-migration of heavy loaded instance, wait for token to expire, and after that try to execute live-migration-force-complete
2. set a breakpoint in _post_live_migration method of compute manager, once breakpoint is reached,
do openstack token revoke, continue nova execution normally
Expected result
===============
live-migration to be finished sucessfully
Actual result
=============
post step is failed, overall migration is also failed
Environment
===========
1. I've tested this case on Newton version, but the issue should be valid for master branch too.
2. Libvirt + kvm
2. Ceph
3. Neutron vxlan
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1647451/+subscriptions
References