Public bug reported:

On live migration (with root disk on NFS) nova cannot unmount attached volume 
(located also on NFS) and fails to migrate the instance:

2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume Traceback (most 
recent call last):
2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume   File 
"/usr/lib/python2.6/site-packages/nova/virt/libvirt/volume.py", line 675, in 
disconnect_volume
2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume     
utils.execute('umount', mount_path, run_as_root=True)
2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume   File 
"/usr/lib/python2.6/site-packages/nova/utils.py", line 164, in execute
2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume     return 
processutils.execute(*cmd, **kwargs)
2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume   File 
"/usr/lib/python2.6/site-packages/nova/openstack/common/processutils.py", line 
193, in execute
2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume     cmd=' 
'.join(cmd))
2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume 
ProcessExecutionError: Unexpected error while running command.
2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume Command: sudo 
nova-rootwrap /etc/nova/rootwrap.conf umount 
/var/lib/nova/mnt/4e5299ba6e7bf5350915eef249c29c9a
2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume Exit code: 16
2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume Stdout: ''
2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume Stderr: 
'umount.nfs: /var/lib/nova/mnt/4e5299ba6e7bf5350915eef249c29c9a: device is 
busy\numount.nfs: /var/lib/nova/mnt/4e5299ba6e7bf5350915eef249c29c9a: device is 
busy\n'
2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume 

Nova should not even try to unmount it before the live migration.

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: migration nova

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

Title:
  Shared storage live migration with attached NFS-based volume does not
  work

Status in OpenStack Compute (Nova):
  New

Bug description:
  
  On live migration (with root disk on NFS) nova cannot unmount attached volume 
(located also on NFS) and fails to migrate the instance:

  2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume Traceback (most 
recent call last):
  2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume   File 
"/usr/lib/python2.6/site-packages/nova/virt/libvirt/volume.py", line 675, in 
disconnect_volume
  2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume     
utils.execute('umount', mount_path, run_as_root=True)
  2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume   File 
"/usr/lib/python2.6/site-packages/nova/utils.py", line 164, in execute
  2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume     return 
processutils.execute(*cmd, **kwargs)
  2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume   File 
"/usr/lib/python2.6/site-packages/nova/openstack/common/processutils.py", line 
193, in execute
  2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume     cmd=' 
'.join(cmd))
  2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume 
ProcessExecutionError: Unexpected error while running command.
  2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume Command: sudo 
nova-rootwrap /etc/nova/rootwrap.conf umount 
/var/lib/nova/mnt/4e5299ba6e7bf5350915eef249c29c9a
  2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume Exit code: 16
  2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume Stdout: ''
  2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume Stderr: 
'umount.nfs: /var/lib/nova/mnt/4e5299ba6e7bf5350915eef249c29c9a: device is 
busy\numount.nfs: /var/lib/nova/mnt/4e5299ba6e7bf5350915eef249c29c9a: device is 
busy\n'
  2014-05-23 06:23:04.654 32179 TRACE nova.virt.libvirt.volume 

  Nova should not even try to unmount it before the live migration.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to