On Tue, Jan 24, 2012 at 7:06 PM, Ronelle Landy (Created) (JIRA)
<[email protected]> wrote:
> Error when executing 'GET api/firewalls' Deltacloud API  - Ec2 provider; 
> deltacloud-core-0.5.0
> ----------------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-131
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-131
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: Latest deltacloud-core rpm 
> (http://xxx/deltacloud-core/0.5.0/2.rc1.el6/noarch/deltacloud-core-all-0.5.0-2.rc1.el6.noarch.rpm)
> RHEL 6.2
>
>            Reporter: Ronelle Landy
>            Assignee: David Lutterkort
>
>
> curl -X GET --user 'username:password' 
> "http:/server:3001/api/firewalls?format=xml"
>
> <error status='500' url='/api/firewalls?format=xml'>
>  <kind>backend_error</kind>
>  <backend driver='ec2'>
>    <code>500</code>
>  </backend>
>  <message><![CDATA[undefined method `each' for nil:NilClass]]></message>
> </error>
>

Ronelle, can you please paste as well, the deltacloud backtrace ?


> PS: Second issue: Looking at the ec2 management console, it looks like (when 
> the user could access firewalls), Deltacloud api returns the firewall name as 
> the id.
>
>  curl -X GET --user 'uname:password' 
> "http://server:3001/api/firewalls?format=xml";
> <?xml version='1.0' encoding='utf-8' ?>
> <firewalls>
>  <firewall href='http:/server:3001/api/firewalls/quicklaunch-1' 
> id='quicklaunch-1'>
>
> According to ec2 console,
>  - Group Name: quicklaunch-1
>  - Group ID: sg-ca17faa2
>
>
>
>
>
> --
> 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
>
>

Reply via email to