Proxmox 1.4 beta 1 iscsi authentication

valshare

Renowned Member
Jun 2, 2009
257
2
83
Germany
Hello,

have installed the new 1.4 Beta 1. My iscsi support chap autehntication. Where must i setup this? Must i setup this unter the console in the /etc/iscsi/node/..... config files?

i have added this to the config files...

Code:
node.session.auth.authmethod = CHAP
node.session.auth.username = xxxxxx
node.session.auth.password = xxxxxx
I get this errors...

Code:
session 2 login rejected: Initiator failed authentication with target
Web Interface shows me

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root and inform them of the time the error occurred, and anything you might have done that may have caused the error.

[3365]ERR: 24: Error in Perl code: command '/usr/bin/iscsiadm --mode session' failed with exit code 61


Apache Embperl 2.2.0 [Fri Sep 11 15:03:16 2009]

I have updated from 1.3 to 1.4 ....


ok...killed storage.cfg from the /etc/pve/ directory, now web interface runs withous errors.

Regards, Valle
 
Last edited:
Can't you configure your iSCSI server to allow specific hosts? Storing plain text passwords inside config files is IMO a bad idea.
 
Can't you configure your iSCSI server to allow specific hosts? Storing plain text passwords inside config files is IMO a bad idea.

mhhh ...i dont know what happend if i switch it off. We have the authentification activated for other devices too, esxi for example. First i must shut down the other devices.

What did the checkbox "storage --> lvm / directory --> shared" mean?

Regards, Valle
 
no, i only can switch it on or off ... both dont work ....

What did the checkbox "storage --> lvm / directory --> shared" mean?
 
no, i only can switch it on or off ... both dont work ....

What did the checkbox "storage --> lvm / directory --> shared" mean?

if your storage device is available on all nodes you can enable "shared" - then live migration is possible.

e.g. if you run LVM on top of a iSCSI lun it makes sense to enable "shared". or if you have LVM on top of DRBD.