Skip to content

Instantly share code, notes, and snippets.

@gojun077
Last active January 16, 2016 03:33
Show Gist options
  • Save gojun077/d7698c24150875210ef3 to your computer and use it in GitHub Desktop.
Save gojun077/d7698c24150875210ef3 to your computer and use it in GitHub Desktop.
Sample output from miq log from adding cloud provider
[----] D, [2016-01-15T13:32:44.351732 #15671:10f1990] DEBUG -- : excon.request
{:uri=>"http://192.168.10.168:8080/v1/AUTH_1e6f3fe16a7b4cb7ad2feb797172a7a0/",
:query=>{"format"=>"json"},
:method=>"GET",
:headers=>
{"User-Agent"=>"fog/2.0.0.pre.0 fog-core/1.34.0",
"Content-Type"=>"application/json",
"Accept"=>"application/json",
"X-Auth-Token"=>"0acf5309c0b6420ca9b075dd698d03d8",
"Host"=>"192.168.10.168:8080"},
:body=>nil}
[----] E, [2016-01-15T13:32:45.497770 #15671:10f1990] ERROR -- : excon.error #<Excon::Errors::ServiceUnavailable: Expected([200, 204]) <=> Actual(503 Service Unavailable)
excon.error.response
:body => "<html><h1>Service Unavailable</h1><p>The server is currently unavailable. Please try again at a later time.</p></html>"
:headers => {
"Content-Length" => "118"
"Content-Type" => "text/html; charset=UTF-8"
"Date" => "Fri, 15 Jan 2016 04:33:24 GMT"
"X-Trans-Id" => "tx92b9bd6543df409c90cbf-0056987693"
}
:local_address => "10.0.0.13"
:local_port => 38383
:reason_phrase => "Internal Server Error"
:remote_ip => "192.168.10.168"
:status => 503
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment