Commit Graph

110 Commits

Author SHA1 Message Date
Chris Leech
27894807b7 Resolves: #985321
split out session logout on shutdown to a separate service
roll up libiscsi patches, update python bindings to support python3
2015-01-28 12:00:53 -08:00
Chris Leech
c30d436535 sync with upstream v2.0.873-84-gc9d830b
ignore iscsiadm return in iscsi.service
make sure systemd order against remote mounts is correct
add discovery as a valid mode in iscsiadm.8
make sure to pass --with-security=no to isns configure
2014-10-23 17:03:51 -07:00
Chris Leech
df66fcb397 make sure to pass --with-security=no to isns configure
Resolves: #1088020
2014-10-21 10:53:10 -07:00
Chris Leech
b34de1dc9c Resolves: #963039 #1111925 #1126524
ignore iscsiadm return in iscsi.service
make sure systemd orders remote unmounts vs iscsi logout
add discovery as a valid mode in iscsiadm.8
2014-09-24 20:29:25 -07:00
Chris Leech
3f3ec3512e Resolves: #1081798
retry login if a driver is still initializing, ISCSI_ERR_HOST_NOT_FOUND
sync with upstream for other minor fixes
2014-09-24 20:28:51 -07:00
Peter Robinson
8bdd6448ce - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 21:57:01 +00:00
Dennis Gilmore
460963b016 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 17:49:11 -05:00
Chris Leech
f8da4ee7c1 Merge remote-tracking branch 'rhel/rhel-7.0'
Conflicts:
	0146-idbw_rec_write-pick-tpgt-from-existing-record.patch
	0199-use-Red-Hat-version-string-to-match-RPM-package-vers.patch
	iscsi-initiator-utils.spec
2014-04-14 09:54:08 -07:00
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
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
241a29f991 fix regression in last build, database records can't be accessed 2013-08-20 14:04:36 -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
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
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
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
Dennis Gilmore
9cb10ddbba - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 10:11:13 -05:00
Mike Christie
1d09df920d Fix system boot slow down caused by iscsi script
Revert
commit 8de5a99bad
Author: Mike Christie <michaelc@cs.wisc.edu>
        Fix iscsi NM use

If the network is not up and not coming up then this will
cause multi-minute long boot delays.
2012-02-14 01:43:34 -06:00
Mike Christie
658ff4f3ff fix iscsi/iscsid service start
The delayed iscsi/iscsid service start is causing too many problems.
This reverts the behavior to where when start is requested we always
start.

In the future maybe we can make the iscsid service just be used for
root on iscsi. Then for other iscsi uses we would just have the iscsi
service with iscsiadm starting iscsid and loading modules as needed.
We can begin coverting dependent services and anaconda in the next
version of fedora.
2012-02-06 21:33:18 -06:00
Mike Christie
c6e1f6bc98 Update version and spec 2012-02-04 03:05:11 -06:00
Dennis Gilmore
1c4f613249 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 00:02:07 -06:00
Mike Christie
8c735fcb1f fix version string
Fix version string to reflect fedora and not rhel.
2011-11-30 13:53:14 -06:00