Project

General

Profile

Actions

Bug #25476

closed

Compute Resource Openstack API v2

Added by adriano lopes about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Compute resources - OpenStack
Target version:
-
Difficulty:
trivial
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

openstack.png View openstack.png 24.1 KB Vitaly Pyslar, 03/07/2019 02:05 PM
Actions #1

Updated by Amit Karsale about 6 years ago

does that really make sense to adapt the floating aspect of the API version?

Actions #2

Updated by adriano lopes about 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

Actions #3

Updated by Tomer Brisker about 6 years ago

  • Category changed from API to Compute resources - OpenStack
  • Fixed in Releases deleted (1.20.1)
Actions #4

Updated by Vitaly Pyslar almost 6 years ago

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.

Actions #5

Updated by The Foreman Bot almost 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6548 added
Actions #6

Updated by The Foreman Bot almost 6 years ago

  • Pull request https://github.com/theforeman/foreman/pull/6550 added
Actions #7

Updated by Tomer Brisker almost 6 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
Actions #8

Updated by Anonymous almost 6 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF