Block migration fails with volume size 2 GB and more
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Tested on master code with commit id : fd72c308fc6adc1
volume_driver = cinder.
Case 1: Instance is booted using volume
Steps to reproduce:
1. Create a bootable volume of size 2 GB using an image.
2. Boot an instance with this volume on host 1.
3. Block migrate the instance on host 2
4. Instance will not be migrated and migration fails with below mentioned error log message on the source compute node
Case 2: Instance is booted using image then attach a volume to this newly booted instance
Steps to reproduce:
1. Create a volume of size 2 GB.
2. Boot an instance using image on host 1.
3. Attach a 2 GB volume to this instance.
3. Block migrate the instance on host 2.
4. Instance will not be migrated and migration fails with below mentioned error log message on the source compute node
Error Log message on the source compute node:
{{{
2014-09-11 02:42:41.884 ERROR nova.virt.
Live Migration failure: operation failed: migration job: unexpectedly failed
Traceback (most recent call last):
File "/usr/local/
listener.
File "/usr/local/
result = function(*args, **kwargs)
File "/opt/stack/
recover_
File "/opt/stack/
six.
File "/opt/stack/
CONF.
File "/usr/local/
result = proxy_call(
File "/usr/local/
rv = execute(f, *args, **kwargs)
File "/usr/local/
six.reraise(c, e, tb)
File "/usr/local/
rv = meth(*args, **kwargs)
File "/usr/lib/
if ret == -1: raise libvirtError ('virDomainMigr
libvirtError: operation failed: migration job: unexpectedly failed
Removing descriptor: 19
}}}
tags: | added: libvirt |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in nova: | |
assignee: | nobody → Timofey Durakov (tdurakov) |
status: | Confirmed → In Progress |
tags: |
added: live-migration removed: live-migrate |
@tpatil block migration with attached volume is not valid since https:/ /bugs.launchpad .net/nova/ +bug/1398999 So, second case is not valid. Could you provide more info about first one: nova.conf from compute node, libvirt logs, instance state in nova, networking used. It will help to find source of the problem. Tested on similar env, instances booted from 3GB volumes migrates well.