[SOLVED] ZFS OVER ISCSI : iSCSI: Failed to connect to LUN : Failed to log in to target. Status: Authorization failure(514)

LR35

Member
Apr 9, 2021
10
2
8
51
I have a cluster with 3 nodes, PVE 7
I configure a storage with ZFS and i mount this stockage in my cluster storagewith ZFS over ISCSI.I create a VM.This work.If i want to start her,or for example clone the VM or simply move the disk i have this error (in case of start VM):

kvm: -drive file=iscsi://x.x.x.x/iqn.2021-08.domaine.com/1,if=none,id=drive-scsi0,format=raw,cache=none,aio=io_uring,detect-zeroes=on: iSCSI: Failed to connect to LUN : Failed to log in to target. Status: Authorization failure(514)
TASK ERROR: start failed: QEMU exited with code 1

Somebody has a idea??

Thanks
 
one more precision, the problem seems to be linked to the configuration of the isci on the client???
-> qemu-img: Could not open 'file.driver=iscsi,file.transport=tcp,file.initiator-name=iqn.1993-08.org.debian:01:d79c98887ebf,file.portal=x,x,x,x,file.target=iqn.2021-08.domaine.com,file.lun=2,driver=raw': iSCSI: Failed to connect to LUN : Failed to log in to target. Status: Authorization failure(514)

iqn.1993-08.org.debian:01:d79c98887ebf is the initiator name in the /etc/iscsi/initiatorname.iscsi
 
miss ACLs on my lun configuration
Thanks for coming back to share your solution and marking the thread as SOLVED - this will certainly help other users, who run into similar issues!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!