As kernel 2.6.38 LIO is merged into the official kernel tree as the standard multiprotocol Storage Target in Linux. http://linux-iscsi.org/wiki/Main_Page LIO needs some utils. At least, lio-utils will be necessary: http://www.linux-iscsi.org/wiki/Lio-utils It would be nice to have lio-utils ebuild in portage, especially we already have git-sources 2.6.38-r8 and official release of 2.6.38 kernel is close.
Apparently lio-utils has partly been replaced with rtsadmin. Here are some details on the dependencies (as far as what I needed to to install to get rtsadmin to run, there may be other packages that I already had installed): in portage already: epydoc simpleparse at linux-iscsi.org: configshell rtslib rtsadmin (itself) at git.kernel.org: lio-utils (might be enough for older kernels; rtsadmin still needs pieces of it) at pypi, not in portage (I fetched them with yolk): configobj netifaces ipaddr Hopefully this will save some work for whoever wants to start creating the necessary ebuilds.
Any update on an ebuild for lio-utils, or is it rtsadmin? Does anyone have information about where to download and what to install manually?
(In reply to comment #2) > Any update on an ebuild for lio-utils, or is it rtsadmin? > > Does anyone have information about where to download and what to install > manually? # layman -a alexxy ...add keywords... # emerge sys-block/rtsadmin-9999::alexxy I have tested it today. It runs on gentoo-sources-3.2.1-r2 as target. My initiator is sys-block/open-iscsi-2.0.871-3 on gentoo-sources-3.0.6.
I have the following error when emerging rtsadmin-9999: * Messages for package sys-block/rtsadmin-9999: * Package: sys-block/rtsadmin-9999 * Repository: gentoo * Maintainer: alexxy@gentoo.org python@gentoo.org,cluster@gentoo.org * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU * FEATURES: sandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/3.2.12-gentoo/build * Found sources for kernel version: * 3.2.12-gentoo * Checking for suitable kernel configuration options... * ERROR: sys-block/rtsadmin-9999 failed (prepare phase): * python_pkg_setup() not called * * Call stack: * ebuild.sh, line 85: Called src_prepare * environment, line 5917: Called distutils_src_prepare * environment, line 1491: Called _python_check_python_pkg_setup_execution * environment, line 694: Called die * The specific snippet of code: * die "python_pkg_setup() not called"; * * If you need support, post the output of 'emerge --info =sys-block/rtsadmin-9999', * the complete build log and the output of 'emerge -pqv =sys-block/rtsadmin-9999'. * The complete build log is located at '/var/log/portage/sys-block:rtsadmin-9999:20120607-105256.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-block/rtsadmin-9999/temp/environment'. * S: '/var/tmp/portage/sys-block/rtsadmin-9999/work/rtsadmin-9999' * * The following package has failed to build or install: * * (sys-block/rtsadmin-9999::gentoo, ebuild scheduled for merge), Log file: * '/var/log/portage/sys-block:rtsadmin-9999:20120607-105256.log' * The fix is the same as described in this bug: https://bugs.gentoo.org/show_bug.cgi?id=412767 Just add pkg_setup() { python_pkg_setup } to the ebuild and be done. But with EAPI=4 this should not be neccesary. Can anyone explain why it is still neccesary? Maybe a bug in the python.eclass?
I guess no news on Gentoo ISCSI front? Not many people interested? rtsadmin, lio-utils both still -9999 **
I'd like to voice request to get this into the Gentoo builds. It's part of large scale storage server environment where Gentoo does well. Thanks
Looks like lio-utils-9999.ebuild uses outdated repository git://linux-iscsi.org/lio-utils.git, the latest seems to be https://github.com/Datera/lio-utils.git
According to http://linux-iscsi.org/wiki/Lio-utils, this software is deprecated, so this bug could be closed.
As we have targetcli in the tree and this package has become obsolete, I'm going to close this bug report.