Open NiTRoeSE opened 5 years ago
Finally it seems that its not a bug with xen, but maybe a improvement is possible to help people in future ?
I posted a Solution --> https://xcp-ng.org/forum/topic/891/iscsi-connect-after-reboot-fails-permanently-unsupported-scsi-opcode/3
Interesting - I experienced this also, I tried a bunch of things and ended up reinstalling xcp-ng and that fixed it, I suspected it was a problem on XCP-ng SR->devicemapper or devicemapper->iSCSI initator side.
@sammcj the solution is simpler:
The real problem was that in a storage-cluster environment everytime the node changes or pacemaker restarts the resources etc. the iSCSI SN from the lun are new generated and differs from that before, but XEN needs a persistent identifier. So the solution to fix this was to find a way to have identical SN for each LUN on each cluster node.
Hi, i have a problem and don't find a reason for it nor a solution, I need help. I try to make it short as possible.
Environment:
Problem:
I have 3 luns connected to xenservers, each lun over a separated target. All runs fine till the point I reboot one of the xenservers. After a reboot the rebooted XenServer are not able to connect again to all iSCSI-Targets accept to the target wich provides the 1 lun. If I detach and forget the iSCSI-SR and connect it again all runs fine again till I reboot a xenserver, but I loose all the data inside this SR, so that's not a solution.
What I have tried to find a solution:
error message Xen-Orchestra:
SR_BACKEND_FAILURE_47(, The SR is not available [opterr=Error reporting error, unknown key Device not appeared yet], )
error message storage-server
Xen-Center NG
Active Storage-Server iSCSI Configuration: (Targetcli)
Storage-Cluster - Pacemaker Configuration...
I don't know if its a bug on XenServer or something else. I hope someone can help, or give a hint for a solution or the problem. For me it seems like that xenserver fails to login to more than 1 target or lun, but I have no restricts on targets nor set any authentication.
Thanks in advanced!