← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1756118] Re: No live migration on aarch64

 

Reviewed:  https://review.opendev.org/589769
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=4bb54ae86981d186e41dcc325d171ab951beb7b6
Submitter: Zuul
Branch:    master

commit 4bb54ae86981d186e41dcc325d171ab951beb7b6
Author: Kevin Zhao <kevinzs2048@xxxxxxxxx>
Date:   Wed Aug 8 17:04:52 2018 +0800

    Skip cpu comparison on AArch64
    
    Host CPU compatibility check does not make sense on AArch64,
    this patch skips CPU comparison.
    
    Closes-bug: #1756118
    
    Change-Id: I0ef4b954b7f4ae65b6c0f96580c5f9472a2b873c
    Signed-off-by: Kevin Zhao <kevinzs2048@xxxxxxxxx>


** 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/1756118

Title:
  No live migration on aarch64

Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) queens series:
  Triaged

Bug description:
  On AArch64 we use cpu_mode='host-passthrought' which should allow us
  to do live migration between compute nodes running same cpus.

  But it does not:

  -----------------------------------------------------------------------------estuary@ref-compute-2:~$ openstack server migrate --live ref-compute-1 --wait 38da6986-2f76-486d-877b-438560d7aa05
  Migration pre-check error: CPU doesn't have compatibility.

  XML error: Missing CPU model name

  Refer to http://libvirt.org/html/libvirt-libvirt-host.html#virCPUCompareResult (HTTP 400) (Request-ID: req-cea6f860-e78b-469b-9527-a703114b372b)
  -----------------------------------------------------------------------------

  virsh itself is able to live migrate between two XGene1 nodes:

  -----------------------------------------------------------------------------
  root@cb-r1-m1-c1n1:/var/log/libvirt# virsh migrate --copy-storage-all --live debian-cloud-image qemu+ssh://root@10.101.3.103/system tcp://10.101.3.103

  2018-03-15 15:15:23.217+0000: initiating migration
  2018-03-15 15:15:25.740+0000: shutting down, reason=migrated
  2018-03-15T15:15:25.741113Z qemu-system-aarch64: terminating on signal 15 from pid 573 (/usr/sbin/libvirtd)

  root@debian:/var/lib/libvirt/images# virsh list --all
   Id    Name                           State
  ----------------------------------------------------
   9     debian-cloud-image             running
  -----------------------------------------------------------------------------

  Will dig more to find out what, where and why is wrong.

  More info: https://bugzilla.redhat.com/show_bug.cgi?id=1430987

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


References