Commit Graph

319 Commits

Author SHA1 Message Date
Chris Leech
fbd856304d boot session handling improvements
Fix iscsi-mark-root for changed iscsiadm output

Make sure iscsiuio is running for boot session recovery when using the
bnx2i transport by forcing iscsiuio.service start

Make NM dispatch triggered re-check for autostart sessions async

Accept exit code 21, no records, from iscsiadm as success in
iscsi.service

Resolves: #1069825

Signed-off-by: Chris Leech <cleech@redhat.com>
2014-03-18 20:51:15 -07:00
Chris Leech
4b292f8a07 host0 being treated as an invalid in the host stats command
revert change to return code when calling login_portal for sessions that
already exist, as it impacts users scripting around iscsiadm

Resolves: #1049710 #1015563
2014-02-25 21:31:25 -08:00
Chris Leech
eb7ab1cb09 Split out iscsiuio into sub-package
Resolves: #1017393

Signed-off-by: Chris Leech <cleech@redhat.com>
2014-02-17 22:48:06 -08:00
Chris Leech
46eb122df3 clean up dead node links from discovery when reusing tpgt
Resolves: #1066115

Signed-off-by: Chris Leech <cleech@redhat.com>
2014-02-17 22:48:06 -08:00
Chris Leech
85bed4b120 fix regression in glob use, inappropriate error code escape
Resolves: #1066116

Signed-off-by: Chris Leech <cleech@redhat.com>
2014-02-17 22:48:06 -08:00
Chris Leech
860e10c739 Fix broken discovery sessions over iser
Resolves: #1059332

Signed-off-by: Chris Leech <cleech@redhat.com>
2014-02-17 22:48:06 -08:00
Chris Leech
e509a4229c iscsiuio fix for arp cache flush issue
minor iscsiuio build updates

Resolves: #1043019

Signed-off-by: Chris Leech <cleech@redhat.com>
2014-02-17 22:48:06 -08:00
Chris Leech
9a597eb9bc update open-iscsi to support host statistics
Resolves: #1049710

Signed-off-by: Chris Leech <cleech@redhat.com>
2014-02-17 22:48:06 -08:00
Chris Leech
a288e4f537 additional parameters for network configuration
Resolves: #948134

Signed-off-by: Chris Leech <cleech@redhat.com>
2014-02-17 22:48:06 -08:00
Chris Leech
11189d126b renumber some patches in the spec file
make more room for upstream patches to backport in cleanly

Resolves: #948134
2014-02-17 22:47:33 -08:00
Chris Leech
374005d4a3 Add/Update entries in chap table through Open-iSCSI
Resolves: #1006156 #1006161

Signed-off-by: Chris Leech <cleech@redhat.com>
2014-02-17 14:17:06 -08:00
Chris Leech
2c4537b393 fixes for iscsiadm to support qla4xxx
Resolves: #1007388

refresh boot session info patches to final version from upstream,
fixes context issues with later patches

Signed-off-by: Chris Leech <cleech@redhat.com>
2014-02-17 14:00:46 -08:00
Daniel Mach
40630bc648 Mass rebuild 2014-01-24
Related: #1056145
2014-01-24 23:06:03 -05:00
Daniel Mach
fd16207a8f Mass rebuild 2013-12-27
Related: #1012790
2013-12-28 00:16:21 -05:00
Chris Leech
5d97fd1468 clean up dead node links from discovery when reusing tpgt 2013-12-10 13:12:36 -08:00
Chris Leech
695b8c9be0 fix regression in glob use, inappropriate error code escape 2013-12-06 12:22:20 -08:00
Chris Leech
e4192b1937 have systemd start socket units on iscsiadm use
Resolves: #1003086

fixes use case of running iscsiadm right after rpm install without
having to manually start systemd units
2013-11-25 22:35:51 -08:00
Chris Leech
a47be9a29b fix iscsiuio socket activation
Resolves: #1028446
2013-11-25 22:32:33 -08:00
Chris Leech
974636d303 move /sbin to /usr/sbin
use rpm macros in install rules
2013-09-15 10:13:03 -07:00
Chris Leech
31786f0fda fix iscsiuio hardened build and other compiler flags
The new iscsiuio code sets CFLAGS in configure.ac, wiping out the
environment setup by rpm.  Patch that out.

Run configure for iscsiuio and open-isns from rpm, otherwise the
toplevel makefile will configure them without any arguments.

Also fix local build when iscsi-initiator-utils is installed, but having
the check to prevent overwriting configuration files during install look
in DESTDIR.
2013-09-13 18:08:42 -07:00
Andy Grover
f9b971fb91 update to 6.2.0.873-13
Resolves: #999241

Signed-off-by: Andy Grover <agrover@redhat.com>
2013-08-23 10:19:22 -07:00
Chris Leech
dcd8879cb8 Merge remote-tracking branch 'fedora/master' into rhel-7.0 2013-08-20 14:09:00 -07:00
Chris Leech
241a29f991 fix regression in last build, database records can't be accessed 2013-08-20 14:04:36 -07:00
Chris Leech
116781af98 Merge remote-tracking branch 'fedora/master' into rhel-7.0
Conflicts:
	iscsi-initiator-utils.spec
2013-08-19 07:47:06 -07:00
Chris Leech
2a4a67d694 iscsi boot related fixes
make sure iscsid gets started if there are any boot sessions running
add reload target to fix double session problem when restarting from NM
don't rely on session list passed from initrd, never got fully implemented
remove patches related to running iscsid from initrd, possible to revisit later
2013-08-19 07:37:26 -07:00
Chris Leech
c2d5d21256 sync with upstream
minor context fixes after rebase of out-of-tree patches
iscsiuio is merged upstream, remove old source archive and patches
spec cleanups to fix rpmlint issues
2013-08-18 15:15:35 -07:00
Chris Leech
f88dce52a8 spec file cleanups 2013-08-13 09:11:08 -07:00
Peter Robinson
be68e033bf Fix FTBFS, cleanup spec 2013-08-04 11:04:49 +01:00
Dennis Gilmore
74e869522f - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 15:00:42 -05:00
Chris Leech
1efedd2bdd Reset content to fedora 19 branch 2013-06-17 10:58:51 -07:00
Chris Leech
a6ea15418c 894576 fix order of setuid/setgid and drop additional groups 2013-06-11 16:16:33 -07:00
Chris Leech
643ff5c20d 955167 build as a position independent executable 2013-06-11 10:53:04 -07:00
Chris Leech
3c58b16ee1 use tmpfiles service for creating lockfiles
resovles issues with selinux labling when lockfiles are created by
iscsiadm

Signed-off-by: Chris Leech <cleech@redhat.com>
2013-06-11 10:25:12 -07:00
Chris Leech
631ea075f0 Don't have iscsiadm scan for autostart record if node db is empty (bug #951951) 2013-05-28 13:22:37 -07:00
Orion Poplawski
3bd762b193 Fix typo in NM dispatcher script (bug #917058) 2013-04-30 17:03:30 -06:00
Chris Leech
7cde9befad remove merged/unused patches
remove el6 from version string reported from iscsiadm
2013-02-22 16:00:57 -08:00
Chris Leech
2f575ee31b Merge remote-tracking branch 'origin/rhel-6.4' into rhel-7.0
BZ #884424

Inherited package from f18 is out of date compared to 6.4, carry over
for alpha 3.  This will be replaced by newer f19 version developing in
rawhide for beta.
2013-02-22 15:59:53 -08:00
Chris Leech
3c948fa707 build with libkmod support, instead of calling out to modprobe
enable socket activation by default
2013-02-21 21:50:48 -08:00
Kalev Lember
31b81b6c4f Fix the postun script to not use ldconfig as the interpreter
Don't use %postun -p /sbin/ldconfig because we want /bin/sh as the
interpreter, not /sbin/ldconfig.

/sbin/ldconfig: relative path `1' used to build cache
warning: %postun(iscsi-initiator-utils-6.2.0.873-1.fc19.x86_64) scriptlet failed, exit status 1
Non-fatal POSTUN scriptlet failure in rpm package iscsi-initiator-utils-6.2.0.873-1.fc19.x86_64
2013-01-24 14:24:14 +01:00
Chris Leech
f19f92851d package iscsi_mark_root_nodes script, it's being referenced by the unit files 2013-01-23 17:05:36 -08:00
Chris Leech
259ee6b2c3 resolve #565245 : multilib issues caused by timestamp in doxygen footers 2013-01-22 15:18:41 -08:00
Chris Leech
6c1aaf9981 switch to using system unit files instead of initrd script
new nm dispatcher script that uses systemctl
use systemctl in iscsi.conf to start iscsid on demand
2013-01-22 15:16:38 -08:00
Chris Leech
6bbb925771 iscsid and iscsiuio changes to support integration with dracut and systemd 2013-01-22 14:32:00 -08:00
Chris Leech
0e55d5ba8c rebase to latest upstream (2.0.873+) and iscsiuio 2013-01-22 13:44:13 -08:00
Chris Leech
9c3f00f532 Resolves: #868305 2012-10-22 13:53:14 -07:00
Chris Leech
8baf9eb1ae Resolves: #854776 #811428 2012-10-11 17:08:00 -07:00
Chris Leech
602db46674 Resolves: #826300 2012-10-10 13:00:03 -07:00
Daniel Mach
eeb54f9aba Merge remote branch 'fedora/master' into rhel-7.0 2012-07-23 08:02:12 -04:00
Dennis Gilmore
9cb10ddbba - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 10:11:13 -05:00
Mike Christie
ac41650cec Resolves: #740054 2012-04-09 22:11:55 -05:00