← Back to team overview

yahoo-eng-team team mailing list archive

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

 

You have to configure nova to use service user auth tokens as described
here:

https://docs.openstack.org/nova/latest/admin/support-compute.html#user-
token-times-out-during-long-running-operations

** Changed in: nova
       Status: New => Invalid

-- 
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):
  Invalid

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


References