[Bug 1891214] Re: targetcli/LIO needs tcm_vhost and xen-scsiback feature enabled OR option disabled

Rafael David Tinoco 1891214 at bugs.launchpad.net
Tue Sep 8 17:13:10 UTC 2020


With suggested fix:

[rafaeldtinoco at guestdevel ubuntu]$ sudo targetcli 
targetcli shell version 2.1.53
Copyright 2011-2013 by Datera, Inc and others.
For help on commands, type 'help'.

/> ls /
o- / .......................................................................................... [...]
  o- backstores ............................................................................... [...]
  | o- block ................................................................... [Storage Objects: 0]
  | o- fileio .................................................................. [Storage Objects: 0]
  | o- pscsi ................................................................... [Storage Objects: 0]
  | o- ramdisk ................................................................. [Storage Objects: 0]
  o- iscsi ............................................................................. [Targets: 0]
  o- loopback .......................................................................... [Targets: 0]
  o- vhost ............................................................................. [Targets: 0]
/> cd /xen-pvscsi
No such path /xen-pvscsi


** Changed in: qemu (Ubuntu)
       Status: Incomplete => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-rtslib-fb in Ubuntu.
https://bugs.launchpad.net/bugs/1891214

Title:
  targetcli/LIO needs tcm_vhost and xen-scsiback feature enabled OR
  option disabled

Status in linux package in Ubuntu:
  Fix Released
Status in python-rtslib-fb package in Ubuntu:
  Confirmed
Status in qemu package in Ubuntu:
  Fix Released

Bug description:
  targetcli-fb was recently included in MAIN and rely on some features
  that aren't available currently in Ubuntu:

  ## TCM VHOST

  /vhost> create
  b'modprobe: FATAL: Module tcm_vhost not found in directory /lib/modules/...

  not enabled in Ubuntu kernels.

  QEMU virtio-scsi feature:

  https://wiki.qemu.org/Features/VirtioSCSI/TCM_Overview

  KERNEL option to be enabled:

  https://cateee.net/lkddb/web-lkddb/TCM_VHOST.html

  KERNEL TCM documentation:

  https://www.kernel.org/doc/html/latest/target/tcmu-design.html

  LIO (LinuxIO) VHOST feature explained:

  http://linux-iscsi.org/wiki/VHost

  ## XEN PVSCSI

  Same happens for XEN:

  https://wiki.xenproject.org/wiki/Paravirtualized_SCSI

  PS: this would I would go for a targetcli fabric module disablement
  instead of enabling the feature.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891214/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list