new targetcli release soon
by Andy Grover
Not surprisingly, the changes in targetcli.fb35 broke something -- the
'help' command. Thanks to Christophe for noticing and fixing this.
So there will be a fb36 in the next few days. Please keep testing! :)
Regards -- Andy
10 years, 1 month
Re: /etc/target/saveconfig.json Fedora 20
by Andy Grover
On 03/14/2014 03:37 PM, Nicholas A. Bellinger wrote:
> Hi Pascal,
>
> On Fri, 2014-03-14 at 20:41 +0100, pviltard(a)free.fr wrote:
>> Hello,
>>
>> I have an another issue.
>>
>> /> ls
>> o- / ..................................................................... [...]
>> o- backstores .......................................................... [...]
>> | o- block .............................................. [Storage Objects: 1]
>> | | o- backend_x2200 ................ [/dev/zd0 (1.0GiB) write-thru activated]
>> | o- fileio ............................................. [Storage Objects: 0]
>> | o- pscsi .............................................. [Storage Objects: 0]
>> | o- ramdisk ............................................ [Storage Objects: 0]
>> o- iscsi ........................................................ [Targets: 0]
>> o- loopback ..................................................... [Targets: 0]
>> o- qla2xxx ...................................................... [Targets: 1]
>> | o- naa.2100001b3215dd57 ......................................... [gen-acls]
>> | o- acls ........................................................ [ACLs: 0]
>> | o- luns ........................................................ [LUNs: 1]
>> | o- lun0 ............................... [block/backend_x2200 (/dev/zd0)]
>> o- vhost ........................................................ [Targets: 0]
>> /> exit
>> Global pref auto_save_on_exit=true
>> Last 10 configs saved in /etc/target/backup.
>> Configuration saved to /etc/target/saveconfig.json
>> [root@philippe ~]# reboot
>>
>> At the reboot, the file contents :
>> [root@philippe target]# more saveconfig.json
>> {
>> "fabric_modules": [],
>> "storage_objects": [],
>> "targets": []
>> }
>> [root@philippe target]# uname -a
>> Linux philippe.pvi.org 3.11.10-301.fc20.x86_64 #1 SMP Thu Dec 5 14:01:17 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
>> [root@philippe target]#
>>
>> I found :
>>
>> ------------------------------------------------->
>>
>> Bruno Goncalves 2013-04-26 11:28:10 EDT
>>
>> Correct, configuring the process to start on boot solves the problem.
>>
>> chkconfig targetcli on
>>
>> systemctl list-unit-files | grep targetcli
>> targetcli.service enabled
>>
>>
>> ------------------------------------------------->
>>
>> I try it. no configuration at reboot.
>>
>
> Looks like some -fb specific breakage. CC'ing Andy.
What does 'systemctl status target' say?
Make sure qlini_mode is disabled from the initrd. See
http://groveronline.com/2013/05/using-qla2xxx-with-lio-on-fedora/
If that still doesn't do it, please provide the relevant targetcli &
rtslib version numbers, and let's move over to the targetcli-fb mailing
list (CC'd).
Regards -- Andy
10 years, 1 month
New releases: targetcli.fb35, rtslib.fb47, and configshell.fb12
by Andy Grover
Hi all,
targetcli now returns an error code (1) if an error occurs while
executing a command from the commandline. It also auto-creates a portal
for new iscsi fabrics, and allows a path to a blockdev or file to be
given when creating a tpg LUN or ACL-mapped LUN.
API BREAK: configshell-fb now raises exceptions where it didn't before.
Please give it a try and report any issues. Thanks!
Github:
https://github.com/agrover/targetcli-fb
https://github.com/agrover/rtslib-fb
https://github.com/agrover/configshell-fb
tarballs:
https://fedorahosted.org/released/targetcli-fb/
targetcli-fb 2.1.fb35:
Andy Grover <agrover(a)redhat.com> (6):
Change targetcli for configshell exception change
Fix NodeACL spacing if tags are being used
Remove "set attribute authentication=0" from manpage quickstart
Auto-create a portal for new TPGs that support them
Allow creation of MappedLUN or LUN to also create storage object
update version to 2.1.fb35
rtslib-fb 2.1.fb47:
Andy Grover <agrover(a)redhat.com> (2):
Add StorageObjectFactory
update to 2.1.fb47
configshell-fb 1.1.fb12:
Andy Grover <agrover(a)redhat.com> (5):
Let exceptions through to callers of run_interactive
Make error-level log messages go to stderr
Remove unneeded sys import
Another dumb thing to fix.
update version to 1.1.fb12
Regards -- Andy
10 years, 1 month