configuration of Ceph-ISCSI gateway
Hi everyone, I'm configurating ISCSI gateway in Ceph Mimic (13.2.6) using ceph manual: https://docs.ceph.com/docs/mimic/rbd/iscsi-target-cli/ But i stopped in this problem: In manual says: "Set the client’s CHAP username to myiscsiusername and password to myiscsipassword:
/iscsi-target...at:rh7-client> auth chap=myiscsiusername/myiscsipassword"
But I receive this response: /iscsi-target...at:rh7-client> auth chap=myiscsitest/myiscsitestpasswd Unexpected keyword parameter 'chap'. The options disponibles are: /iscsi-target...at:rh7-client> auth ? To set authentication, specify username=<user> password=<password> [mutual_username]=<user> [mutual_password]=<password> But if configure as asks: auth username=myiscsitest password=myiscsitestpasswd Failed to update the client's auth: Invalid password I tried with high password complexibility, but the problem persists. My questions: - How is the correct mode for configure authentication? - How contribute for update of documentation? A bug report has opened* for broken information of instalation of ceph-iscsi-gw, but was closed without update of documentation:https://github.com/ceph/ceph-ansible/issues/2707 Regards Gesiel Bernardeds
On 09/24/2019 01:08 PM, Gesiel Galvão Bernardes wrote:
Hi everyone,
I'm configurating ISCSI gateway in Ceph Mimic (13.2.6) using ceph manual:
https://docs.ceph.com/docs/mimic/rbd/iscsi-target-cli/
But i stopped in this problem: In manual says: "Set the client’s CHAP username to myiscsiusername and password to myiscsipassword:
/iscsi-target...at:rh7-client> auth chap=myiscsiusername/myiscsipassword"
But I receive this response: /iscsi-target...at:rh7-client> auth chap=myiscsitest/myiscsitestpasswd Unexpected keyword parameter 'chap'.
Here is the docs for your ceph-iscsi release: https://docs.ceph.com/docs/master/rbd/iscsi-target-cli/ and so as you saw the format is different.
The options disponibles are:
/iscsi-target...at:rh7-client> auth ? To set authentication, specify username=<user> password=<password> [mutual_username]=<user> [mutual_password]=<password>
But if configure as asks: auth username=myiscsitest password=myiscsitestpasswd Failed to update the client's auth: Invalid password
The password is too long. We only support up to 16 chars and you hit 17 above. This info was hidden in the 'help auth' command, and so this was just modified to spit out a more informative error message. I am also in the middle of updating the docs so I will add this too.
participants (2)
-
Gesiel Galvão Bernardes
-
Mike Christie