← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1554301] [NEW] vm's xml disk type info changed after the vm's volume migrated

 

Public bug reported:

1. boot a vm from a volume
2. check the vm's  xml  disk type info is "block"
    <disk type='block' device='disk'>
      <driver name='qemu' type='raw' cache='none'/>
      <source dev='/dev/mapper/mpathbgx'/>
3. migrate the volume which vm is using in 
cinder migrate volume

4. after volume migrate success,check vm's  xml  disk type info is "file"
 <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='none'/>
      <source file='/dev/mapper/mpathbgi'/>

5. it will be resulted in the volume's  by-path info (like /dev/disk/by-
path/ip-172.168.101.25:3260-iscsi-
iqn.2099-01.cn.com.zte:usp.spr11-4c:09:b4:b0:55:91-lun-9 -> ../../sdx )
cleaned after other volume's detached on this host.

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

Title:
  vm's xml  disk type info changed after the vm's volume migrated

Status in OpenStack Compute (nova):
  New

Bug description:
  1. boot a vm from a volume
  2. check the vm's  xml  disk type info is "block"
      <disk type='block' device='disk'>
        <driver name='qemu' type='raw' cache='none'/>
        <source dev='/dev/mapper/mpathbgx'/>
  3. migrate the volume which vm is using in 
  cinder migrate volume

  4. after volume migrate success,check vm's  xml  disk type info is "file"
   <disk type='file' device='disk'>
        <driver name='qemu' type='raw' cache='none'/>
        <source file='/dev/mapper/mpathbgi'/>

  5. it will be resulted in the volume's  by-path info (like /dev/disk
  /by-path/ip-172.168.101.25:3260-iscsi-
  iqn.2099-01.cn.com.zte:usp.spr11-4c:09:b4:b0:55:91-lun-9 -> ../../sdx
  ) cleaned after other volume's detached on this host.

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


Follow ups