Bug 1025026

Summary: RFE: Move config save/restore to rtslib
Product: Red Hat Enterprise Linux 7 Reporter: Andy Grover <agrover>
Component: targetcliAssignee: Andy Grover <agrover>
Status: CLOSED CURRENTRELEASE QA Contact: Bruno Goncalves <bgoncalv>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: bdonahue, bgoncalv, svenkatr
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 10:12:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andy Grover 2013-10-30 18:50:41 UTC
Currently, save and restore of kernel target configuration is done by targetcli.service, which is in the targetcli package. This is actually somewhat a kludge. There are other packages, like targetd, which rely on a service restoring target config on restart, but is otherwise not dependent on targetcli, but only python-rtslib.

Upstream rtslib (me wearing a different hat) has moved the config restore capability to rtslib, with the addition of a "targetctl" tool.

This is important to get into RHEL 7 now instead of an update because I'd also like to change the service file name from targetcli.service to target.service. Making this change later will cause users who have activated the targetcli.service who then upgrade to unexpectedly have the replacement target.service be disabled.

Comment 3 Bruno Goncalves 2013-11-28 10:29:57 UTC
Verified with targetcli-2.1.fb31-1.el7.

Service has been renamed to target.service. And targetcli is able to save and restore the configuration.

Comment 4 Ludek Smid 2014-06-13 10:12:27 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.