Created attachment 603067 [details] logs Description of problem: UI gets the following CanDoAction when extend fails Error: Cannot extend Storage Domain. Storage device ${lun} is unreachable from ${hostName}. please fix CanDoAction Version-Release number of selected component (if applicable): si13.2 How reproducible: 100% Steps to Reproduce: 1. in a two host cluster make sure only the hsm host can see the lun and try to extend. 2. 3. Actual results: CanDoAction for failing extend is the following: Error: Cannot extend Storage Domain. Storage device ${lun} is unreachable from ${hostName}. Expected results: lun and hostname are not getting parameters. Additional info: logs
Post upstream at http://gerrit.ovirt.org/#/c/7742/
Merged upstream with Change-Id: I3aa40d4671dc99c2126c131fda36c25d8ed4826e
checked in si18 and but is not fixed. reproduced with following steps due to changes in UI (only SPM can be selected to extend a domain): 1. using the UI discover and log in to 2 targets from the spm 2. add only one as a domain 3. edit the domain and make sure you can see the second target as logged in 4. disconnect the target from the host using iscsiasm (only the target you want to extend with). 5. manually log in to the the second target from the hsm using iscsiadm result: only the hasm is logged in to the target (Dafna-02 is the target). spm: [root@localhost ~]# iscsiadm -m session tcp: [1] 10.35.64.10:3260,1 Dafna-si18-01 tcp: [2] 10.35.64.10:3260,1 Dafna-si18-02 tcp: [3] 10.35.64.10:3260,1 Dafna-si18-03 tcp: [4] 10.35.64.10:3260,1 Dafna-Direct tcp: [5] 10.35.64.10:3260,1 Dafna-01 hsm: [root@gold-vdsd ~]# iscsiadm -m session tcp: [1] 10.35.64.10:3260,1 Dafna-si18-01 tcp: [2] 10.35.64.10:3260,1 Dafna-si18-02 tcp: [3] 10.35.64.10:3260,1 Dafna-si18-03 tcp: [4] 10.35.64.10:3260,1 Dafna-01 tcp: [5] 10.35.64.10:3260,1 Dafna-02 we are still getting the following error: Error: Cannot extend Storage Domain. Storage device is unreachable from ${hostName}.
Hi, Dafna, could you give a more detailed instruction for this step: "manually log in to the the second target from the hsm using iscsiadm" What is hsm? Thx!
(In reply to comment #7) > Hi, > > Dafna, could you give a more detailed instruction for this step: > "manually log in to the the second target from the hsm using iscsiadm" > > What is hsm? Host Storage Manager. And I guess it means !SPM (although in real life a SPM is also a HSM, I'm sure in that case Dafna meant not the SPM). > > Thx!
http://gerrit.ovirt.org/8514
For this patch I only modified the code to have the same logic as with the "lun", if no host, then empty string should appear. In this way the log message is quite confusing for the user imo. Please comment if you would prefer custom errormessages for these cases! Thx!
http://gerrit.ovirt.org/8603
merged upstream c90cbc9d5f1171a1ebec3ef4ce07c1277b977468
Merged I30a87e57b0121bfb2a4da9b38c3032604b245bc9
verified on si24