Bug #25476
closedCompute Resource Openstack API v2
Description
Even using URL 'v2.0' is added /v2.0/tokens/v3/auth/tokens
Expected([200, 201]) <=> Actual(404 Not Found) excon.error.response :body => "{\"error\": {\"message\": \"The resource could not be found.\", \"code\": 404, \"title\": \"Not Found\"}}" :cookies => [ ] :headers => { "Content-Length" => "93" "Content-Type" => "application/json" "Date" => "Fri, 16 Nov 2018 04:45:20 GMT" "Server" => "Apache/2.4.6 (Red Hat Enterprise Linux) mod_wsgi/3.4 Python/2.7.5" "Vary" => "X-Auth-Token" "x-openstack-request-id" => "req-016deea2-8050-48bc-ba44-4ebd422f84e8" } :host => "keystone.local.fake" :local_address => "172.16.0.18" :local_port => 44006 :path => "/v2.0/tokens/v3/auth/tokens" :port => 5000 :reason_phrase => "Not Found" :remote_ip => "192.168.111.40" :status => 404
:status_line => "HTTP/1.1 404 Not Found\r\n"
Files
Updated by Amit Karsale almost 6 years ago
does that really make sense to adapt the floating aspect of the API version?
Updated by adriano lopes almost 6 years ago
Amit Karsale wrote:
does that really make sense to adapt the floating aspect of the API version?
I have a public openstack using the URL as version 2.
However, when you register in 'foreman' you are forced to version 3
Updated by Tomer Brisker almost 6 years ago
- Category changed from API to Compute resources - OpenStack
- Fixed in Releases deleted (
1.20.1)
Updated by Vitaly Pyslar over 5 years ago
- File openstack.png openstack.png added
Openstack plugin does not work with fog-openstack >= 0.2.0, neither API v2 nor v3. It creates a wrong path: /v3/auth/tockens/v3/auth/tockens. Both API versions get working again if downgrade fog-openstack to 0.1.31.
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/6548 added
Updated by The Foreman Bot over 5 years ago
- Pull request https://github.com/theforeman/foreman/pull/6550 added
Updated by Tomer Brisker over 5 years ago
- Pull request deleted (
https://github.com/theforeman/foreman/pull/6548) - Fixed in Releases 1.20.3, 1.21.1, 1.22.0 added
Updated by Anonymous over 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 25e090721f69dd48cd159b6e12a6cbab48d2fb37.