ansible/ansible — pull request #6802 by marker (2014-04-01 18:07:43+00:00)
Title: The open_iscsi module fails if no active sessions.

The open_iscsi module does a test for "logged on" status prior to logging in a configured target. The target_loggedon test will always fail if there is not at least one existing iSCSI connection active, because in the absence of any sessions, iscsiadm returns error 21 and the module fails. On newly-built machines, it is therefore impossible to connect to iSCSI targets because there aren't any sessions (a catch-22).