[Users] Unable to activate iSCSI domain after crash of host

Dafna Ron dron at redhat.com
Fri Feb 7 09:19:31 UTC 2014


can you try to restart ovirt-engine as well?
Also, can you run vdsClient -s 0 getDeviceList on the host?


On 02/07/2014 09:01 AM, Gianluca Cecchi wrote:
> On Fri, Feb 7, 2014 at 9:53 AM, Dafna Ron  wrote:
>> the host can't see the domain
>> If you fixed everything and the host can now see the domain this mail be a
>> cache issue - can you please reboot the host?
>>
>> Dafna
>
> Already tried many times without results.
>
> One note: there was an initial problem wen I configured the storage.
> At first attempt I made an input of wrong password.
> I fear the new one was not retained forsome reason
>
> This my debug on host:
>
> [root at ovnode03 ~]# iscsiadm -m discovery -t st -p 192.168.230.101 --discover
> 192.168.230.101:3260,1 iqn.2013-09.local.localdomain:c6iscsit.target11
>
>
> [root at ovnode03 ~]# iscsiadm -m node
> iqn.2013-09.local.localdomain:c6iscsit.target11 -l
> Logging in to [iface: default, target:
> iqn.2013-09.local.localdomain:c6iscsit.target11, portal:
> 192.168.230.101,3260] (multiple)
> iscsiadm: Could not login to [iface: default, target:
> iqn.2013-09.local.localdomain:c6iscsit.target11, portal:
> 192.168.230.101,3260].
> iscsiadm: initiator reported error (24 - iSCSI login failed due to
> authorization failure)
> iscsiadm: Could not log into all portals
>
> If I go in
> /var/lib/iscsi/send_targets/192.168.230.101,3260
>
> st_config contains:
> # BEGIN RECORD 6.2.0.873-17
> discovery.startup = manual
> discovery.type = sendtargets
> discovery.sendtargets.address = 192.168.230.101
> discovery.sendtargets.port = 3260
> discovery.sendtargets.auth.authmethod = None
> discovery.sendtargets.timeo.login_timeout = 15
> discovery.sendtargets.use_discoveryd = No
> discovery.sendtargets.discoveryd_poll_inval = 30
> discovery.sendtargets.reopen_max = 5
> discovery.sendtargets.timeo.auth_timeout = 45
> discovery.sendtargets.timeo.active_timeout = 30
> discovery.sendtargets.iscsi.MaxRecvDataSegmentLength = 32768
> # END RECORD
>
> where is recorded che chap configured password on host?
>
> Also, are iscsi and iscsid services to be configured at startup, or is
> it vdsm that should take care of starting one or all of them?
> In my case I have this kind of config  on host:
>
> iscsi enabled but in failed state
> iscsid active but disabled
> ?
>
> [root at ovnode03 192.168.230.101,3260]# systemctl status iscsi
> iscsi.service - Login and scanning of iSCSI devices
>     Loaded: loaded (/usr/lib/systemd/system/iscsi.service; enabled)
>     Active: failed (Result: exit-code) since Fri 2014-02-07 08:41:17
> CET; 1h 18min ago
>       Docs: man:iscsid(8)
>             man:iscsiadm(8)
>    Process: 911 ExecStart=/sbin/iscsiadm -m node --loginall=automatic
> (code=exited, status=21)
>    Process: 908 ExecStart=/usr/libexec/iscsi-mark-root-nodes
> (code=exited, status=0/SUCCESS)
>
> Feb 07 08:41:17 ovnode03.localdomain.local systemd[1]: Starting Login
> and scanning of iSCSI devices...
> Feb 07 08:41:17 ovnode03.localdomain.local systemd[1]: iscsi.service:
> main process exited, code=exited, status=21/n/a
> Feb 07 08:41:17 ovnode03.localdomain.local systemd[1]: Failed to start
> Login and scanning of iSCSI devices.
> Feb 07 08:41:17 ovnode03.localdomain.local systemd[1]: Unit
> iscsi.service entered failed state.
>
>
> [root at ovnode03 192.168.230.101,3260]# systemctl status iscsid
> iscsid.service - Open-iSCSI
>     Loaded: loaded (/usr/lib/systemd/system/iscsid.service; disabled)
>     Active: active (running) since Fri 2014-02-07 08:41:17 CET; 1h 19min ago
>       Docs: man:iscsid(8)
>             man:iscsiadm(8)
>    Process: 875 ExecStart=/usr/sbin/iscsid (code=exited, status=0/SUCCESS)
>   Main PID: 895 (iscsid)
>     CGroup: name=systemd:/system/iscsid.service
>             ââ894 /usr/sbin/iscsid
>             ââ895 /usr/sbin/iscsid
>
> Feb 07 08:41:17 ovnode03.localdomain.local systemd[1]: Starting Open-iSCSI...
> Feb 07 08:41:17 ovnode03.localdomain.local iscsid[875]: iSCSI logger
> with pid=894 started!
> Feb 07 08:41:17 ovnode03.localdomain.local systemd[1]: Failed to read
> PID from file /var/run/iscsid.pid: Invalid argument
> Feb 07 08:41:17 ovnode03.localdomain.local systemd[1]: Started Open-iSCSI.
> Feb 07 08:41:18 ovnode03.localdomain.local iscsid[894]: iSCSI daemon
> with pid=895 started!
> Feb 07 09:55:06 ovnode03.localdomain.local iscsid[894]: Login failed
> to authenticate with target
> iqn.2013-09.local.localdomain:c6iscsi...rget11
> Feb 07 09:55:06 ovnode03.localdomain.local iscsid[894]: session 1
> login rejected: Initiator failed authentication with target
> Feb 07 09:55:06 ovnode03.localdomain.local iscsid[894]: Connection1:0
> to [target: iqn.2013-09.local.localdomain:c6iscsit.target11,
> por...tdown.


-- 
Dafna Ron



More information about the Users mailing list