You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Marios Andreou (JIRA)" <ji...@apache.org> on 2012/08/22 14:44:38 UTC

[jira] [Commented] (DTACLOUD-306) can't retrieve instance details with openstack driver

    [ https://issues.apache.org/jira/browse/DTACLOUD-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439461#comment-13439461 ] 

Marios Andreou commented on DTACLOUD-306:
-----------------------------------------

Hi - I just did a quick sanity check but wasn't able to reproduce:

1. what client are you using? (is it the html UI via the web browser?, or curl, or something else?)
2. can you see the instance you are trying to access in the list of instances?
3. can I please get a full trace... if you are running deltacloud manually this will be in the terminal, if you are using deltacloud as a service the logfile is in /var/log/deltacloud-core,

thanks, marios
                
> 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

        

Re: [jira] [Commented] (DTACLOUD-306) can't retrieve instance details with openstack driver

Posted by Leander Bessa Beernaert <le...@gmail.com>.
Hello,


1 - I'm using the UI via the browser.

2 - Yes, it lists all of the available OpenStack instances.

3 - Here's the full trace:
>> Thin web server (v1.4.1 codename Chromeo)
>> Debugging ON
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:3001, CTRL+C to stop
193.136.19.96 - - [22/Aug/2012 12:47:14] "GET /api/instances HTTP/1.1" 401
8478 0.3866
193.136.19.96 - - [22/Aug/2012 12:47:24] "GET /api/instances HTTP/1.1" 200
4113 0.9413
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'
193.136.19.96 - - [22/Aug/2012 12:47:27] "GET
/api/instances/18b1cf8a-873c-448c-b377-ea646a61a62d HTTP/1.1" 404 18 0.4565

On Wed, Aug 22, 2012 at 1:44 PM, Marios Andreou (JIRA) <ji...@apache.org>wrote:

>
>     [
> https://issues.apache.org/jira/browse/DTACLOUD-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439461#comment-13439461]
>
> Marios Andreou commented on DTACLOUD-306:
> -----------------------------------------
>
> Hi - I just did a quick sanity check but wasn't able to reproduce:
>
> 1. what client are you using? (is it the html UI via the web browser?, or
> curl, or something else?)
> 2. can you see the instance you are trying to access in the list of
> instances?
> 3. can I please get a full trace... if you are running deltacloud manually
> this will be in the terminal, if you are using deltacloud as a service the
> logfile is in /var/log/deltacloud-core,
>
> thanks, marios
>
> > 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
>
>
>


-- 
Cumprimentos / Regards,
Leander