[PATCH] iscsi.py: fixed discovery issue and added support for iSER transport

Dan Kenigsberg danken at redhat.com
Mon Dec 12 20:02:46 UTC 2011


On Mon, Dec 12, 2011 at 03:52:57PM +0000, Roi Dayan wrote:
> Never got to http://gerrit.ovirt.org from the prev link you gave us.
> So we never saw 'register' link just the message:
> 
> 'You cannot create your own account, you must ask any other account holder to do it for you. We are protecting this wiki from spambots and bad actors through self-management. This includes the creation of new accounts.
> If you need an account, contact one of the existing account holders, who are fellow participants and contributors.
> 
> Discover of new targets is tcp.
> After detecting the targets, a user needs to know if a specific target transport is iser or tcp and update the iface.transport_name accordingly.

I'd expect iscsiadm's --login command to let you select the transport. It is not
very safe to set the transport in one command, have a window where vdsm can die,
and login later. If Vdsm actually die, host will be left with an uninteded
transport.

> 
> What config parameter do you suggest?
> In /etc/vdsm.conf ? like unser [vars] so put transport=tcp,iser | iser,tcp | tcp | iser ?

yeah, though storage-related vars sit under [irs] (don't ask why), and I think
iscsi_transports is a clearer name.

Dan.


More information about the vdsm-patches mailing list