yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #53263
[Bug 1386975] Re: VMWare: scan iscsi hba on wrong host and can't discover iscsi target
This is an automated cleanup. This bug report has been closed because it
is older than 18 months and there is no open code change to fix this.
After this time it is unlikely that the circumstances which lead to
the observed issue can be reproduced.
If you can reproduce the bug, please:
* reopen the bug report (set to status "New")
* AND add the detailed steps to reproduce the issue (if applicable)
* AND leave a comment "CONFIRMED FOR: <RELEASE_NAME>"
Only still supported release names are valid (LIBERTY, MITAKA, OCATA, NEWTON).
Valid example: CONFIRMED FOR: LIBERTY
** Changed in: nova
Importance: Low => Undecided
** Changed in: nova
Status: Confirmed => Expired
--
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/1386975
Title:
VMWare: scan iscsi hba on wrong host and can't discover iscsi target
Status in OpenStack Compute (nova):
Expired
Bug description:
When try to attach a raw iscsi volume to a VM (using RDMp), current
code will try to get the iscsi target on the first host of the
cluster. While the VM perhaps locates on other host, and an error will
be thrown as this:
The virtual disk is either corrupted or not a supported format.
To fix this issue, need to replace get_host_ref with
get_host_ref_for_vm in the following places:
in volumeops.py:
def _iscsi_get_target(self, data):
target_portal = data['target_portal']
target_iqn = data['target_iqn']
host_mor = vm_util.get_host_ref(self._session, self._cluster) #need to get the host in which the VM resides
....
def _iscsi_rescan_hba(self, target_portal):
host_mor = vm_util.get_host_ref(self._session, self._cluster) #need to get the host in which the VM resides
......
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1386975/+subscriptions
References