← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1153435] Re: Hyper-V attach iscsi base volume failed due to WMI exception

 

** Changed in: nova
       Status: New => Invalid

** Converted to question:
   https://answers.launchpad.net/nova/+question/224519

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

Title:
  Hyper-V attach iscsi base volume failed due to WMI  exception

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Issue Description:
     I created a volume on RedHat6.3  with "volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver" and created a instance on HyPer-V (windows 2012),  then tried to attach the volume to the instance ,but failed . It throwes Exception  <x_wmi: Unexpected COM Error (-2147352567, 'Exception occurred.', (0, u'SWbemObjectEx', u'Generic failure ', None, 0, -2147217407), None)>

  Test steps:

  1. create  a  volume and boot a instance :
      cinder create  1 --display-name iscsi_volume1
       nova boot --image e73592aa-ea41-4d44-84df-2911483bacca  --flavor 1 gcb_iscsi1

   2. check status 
   [root@localhost /]# cinder list
  +--------------------------------------+-----------+---------------+------+-------------+----------+-------------+
  |                  ID                  |   Status  |  Display Name | Size | Volume Type | Bootable | Attached to |
  +--------------------------------------+-----------+---------------+------+-------------+----------+-------------+
  | 7f4adee1-a615-41c2-955e-4a266dc18693 | available | iscsi_volume1 |  1   |     None    |  false   |             |
  | a1af7c46-ed5e-49f2-a2f8-5e725bf89ed6 | available | iscsi_volume2 |  1   |     None    |  false   |             |
  +--------------------------------------+-----------+---------------+------+-------------+----------+-------------+
  [root@localhost /]# nova list
  +--------------------------------------+------------+--------+----------------------+
  | ID                                   | Name       | Status | Networks             |
  +--------------------------------------+------------+--------+----------------------+
  | d1501b79-073e-4f68-9849-e4b767b2e258 | gcb_iscsi1 | ACTIVE | private=192.168.88.2 |
  | 58ea7ef2-efee-4434-8b85-57e3cdce63a2 | gcb_iscsi2 | ACTIVE | private=192.168.88.3 |
  +--------------------------------------+------------+--------+----------------------+

  3. attach volume
   nova volume-attach d1501b79-073e-4f68-9849-e4b767b2e258 7f4adee1-a615-41c2-955e-4a266dc18693 /dev/sdf

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