Closed JGroselle closed 6 years ago
Hi again,
I have seen in nginx logs that your plugin try to reach https://dashboard.mydomain.io:5000/v3/tokens. And yes, /tokens do not exist. So 404.
Am I doing something wrong ?
Have you configured the plugin with the specific URL that works with CURL, the one that ends with "/v3/"? Since you are getting an HTTP 404, it does not seem to be a certificate issue between Jenkins what ever serves that 404 (OpenStack Horizon or nginx).
Hi @olivergondza,
Thank you for your answer. Yes the URL is the same. But I saw that the plugin add "tokens" to the URL. And /v3/tokens do not exist on our platform. so we raise a 404.
Plugin forwards user provided URLs to openstack4j library that, I presume, know what is the right thing to do. There is a chance your version is not supported (yet) or is broken, though.
And /v3/tokens do not exist on our platform. so we raise a 404.
I can not comment on the actual protocol used. I find it brittle tempering with the response codes not to risk to provide different codes and confuse clients.
Fixed. I did not use the Keystone V3 syntax... RTFM...
@JGroselle could you please elaborate more on what you've done? I'm facing the same issue now.
Hi @Tahvok, I do not remember very well. But the configured Endpoint URL is https://some.other.host:5000/v3. And now whenI click on "Test Connection" I have "Connection succeeded!" What do you have as Endpoint URL ?
By the way this error is raised when you are not authenticated to OpenStack. So the file reached is not present (404).
@JGroselle thanks for getting back to me. I found the issue, I was using credentials for openstack auth v2, and needed to create openstack auth v3 credentials when I changed the url to make it work. Thanks anyway for replying back!
Hi everyone,
I face an issue about connecting Jenkins to our OpenStack. OpenStack version = Ocata Keystone version = v3 Jenkins version = 2.60.3 Plugin version = 2.24
I configured endpoint URL properly, so each time I curl this URL from Jenkins server (jenkins user) it return 200:
Here is the return from curl -I
NOTE: The OS end point is behind an nginx proxy. NOTE: The certificate is signed by mycompany CA.
Here is the exception raised: Cannot connect to specified cloud, please check the identity and credentials: Not Found
Thank you for your help.