[ https://issues.apache.org/jira/browse/DTACLOUD-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13440236#comment-13440236 ]
Leander Beernaert commented on DTACLOUD-306: -------------------------------------------- Here is the command output: curl -v --user "admin+admin:nova" -X POST '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' > POST /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: 18 < Date: Thu, 23 Aug 2012 12:22:52 GMT < Connection: keep-alive < * Connection #0 to host 127.0.0.1 left intact * Closing connection #0 <h1>Not Found</h1> I've check the logs and i repeatedly come by these lines in the nova-api log when i try to access the details of the instance or any other action regarding it (e.g.:reboot). 2012-08-23 12:24:42 DEBUG nova.compute.api [req-d57dd3d6-69e9-42b5-a1cb-b5bbfebf90dc abf9afdafbd943db8369239feb4df02f a3e5fee434754c39adbf33863e6d1360] Searching by: {'uuid': [u'976dd852-3ceb-461c-be04-97cee92f2efc', u'18b1cf8a-873c-448c-b377-ea646a61a62d', u'ecadf392-9278-41fb-a6d2-5b2e4e2ebe52', u'2a308316-ee76-4df7-b050-c7de0d18b569', u'e7a2695a-9ac2-4cf4-a720-2dc2e2f7adfb']} from (pid=15899) get_all /usr/lib/python2.7/dist-packages/nova/compute/api.py:1064 2012-08-23 12:24:42 DEBUG nova.compute.api [req-d57dd3d6-69e9-42b5-a1cb-b5bbfebf90dc abf9afdafbd943db8369239feb4df02f a3e5fee434754c39adbf33863e6d1360] Searching by: {'uuid': [u'976dd852-3ceb-461c-be04-97cee92f2efc', u'18b1cf8a-873c-448c-b377-ea646a61a62d', u'ecadf392-9278-41fb-a6d2-5b2e4e2ebe52', u'2a308316-ee76-4df7-b050-c7de0d18b569', u'e7a2695a-9ac2-4cf4-a720-2dc2e2f7adfb']} from (pid=15899) get_all /usr/lib/python2.7/dist-packages/nova/compute/api.py:1064 2012-08-23 12:24:42 INFO nova.api.openstack.wsgi [req-d57dd3d6-69e9-42b5-a1cb-b5bbfebf90dc abf9afdafbd943db8369239feb4df02f a3e5fee434754c39adbf33863e6d1360] http://192.168.111.220:8774/v2/a3e5fee434754c39adbf33863e6d1360/servers/detail returned with HTTP 200 2012-08-23 12:24:57 INFO nova.api.openstack.wsgi [req-79ed5e6d-d572-47f2-a142-b95a2fed840d abf9afdafbd943db8369239feb4df02f a3e5fee434754c39adbf33863e6d1360] GET http://192.168.111.220:8774/v2/a3e5fee434754c39adbf33863e6d1360/servers/976 2012-08-23 12:24:57 DEBUG nova.api.openstack.wsgi [req-79ed5e6d-d572-47f2-a142-b95a2fed840d abf9afdafbd943db8369239feb4df02f a3e5fee434754c39adbf33863e6d1360] Empty body provided in request from (pid=15899) get_body /usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:705 2012-08-23 12:24:57 INFO nova.api.openstack.wsgi [req-79ed5e6d-d572-47f2-a142-b95a2fed840d abf9afdafbd943db8369239feb4df02f a3e5fee434754c39adbf33863e6d1360] HTTP exception thrown: The resource could not be found. 2012-08-23 12:24:57 INFO nova.api.openstack.wsgi [req-79ed5e6d-d572-47f2-a142-b95a2fed840d abf9afdafbd943db8369239feb4df02f a3e5fee434754c39adbf33863e6d1360] http://192.168.111.220:8774/v2/a3e5fee434754c39adbf33863e6d1360/servers/976 returned with HTTP 404 > 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 dev@deltacloud.apache.org > 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