- Community Home
- >
- Storage
- >
- Entry Storage Systems
- >
- MSA Storage
- >
- HPE MSA 1060 : Proxmox 7.1, iSCSI, chap and proble...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2022 08:04 AM - last edited on тАО11-25-2022 08:18 AM by support_s
тАО11-18-2022 08:04 AM - last edited on тАО11-25-2022 08:18 AM by support_s
HPE MSA 1060 : Proxmox 7.1, iSCSI, chap and problems
Hello everyone!
I encounter problem with setting iscsi and chap on my proxmox server.
I had a disk bay HPE MSA1060 where a set a record for chap authentication:
initiatorname : the iqn find on the proxmox server in /etc/iscsi/initiatorname.iscsi
password: test1234test
on the proxmox server, in /etc/iscsi/iscsi.conf i set :
# To enable CHAP authentication set node.session.auth.authmethod
# to CHAP. The default is None.
node.session.auth.authmethod = CHAP
# To configure which CHAP algorithms to enable set
# node.session.auth.chap_algs to a comma seperated list.
# The algorithms should be listen with most prefered first.
# Valid values are MD5, SHA1, SHA256, and SHA3-256.
# The default is MD5.
#node.session.auth.chap_algs = SHA3-256,SHA256,SHA1,MD5
# To set a CHAP username and password for initiator
# authentication by the target(s), uncomment the following lines:
node.session.auth.username = username
node.session.auth.password = test1234test
# To set a CHAP username and password for target(s)
# authentication by the initiator, uncomment the following lines:
#node.session.auth.username_in = username_in
#node.session.auth.password_in = password_in
# To enable CHAP authentication for a discovery session to the target
# set discovery.sendtargets.auth.authmethod to CHAP. The default is None.
discovery.sendtargets.auth.authmethod = CHAP
# To set a discovery session CHAP username and password for the initiator
# authentication by the target(s), uncomment the following lines:
discovery.sendtargets.auth.username = username
discovery.sendtargets.auth.password = test1234test
when i try a lsscsi, it dit not find my hpe msa.
when i try a iscsiadm -m node --portal "192.168.0.1" --login it returns:
Logging in to [iface: default, target: iqn.xxx.hpe:storage.msa1060.xxxxxxx, portal: 192.168.0.1,3260] iscsiadm: Could not login to [iface: default, target: iqn.xxxxx.hpe:storage.msa1060.xxxxxxxx, portal: 192.168.0.1,3260]. iscsiadm: initiator reported error (24 - iSCSI login failed due to authorization failure) iscsiadm: Could not log into all portals
(i change the ip for the post, and change the iqn)
so, i dont know how to make it works...
Someone can help me ?
When i try to unset chap on my hpe msa, and comment all the line in /etc/iscsi/iscsi.conf for the chap auth, lsscsi find the volumes from my hpe msa, and the iscsiadm command return no error.
So, there is something i missed for chap, but i dont know what...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2022 09:05 AM
тАО11-18-2022 09:05 AM
Query: HPE MSA 1060 : Proxmox 7.1, iSCSI, chap and problems
System recommended content:
1. HPE MSA 1060/2060/2062 Storage Management Guide
2. HPE MSA 1060 Storage Array - Overview
Please click on "Thumbs Up/Kudo" icon to give a "Kudo".
Thank you for being a HPE valuable community member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2022 01:50 AM
тАО11-21-2022 01:50 AM
Re: Query: HPE MSA 1060 : Proxmox 7.1, iSCSI, chap and problems
hi.
Sorry, i had no possibility de see this response this past week-end.
I have already this documentation, but, it did not help very much, because, it describe how to activate Chap for iscsi, but dont give any information for setting it on linux server... maybe someone has a solution or a hint/a clue to give me for my problem?
Thank you by advance.
Have a good day
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2022 07:39 AM
тАО11-24-2022 07:39 AM
Re: Query: HPE MSA 1060 : Proxmox 7.1, iSCSI, chap and problems
Sterua32,
Please verify the CHAP settings , username and Passphrase used both the MSA and also the host end.
The document does not specify settings for Proxmox VE.
The authentication can even fail due to incompatible CHAP definitions.
https://www.hpe.com/psnow/doc/a00105312en_us
Page : 31
Thanks,
Navaneetha
I'm an HPE employee.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2022 09:17 AM
тАО11-24-2022 09:17 AM
Re: Query: HPE MSA 1060 : Proxmox 7.1, iSCSI, chap and problems
For those who have the same problem, to get the logs, you have to go to the bay's web administration interface, then support, enter the information, do "collect logs", wait several minutes, and there it downloads a .zip file with lots of logs
Which I made a script to look for "chap failed" entries:
for i in $(find . -type f -print) do echo $i grep -i "chap failed" $i done
I could see that my different username attempts corresponded to [0]##########Chap failed - No DB Entry for username
On the other hand, I noticed that when I changed the username in the iscid.conf file, it did not change the username during the tests, because it always remained the same in the logs...
I searched, and found: you have to manually modify the files in nodes/iqn...../@ip_port_iscsi/default and in send_targets/@ip_portal/iqn.. .@ip_port/st_config
So, the username needed is in fact the iqn of the initiator (iqn given in /etc/iscsi/initiatorname.iscsi)
And there, an systemctl restart open-iscsi.service or an iscsiadm -m node --portal "@ip_portail" --login works!
You can check with an lsscsi to see the disks shared by the array (you have to install lsscsi before you can use it)
But, i dont find the way to make on a server, a linux lvm, and see it on the other server...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2022 08:11 AM
тАО11-25-2022 08:11 AM
Re: Query: HPE MSA 1060 : Proxmox 7.1, iSCSI, chap and problems
Sterua32,
Thank you for your updates.
Our suggestions were purely from the MSA storage perspective.
I understand , now you are able to see the MSA disks on your Proxmox server after changing the Mulitpath settings.
Regarding settings and configurations on Linux host , we suggest to check with Linux experts on the same.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2022 08:35 AM
тАО11-25-2022 08:35 AM
Re: Query: HPE MSA 1060 : Proxmox 7.1, iSCSI, chap and problems
Thanks.
Just a last question: now that i see my volumes on my servers, whats the preconisation of HPE for formating this volumes/luns ? mount it directly? making lvm on it? ext4? or hpe dont say anything for it ?
Is there a best-practise guide somewhere for this ?
Thanks by advance.
Have a nice day and a nice week-end
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2022 08:58 AM
тАО11-25-2022 08:58 AM
Re: Query: HPE MSA 1060 : Proxmox 7.1, iSCSI, chap and problems
Hello sterua32,
We do not have any specific recommendations / best practices for formatting the LUN.
General Best practices for MSA 1060
https://www.hpe.com/psnow/doc/a00105260enw
Have a Great Weekend !
Thanks,
Navaneetha
I'm an HPE employee.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]