← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1557938] [NEW] [doc]support matrix of vmware for chap is wrong

 

Public bug reported:

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

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: matrix support vmware

** Tags added: matrix support vmware

-- 
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):
  New

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


Follow ups