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

Also available in: Atom PDF