← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1881557] [NEW] Can not resize to same host for libvirt driver

 

Public bug reported:

Description
===========
As before, the instance can be resized or cold-migrated to same host for libvirt driver
if CONF.allow_resize_to_same_host was set to true.
When use latest source, got error "UnableToMigrateToSelf: Unable to migrate instance".

Steps to reproduce
==================
* Configure CONF.allow_resize_to_same_host to true
* Create one instance
* Cold-migrate the instance

Expected result
===============
The instance can be cold-migrated on same host

Actual result
=============
Got error "UnableToMigrateToSelf: Unable to migrate instance"

Environment
===========
$ git log
commit f571151e79dbd87a76ae3222a9f5b507d85648b1
Merge: 3233392 236f1b2
Author: Zuul <zuul@xxxxxxxxxxxxxxxxxx>
Date:   Sat May 30 06:55:18 2020 +0000

    Merge "zuul: Make devstack-plugin-ceph-tempest-py3 a voting check
job again"

libvirt + KVM

Logs & Configs
==============
[DEFAULT]
allow_resize_to_same_host = true

nova-compute
2020-06-01 06:53:24.367 28545 ERROR nova.compute.manager [instance: 982f9273-eb50-443a-8bbc-fa728ceac8e4] UnableToMigrateToSelf: Unable to migrate instance (982f9273-eb50-443a-8bbc-fa728ceac8e4) to current host (compute04).

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  Can not resize to same host for libvirt driver

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========
  As before, the instance can be resized or cold-migrated to same host for libvirt driver
  if CONF.allow_resize_to_same_host was set to true.
  When use latest source, got error "UnableToMigrateToSelf: Unable to migrate instance".

  Steps to reproduce
  ==================
  * Configure CONF.allow_resize_to_same_host to true
  * Create one instance
  * Cold-migrate the instance

  Expected result
  ===============
  The instance can be cold-migrated on same host

  Actual result
  =============
  Got error "UnableToMigrateToSelf: Unable to migrate instance"

  Environment
  ===========
  $ git log
  commit f571151e79dbd87a76ae3222a9f5b507d85648b1
  Merge: 3233392 236f1b2
  Author: Zuul <zuul@xxxxxxxxxxxxxxxxxx>
  Date:   Sat May 30 06:55:18 2020 +0000

      Merge "zuul: Make devstack-plugin-ceph-tempest-py3 a voting check
  job again"

  libvirt + KVM

  Logs & Configs
  ==============
  [DEFAULT]
  allow_resize_to_same_host = true

  nova-compute
  2020-06-01 06:53:24.367 28545 ERROR nova.compute.manager [instance: 982f9273-eb50-443a-8bbc-fa728ceac8e4] UnableToMigrateToSelf: Unable to migrate instance (982f9273-eb50-443a-8bbc-fa728ceac8e4) to current host (compute04).

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


Follow ups