[
https://issues.apache.org/jira/browse/DTACLOUD-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439724#comment-13439724
]
Leander Beernaert commented on DTACLOUD-306:
--------------------------------------------
This happens with all active instances. I can access all the remaining options,
except buckets ( i don't have a swift installation).
I tried this to reboot an instance since i can't do it from the web ui
curl -v --user "admin+admin:nova"
'http://127.0.0.1:3001/api/instances/976dd852-3ceb-461c-be04-97cee92f2efc/reboot'
* About to connect() to 127.0.0.1 port 3001 (#0)
* Trying 127.0.0.1... connected
* Server auth using Basic with user 'admin+admin'
> GET /api/instances/976dd852-3ceb-461c-be04-97cee92f2efc/reboot HTTP/1.1
> Authorization: Basic YWRtaW4rYWRtaW46bm92YQ==
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1
> zlib/1.2.3.4 libidn/1.23 librtmp/2.3
> Host: 127.0.0.1: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: http://192.168.111.220:35357/v2.0/
< Content-Length: 497
< Date: Wed, 22 Aug 2012 18:03:04 GMT
< Connection: keep-alive
<
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body { text-align:center;font-family:helvetica,arial;font-size:22px;
color:#888;margin:20px}
#c {margin:0 auto;width:500px;text-align:left}
</style>
</head>
<body>
<h2>Sinatra doesn’t know this ditty.</h2>
<img src='http://127.0.0.1:3001/api/__sinatra__/404.png'>
<div id="c">
Try this:
<pre>get '/api/instances/976dd852-3ceb-461c-be04-97cee92f2efc/reboot' do
"Hello World"
end</pre>
</div>
</body>
</html>
* Connection #0 to host 127.0.0.1 left intact
* Closing connection #0
> can't retrieve instance details with openstack driver
> -----------------------------------------------------
>
> Key: DTACLOUD-306
> URL: https://issues.apache.org/jira/browse/DTACLOUD-306
> Project: DeltaCloud
> Issue Type: Bug
> Reporter: Marios Andreou
> Assignee: Marios Andreou
>
> NOTE: AS REPORTED BY Leander Bessa Beernaert to [email protected]
> mailing list:
> 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:
> OpenStack::Exception::ItemNotFound:The resource could not be found.
> /var/lib/gems/1.9.1/gems/openstack-1.0.1/lib/openstack/connection.rb:436:in
> `raise_exception'
> /var/lib/gems/1.9.1/gems/openstack-1.0.1/lib/openstack/connection.rb:189:in
> `req'
> /var/lib/gems/1.9.1/gems/openstack-1.0.1/lib/openstack/compute/server.rb:52:in
> `populate'
> /var/lib/gems/1.9.1/gems/openstack-1.0.1/lib/openstack/compute/server.rb:37:in
> `initialize'
> /var/lib/gems/1.9.1/gems/openstack-1.0.1/lib/openstack/compute/connection.rb:28:in
> `new'
> /var/lib/gems/1.9.1/gems/openstack-1.0.1/lib/openstack/compute/connection.rb:28:in
> `get_server'
> /var/lib/gems/1.9.1/gems/deltacloud-core-1.0.1/lib/deltacloud/drivers/openstack/openstack_driver.rb:122:in
> `block in instances'
> /var/lib/gems/1.9.1/gems/deltacloud-core-1.0.1/lib/deltacloud/drivers/exceptions.rb:181:in
> `call'
> /var/lib/gems/1.9.1/gems/deltacloud-core-1.0.1/lib/deltacloud/drivers/exceptions.rb:181:in
> `safely'
> /var/lib/gems/1.9.1/gems/deltacloud-core-1.0.1/lib/deltacloud/drivers/openstack/openstack_driver.rb:120:in
> `instances'
> /var/lib/gems/1.9.1/gems/deltacloud-core-1.0.1/lib/deltacloud/drivers/base_driver.rb:217:in
> `instance'
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira