Project

General

Profile

Bug #11023

OpenStack wrong tenants url in fog 1.32.0

Added by Shlomi Zadok about 6 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Compute resources - OpenStack
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

On OpenStack#Virtuals Machines:

There was an error listing VMs: Expected([200, 204]) <=> Actual(300 Multiple Choices) excon.error.response :body => "{\"choices\": [{\"status\": \"CURRENT\", \"media-types\": [{\"base\": 
\"application/xml\", \"type\": \"application/vnd.openstack.compute+xml;version=2\"}, {\"base\": \"application/json\", \"type\": \"application/vnd.openstack.compute+json;version=2\"}], \"id\": 
\"v2.0\", \"links\": [{\"href\": \"http://<HisAddress>:8774/v2/v2.0/tenants\", \"rel\": \"self\"}]}]}" :headers => { "Content-Length" => "325" "Content-Type" => "application/json" "Date" => "Mon, 06 
Jul 2015 11:00:35 GMT" } :local_address => "<MyAddress>" :local_port => 34717 :reason_phrase => "Multiple Choices" :remote_ip => "<HisAddress>" :status => 300 :status_line => "HTTP/1.1 300 Multiple Choices\r\n" 

The problem seems to be with Fog 1.32.0, when downgrading to 1.31.0 it seems to work as expected.
The problem w/ fog is the URL it generates: http://&lt;HisAddress&gt;:8774/v2/v2.0/tenants should be http://&lt;HisAddress&gt;:8774/v2.0/tenants


Related issues

Related to Foreman - Refactor #10470: Update fog to 1.32.0Closed2015-05-11

Associated revisions

Revision f69f741a (diff)
Added by Daniel Lobato Garcia about 6 years ago

Fixes #11023 - Pass identity_endpoint to Openstack Fog 1.32.0

Revision 0dc522c4 (diff)
Added by Daniel Lobato Garcia about 6 years ago

Fixes #11023 - Pass identity_endpoint to Openstack Fog 1.32.0

(cherry picked from commit f69f741a91f4e01f8ef1efbc74970a288b6557c6)

History

#1 Updated by Shlomi Zadok about 6 years ago

  • Assignee set to Shlomi Zadok

#2 Updated by Dominic Cleal about 6 years ago

#3 Updated by Dominic Cleal about 6 years ago

  • Legacy Backlogs Release (now unused) set to 35

#4 Updated by The Foreman Bot about 6 years ago

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

#5 Updated by Dominic Cleal about 6 years ago

  • Category set to Compute resources - OpenStack
  • Assignee changed from Shlomi Zadok to Daniel Lobato Garcia
  • Pull request https://github.com/theforeman/foreman/pull/2529 added
  • Pull request deleted (https://github.com/theforeman/foreman/pull/2521)

#6 Updated by Daniel Lobato Garcia about 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF