← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1818183] [NEW] non-admin user live migration failed due to auth token expire

 

Public bug reported:

Description
===========
When non-admin live migration take a long time, the keystone auth token may expire, that cloud cause post step fail.

Steps to reproduce
==================
1. Allow non-admin user to perform live migration
2. Set a breakpoint in _post_live_migration method of compute manager
3. Set keystone auth token expiration time to a low value
4. Start a live migrate, once breakpoint is reached, wait for auth token expire, then continue

Expected result
===============
Live migration finished successful.

Actual result
=============
Live migration failed cause authorized failed in setup_networks_on_host method
Instance still in migrate status, but nothing to do

Environment
===========
1. I've using rocky branch on 3 nodes, and deployed by kolla-ansible
2. Libvirt + kvm + Ceph + Neutron vxlan

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: live-migration

** Attachment added: "Tracebacks for the bug"
   https://bugs.launchpad.net/bugs/1818183/+attachment/5242508/+files/traceback.txt

-- 
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/1818183

Title:
  non-admin user live migration failed due to auth token expire

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========
  When non-admin live migration take a long time, the keystone auth token may expire, that cloud cause post step fail.

  Steps to reproduce
  ==================
  1. Allow non-admin user to perform live migration
  2. Set a breakpoint in _post_live_migration method of compute manager
  3. Set keystone auth token expiration time to a low value
  4. Start a live migrate, once breakpoint is reached, wait for auth token expire, then continue

  Expected result
  ===============
  Live migration finished successful.

  Actual result
  =============
  Live migration failed cause authorized failed in setup_networks_on_host method
  Instance still in migrate status, but nothing to do

  Environment
  ===========
  1. I've using rocky branch on 3 nodes, and deployed by kolla-ansible
  2. Libvirt + kvm + Ceph + Neutron vxlan

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1818183/+subscriptions


Follow ups