emerge --info Portage 2.3.8 (python 3.4.5-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.23-r4, 4.12.12-gentoo x86_64) ================================================================= System uname: Linux-4.12.12-gentoo-x86_64-Intel-R-_Pentium-R-_CPU_P6100_@_2.00GHz-with-gentoo-2.3 KiB Mem: 3848168 total, 3194308 free KiB Swap: 3645432 total, 3645432 free Timestamp of repository gentoo: Sat, 23 Sep 2017 20:00:01 +0000 Head commit of repository gentoo: 57fccdc1e904da83fafd797e52191c1f007897bb sh bash 4.3_p48-r1 ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1 distcc 3.2rc1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.3_p48-r1::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.1-r2::gentoo dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo dev-util/cmake: 3.7.2::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.28::gentoo sys-apps/sandbox: 2.10-r3::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.15-r2::gentoo sys-devel/binutils: 2.28.1::gentoo sys-devel/gcc: 5.4.0-r3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.23-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 frabjous location: /var/lib/layman/frabjous masters: gentoo priority: 50 science location: /var/lib/layman/science masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="rsync://mirrors.rit.edu/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi alsa amd64 amr apache2 appindicator archive atsc bash-completion bcmath berkdb bluray bzip2 cdda cddb cdio cdr channels cli cracklib crypt curl custom-cflags cxx dbus dri dri3 dts dtv dvd dvdr encode exif faad fdk fec ffmpeg flac fontconfig fortran ftp fuse gconf gd gdbm gif git gksu glamor gnome-keyring gnome-online-accounts gnutls google gphoto2 grc gstreamer gtk gtk2 gui gzip hardened http2 iconv id3tag imagemagick ios ipv6 iqbalance jack javafx javascript jpeg kerberos lame libass libsamplerate libssh libtar lm_sensors lua lz4 lzma lzo mad matroska mime modplug modules mp3 mp4 mpeg mtp multilib mysql mysqli ncurses nls noaa nptl ogg opencl opengl openmp opus pager pam pam_krb5 pcre php png pulseaudio python qt4 rar raw readline rtlsdr rtmp rtsp rust samba sdl sdl2 seccomp session sftp shout skins sna sndfile sockets sound spice sqlite ssh ssl svg taglib tcpd theora threads tiff trellis treutype truetype twolame udev udf unicode unzip usb usbredir uxa v4l vaapi vnc vocoder vorbis wavelet wavpack webp widevine widgets wifi x264 x265 xattr xml xmlreader xmlwriter xvid xvmc zeromq zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias proxy proxy_http proxy_wstunnel http2" APACHE2_MPMS="event" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 ssse3" CURL_SSL="nss" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS application log targetcli shell version 2.1.fb45 Copyright 2011-2013 by Datera, Inc and others. For help on commands, type 'help'. /iscsi> cd /backstores/ /backstores> cd pscsi/dvd_backend/ /backstores/pscsi/dvd_backend> /iscsi create Created target iqn.2003-01.org.linux-iscsi.web.x8664:sn.a38dcebed1f5. Created TPG 1. Global pref auto_add_default_portal=true Created default portal listening on all IPs (0.0.0.0), port 3260. /backstores/pscsi/dvd_backend> ls o- dvd_backend ............................................................................ [/dev/sr0 deactivated] o- alua ....................................................................................... [ALUA Groups: 1] o- default_tg_pt_gp ........................................................... [ALUA state: Active/optimized] /backstores/pscsi/dvd_backend> cd /iscsi/iqn.20...cebed1f5/tpg1> luns/ create /backstores/pscsi/dvd_backend Created LUN 0. /iscsi/iqn.20...cebed1f5/tpg1> ls Traceback (most recent call last): File "/usr/lib/python-exec/python3.4/targetcli", line 121, in main() File "/usr/lib/python-exec/python3.4/targetcli", line 111, in main shell.run_interactive() File "/usr/lib64/python3.4/site-packages/configshell_fb/shell.py", line 904, in run_interactive self._cli_loop() File "/usr/lib64/python3.4/site-packages/configshell_fb/shell.py", line 733, in _cli_loop self.run_cmdline(cmdline) File "/usr/lib64/python3.4/site-packages/configshell_fb/shell.py", line 847, in run_cmdline self._execute_command(path, command, pparams, kparams) File "/usr/lib64/python3.4/site-packages/configshell_fb/shell.py", line 822, in _execute_command result = target.execute_command(command, pparams, kparams) File "/usr/lib64/python3.4/site-packages/configshell_fb/node.py", line 1406, in execute_command return method(*pparams, **kparams) File "/usr/lib64/python3.4/site-packages/configshell_fb/node.py", line 710, in ui_command_ls tree = self._render_tree(target, depth=depth) File "/usr/lib64/python3.4/site-packages/configshell_fb/node.py", line 861, in _render_tree + self._render_tree(children[i], margin, depth) File "/usr/lib64/python3.4/site-packages/configshell_fb/node.py", line 861, in _render_tree + self._render_tree(children[i], margin, depth) File "/usr/lib64/python3.4/site-packages/configshell_fb/node.py", line 765, in _render_tree (description, is_healthy) = root.summary() File "/usr/lib64/python3.4/site-packages/targetcli/ui_target.py", line 1261, in summary description += " (%s)" % lun.alua_tg_pt_gp_name File "/usr/lib64/python3.4/site-packages/rtslib_fb/target.py", line 589, in _get_alua_tg_pt_gp_name group_name = fread(path).splitlines()[0] IndexError: list index out of range