Open gramallo opened 4 years ago
@gramallo are you running those curl
tests on the same host where ansible is running the ceph dashboard iscsi-gateway-add ...
command? I wonder if you are missing some IP address on /etc/ceph/iscsi-gateway.cfg -> trusted_ip_list
.
@gramallo
I responded to the same question on the ceph user lists. Please just reply here so ricardo can see the responses. He is the ceph iscsi dashboard expert and I'm not sure he's on the ceph list.
Hi @ricardoasmarques the issue is not present when API is configured as insecure trusted_ip_list
is set.
I can run the playbook again to reconfigure api secure = true and capture logs
What is the file i need to look at for details of error?
Hi all and thanks for reading this to help on my issue
I am running Ceph Nautilus with ceph-iscsi 3.4-1.el7 While running ansible installation i get error on dashboard role trying to add iscsi gateways and same error is returned running the add command from shell
My cluster is configured with wildcard certs for: dashboard, rados gateway, iscsi gateway Error "Error code: SSL_ERROR_BAD_CERT_DOMAIN" is seen when browsing with Firefox
SSL verify is disabled ceph dashboard set-rgw-api-ssl-verify False Option RGW_API_SSL_VERIFY updated
Command ceph --cluster ceph dashboard iscsi-gateway-add https://myadmin:admin.01@10.129.1.114:5050
Error EINVAL: iscsi REST API cannot be reached. Please check your configuration and that the API endpoint is accessible
Ansible error
Iscsi gateway cfg
Dir has certificates files in place
/etc/ceph/iscsi-gateway.cfg" 23L, 977C
Some tests