iSCSI initial start reported as error when it's OK
On first start with no targets configured, you get a start “ERROR” although no real issue exists.
localhost:/etc/iscsi# /etc/init.d/iscsid start
* Caching service dependencies … [ ok ]
* Checking open-iSCSI configuration … * Loading iSCSI modules … *
Loading libiscsi … [ ok ]
* Loading scsi_transport_iscsi … [ ok ]
* Loading iscsi_tcp … [ ok ]
* Starting iscsid … * Setting up iSCSI targets …iscsiadm: No records
found
[ !! ]
* ERROR: iscsid failed to start
It should report OK if no targets are configured, or actually, it should
not try to log in if there’s no targets.
So this might be an upstream issue.
(from redmine: issue id 1526, created on 2012-12-19, closed on 2013-08-06)
- Changesets:
- Revision 3fd9b5d2 on 2013-06-04T13:35:09Z:
main/open-iscsi: don't report error when no targets are configured. Fixes #1526
- Revision c444938a on 2013-06-04T14:59:04Z:
main/open-iscsi: don't report error when no targets are configured. Fixes #1526
(cherry picked from commit 3fd9b5d2c14b7134f73218248596790fa2c287b2)