RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 891853 - 'targetcli ls /' without fcoe-target daemon will got miss-leading output "Could not create RTSRoot in configFS."
Summary: 'targetcli ls /' without fcoe-target daemon will got miss-leading output "Cou...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: fcoe-target-utils
Version: 6.4
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Andy Grover
QA Contact: Storage QE
URL:
Whiteboard:
Depends On: 951636 980618
Blocks: 961026
TreeView+ depends on / blocked
 
Reported: 2013-01-04 08:22 UTC by Gris Ge
Modified: 2013-11-21 22:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
# ^ Known Issue must be selected! Using targetcli to configure the FCoE Target will fail with the message "Could not create RTSRoot in configFS". Ensuring the fcoe-target service is running with "service fcoe-target start" will let targetcli work properly.
Clone Of:
Environment:
Last Closed: 2013-11-21 22:27:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1683 0 normal SHIPPED_LIVE fcoe-target-utils bug fix update 2013-11-20 21:52:32 UTC

Description Gris Ge 2013-01-04 08:22:08 UTC
Description of problem:
Execute 'targetcli ls /' right after 'yum install -y fcoe-target-utils' will get these miss-leading ouput:
====
[root@storageqe-13 ~]# targetcli ls /
Warning: Could not load preferences file /root/.targetcli/prefs.bin.
Could not create RTSRoot in configFS.
o- / .............................. [...]
  o- backstores ................... [...]
    o- pscsi ......... [0 Storage Object]
====

Version-Release number of selected component (if applicable):
fcoe-target-utils-2.0rc1.fb16-3.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. Execute 'targetcli ls /' right after fcoe-target-utils installed (no daemon, no kernel module).
2.
3.
  
Actual results:
Miss leading error message.

Expected results:
Inform user to start 'fcoe-target' daemon first.

Additional info:

In RHEL 6.3 GA (fcoe-target-utils-2.0rc1.fb10-5.el6.noarch), we got correct error message:
===
Warning: Could not load preferences file /root/.targetcli/prefs.bin.
Kernel modules not loaded yet, start the fcoe-target service.
===

Requesting blocker since regression.

Comment 5 RHEL Program Management 2013-07-02 17:50:48 UTC
This request was evaluated by Red Hat Product Management for
inclusion in a Red Hat Enterprise Linux release.  Product
Management has requested further review of this request by
Red Hat Engineering, for potential inclusion in a Red Hat
Enterprise Linux release for currently deployed products.
This request is not yet committed for inclusion in a release.

Comment 7 Bruno Goncalves 2013-08-14 11:45:48 UTC
Verified with fcoe-target-utils-2.0rc1.fb16-4.el6.noarch.

yum install fcoe-target-utils

rpm -q  fcoe-target-utils
fcoe-target-utils-2.0rc1.fb16-4.el6.noarch

--

targetcli ls /
Warning: Could not load preferences file /root/.targetcli/prefs.bin.
Could not create RTSRoot in configFS.
Kernel modules not loaded yet, start the fcoe-target service.

service fcoe-target start
Starting FCoE Target: 
   Loading modules... done
   Mounting configfs... done
   Applying saved config... done
[  OK  ]


targetcli ls /
o- / ......................................................................................................................... [...]
  o- backstores .............................................................................................................. [...]
  | o- block .................................................................................................... [0 Storage Object]
  | o- fileio ................................................................................................... [0 Storage Object]
  | o- pscsi .................................................................................................... [0 Storage Object]
  o- loopback .......................................................................................................... [0 Targets]

Comment 8 errata-xmlrpc 2013-11-21 22:27:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1683.html


Note You need to log in before you can comment on or make changes to this bug.