iSCSI - Invalid method parameter: id does not exist, and it is not an optional property.

    • OMV 2.x
    • Resolved
    • iSCSI - Invalid method parameter: id does not exist, and it is not an optional property.

      Hello.
      When I try to add iSCSI target i get the following error when I assign some user on Authentication tab:

      Error #2002:
      exception 'OMVException' with message 'Invalid method parameter: id does not exist, and it is not an optional property.' in /usr/share/php/openmediavault/rpcservice.inc:187
      Stack trace:
      #0 /usr/share/openmediavault/engined/rpc/iscsitarget.inc(365): OMVRpcServiceAbstract->validateMethodParams(Array, '{\n\t\t\t "type":"...')
      #1 [internal function]: OMVRpcServiceIscsiTarget->setTarget(Array, Array)
      #2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      #3 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('setTarget', Array, Array)
      #4 /usr/sbin/omv-engined(500): OMVRpc::exec('iSCSITarget', 'setTarget', Array, Array, 1)
      #5 {main}

      It user independent - I've created dedicated user for it but it didn't help. Even trying with admin give me same result.
      Any ideas?

      Best regards. Pawel
    • Will be fixed in openmediavault-iscsitarget 2.1, see sourceforge.net/p/openmediavault/code/2002.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit