Project

General

Profile

Actions

Bug #11023

closed

OpenStack wrong tenants url in fog 1.32.0

Added by Shlomi Zadok almost 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Compute resources - OpenStack
Target version:
Difficulty:
Triaged:
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 1 (0 open1 closed)

Related to Foreman - Refactor #10470: Update fog to 1.32.0ClosedDominic Cleal05/11/2015Actions
Actions #1

Updated by Shlomi Zadok almost 9 years ago

  • Assignee set to Shlomi Zadok
Actions #2

Updated by Dominic Cleal almost 9 years ago

Actions #3

Updated by Dominic Cleal almost 9 years ago

  • translation missing: en.field_release set to 35
Actions #4

Updated by The Foreman Bot almost 9 years ago

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

Updated by Dominic Cleal almost 9 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)
Actions #6

Updated by Daniel Lobato Garcia almost 9 years ago

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

Also available in: Atom PDF