← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1428344] [NEW] Detaching iscsi lvm block volumes fails to remove luns on nova cpu host

 

Public bug reported:

On kilo master detaching iscsi lvm block volumes fails to remove luns on
nova cpu host

How to reproduce with lvm backend
Ubuntu 14.04
clone devstack 
Create volume1_lvm volume type lvmdriver-1
Attach volume1_lvm to nova nst1
ll /dev/disk/by-path/
lrwxrwxrwx 1 root root   9 Mar  4 12:59 ip-10.50.128.22:3260-iscsi-iqn.2010-10.org.openstack:volume-45451822-f305-406c-9eec-088b7e432af5-lun-1 -> ../../sdg

Dettach volume1_lvm
ll /dev/disk/by-path/
lrwxrwxrwx 1 root root   9 Mar  4 12:59 ip-10.50.128.22:3260-iscsi-iqn.2010-10.org.openstack:volume-45451822-f305-406c-9eec-088b7e432af5-lun-1 -> ../../sdg

Seems to related to following libvirt code
https://github.com/openstack/nova/blob/master/nova/virt/libvirt/volume.py#L568-L576

Attached is n-cpu.log

** Affects: nova
     Importance: Undecided
         Status: New

** Attachment added: "n-cpu.log"
   https://bugs.launchpad.net/bugs/1428344/+attachment/4334710/+files/n-cpu.log

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

Title:
  Detaching iscsi lvm block volumes fails to remove luns on nova cpu
  host

Status in OpenStack Compute (Nova):
  New

Bug description:
  On kilo master detaching iscsi lvm block volumes fails to remove luns
  on nova cpu host

  How to reproduce with lvm backend
  Ubuntu 14.04
  clone devstack 
  Create volume1_lvm volume type lvmdriver-1
  Attach volume1_lvm to nova nst1
  ll /dev/disk/by-path/
  lrwxrwxrwx 1 root root   9 Mar  4 12:59 ip-10.50.128.22:3260-iscsi-iqn.2010-10.org.openstack:volume-45451822-f305-406c-9eec-088b7e432af5-lun-1 -> ../../sdg

  Dettach volume1_lvm
  ll /dev/disk/by-path/
  lrwxrwxrwx 1 root root   9 Mar  4 12:59 ip-10.50.128.22:3260-iscsi-iqn.2010-10.org.openstack:volume-45451822-f305-406c-9eec-088b7e432af5-lun-1 -> ../../sdg

  Seems to related to following libvirt code
  https://github.com/openstack/nova/blob/master/nova/virt/libvirt/volume.py#L568-L576

  Attached is n-cpu.log

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


Follow ups

References