[Pkg-iscsi-maintainers] Bug#748940: iscsitarget: "service iscsitaget stop" fails when under load
Ritesh Raj Sarraf
rrs at debian.org
Thu May 22 14:11:27 UTC 2014
Control: severity -1 normal
Control: tags -1 - upstream
On 05/22/2014 05:40 PM, Craig Barnes wrote:
> Under heavy load the iscsitarget services fails to stop on module removal.
Could you please explain what is "heavy load" here? Is it iSCSI traffic ?
>
> # service iscsitarget stop
> [ ok ] Removing iSCSI enterprise target devices: :.
> [ ok ] Stopping iSCSI enterprise target service: :.
> [....] Removing iSCSI enterprise target modules: :FATAL: Module iscsi_trgt is in use.
>
> Changing etc/init/init.debian to use `rmmod --wait` instead of `modprobe -r` corrects this issue.
We use 'modprobe -r' to ensure that dependencies also get unloaded. WIth
'rmmod --wait', wouldn't it hang the shutdown sequence ?
>
> This problem causes pacemaker to halt on failover to a secondary node when using the lsb resouce agent
> to control iscsitarget.
I'm not versed with pacemaker so can't comment much. But I don't see
this to be an iscsitarget problem. Perhaps you need to add intelligence
in pacemaker to detect a clean shutdown of the iscsitarget service.
--
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-iscsi-maintainers/attachments/20140522/20201a32/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-iscsi-maintainers/attachments/20140522/20201a32/attachment.sig>
More information about the Pkg-iscsi-maintainers
mailing list