Reviewed: https://review.openstack.org/293309 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=def71059a1fb0e01681833625b91c45a95ceedf4 Submitter: Jenkins Branch: master
commit def71059a1fb0e01681833625b91c45a95ceedf4 Author: xhzhf <[email protected]> Date: Wed Mar 16 16:17:39 2016 +0800 Support-matrix of vmware for chap is wrong Truely vmware driver can not attach cinder volume using chap authentication over iscsi Closes-Bug: #1557938 Change-Id: I05b1e81a3deffc855be34efff2d3e9dac8b63e82 ** Changed in: nova Status: In Progress => Fix Released -- 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/1557938 Title: [doc]support matrix of vmware for chap is wrong Status in OpenStack Compute (nova): Fix Released Bug description: In support-matrix, it says that vmware driver supports chap authentication over iscsi. In fact, vmware driver doesn't pass authentication info to vSphere API. So the function doesn't work. Code: def _iscsi_add_send_target_host(self, storage_system_mor, hba_device, target_portal): """Adds the iscsi host to send target host list.""" client_factory = self._session.vim.client.factory send_tgt = client_factory.create('ns0:HostInternetScsiHbaSendTarget') (send_tgt.address, send_tgt.port) = target_portal.split(':') LOG.debug("Adding iSCSI host %s to send targets", send_tgt.address) self._session._call_method( self._session.vim, "AddInternetScsiSendTargets", storage_system_mor, iScsiHbaDevice=hba_device, targets=[send_tgt]) Doc: http://docs.openstack.org/developer/nova/support-matrix.html#storage_block_backend_iscsi_auth_chap_vmware To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1557938/+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

