You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by Leander Bessa Beernaert <le...@gmail.com> on 2012/08/17 14:48:04 UTC
Errors with the OpenStack Driver
Hello all,
I've been tasked to look at Deltacloud, in particular the OpenStack driver.
I have a small OpenStack setup running with OpenStack Essex on Ubuntu
12.04. Each time i try to see an instance in detail i get the following
error: http://pastebin.com/E00aGxkX
Any Ideas?
--
Cumprimentos / Regards,
Leander
Re: Errors with the OpenStack Driver
Posted by "marios@redhat.com" <ma...@redhat.com>.
Hi Leander:
On 08/17/2012 09:22 PM, David Lutterkort wrote:
> On Fri, 2012-08-17 at 13:48 +0100, Leander Bessa Beernaert wrote:
>> I've been tasked to look at Deltacloud, in particular the OpenStack driver.
>> I have a small OpenStack setup running with OpenStack Essex on Ubuntu
>> 12.04. Each time i try to see an instance in detail i get the following
>> error: http://pastebin.com/E00aGxkX
>>
>> Any Ideas?
>
> It seems like you tried to look up a nonexistent instance; that should
> have resulted in a 404, but somehow the exception from the backend isn't
> correctly translated.
>
As David says it seems you tried to access a non-existant instance. I
just checked and the Deltacloud server does return a HTTP 404 status
code in this instance:
[marios@name server]$ curl --user "user:pass" -v
http://localhost:3001/api/instances/foo
* About to connect() to localhost port 3001 (#0)
* Trying ::1...
* Connection refused
* Trying 127.0.0.1...
* connected
* Connected to localhost (127.0.0.1) port 3001 (#0)
* Server auth using Basic with user
> GET /api/instances/foo HTTP/1.1
> Authorization: Basic
> User-Agent: curl/7.24.0 (i686-redhat-linux-gnu) libcurl/7.24.0
NSS/3.13.5.0 zlib/1.2.5 libidn/1.24 libssh2/1.4.1
> Host: localhost:3001
> Accept: */*
>
< HTTP/1.1 404 Not Found
< X-Frame-Options: sameorigin
< X-XSS-Protection: 1; mode=block
< Content-Type: text/html;charset=utf-8
< X-Cascade: pass
< Server: Apache-Deltacloud/1.0.0
< X-Deltacloud-Driver: openstack
< X-Deltacloud-Provider:
https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/
< Content-Length: 18
< Date: Mon, 20 Aug 2012 08:39:17 GMT
< Connection: keep-alive
<
* Connection #0 to host localhost left intact
<h1>Not Found</h1>* Closing connection #0
marios
> Marios might be able to shed more light on this (he'll be back on on
> Monday)
>
> David
>
>
>
>
Re: Errors with the OpenStack Driver
Posted by David Lutterkort <lu...@redhat.com>.
On Fri, 2012-08-17 at 13:48 +0100, Leander Bessa Beernaert wrote:
> I've been tasked to look at Deltacloud, in particular the OpenStack driver.
> I have a small OpenStack setup running with OpenStack Essex on Ubuntu
> 12.04. Each time i try to see an instance in detail i get the following
> error: http://pastebin.com/E00aGxkX
>
> Any Ideas?
It seems like you tried to look up a nonexistent instance; that should
have resulted in a 404, but somehow the exception from the backend isn't
correctly translated.
Marios might be able to shed more light on this (he'll be back on on
Monday)
David