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

Marios Andreou commented on DTACLOUD-131:
-----------------------------------------

got access to a rhel machine... 2.6.32-220.el6.x86_64

installed 
deltacloud-core-0.5.0-2.rc1.el6.noarch.rpm
deltacloud-core-all-0.5.0-2.rc1.el6.noarch.rpm
deltacloud-core-ec2-0.5.0-2.rc1.el6.noarch.rpm
deltacloud-core-rhevm-0.5.0-2.rc1.el6.noarch.rpm
deltacloud-core-vsphere-0.5.0-2.rc1.el6.noarch.rpm

but cannot reproduce the above (GET /api/firewalls ==> 200 OK) - I guess the 
best thing to do is to try reproduce on the actual qa machine

                
> 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: Marios Andreou
>
> 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>
> 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