Project

General

Profile

Bug #25476

Compute Resource Openstack API v2

Added by adriano lopes 8 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Compute resources - OpenStack
Target version:
-
Difficulty:
trivial
Triaged:
Yes
Bugzilla link:
Team Backlog:
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"

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

Associated revisions

Revision 25e09072 (diff)
Added by Vitaly Pyslar 4 months ago

Fixes #25476 - downgrade fog-openstack to 0.2.0

History

#1 Updated by Amit Karsale 8 months ago

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

#2 Updated by adriano lopes 8 months 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

#3 Updated by Tomer Brisker 7 months ago

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

#4 Updated by Vitaly Pyslar 4 months 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.

#5 Updated by The Foreman Bot 4 months ago

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

#6 Updated by The Foreman Bot 4 months ago

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

#7 Updated by Tomer Brisker 4 months ago

  • Fixed in Releases 1.20.3, 1.21.1, 1.22.0 added
  • Pull request deleted (https://github.com/theforeman/foreman/pull/6548)

#8 Updated by Anonymous 4 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF