deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Fojtik <mfoj...@redhat.com>
Subject Re: [jira] [Reopened] (DTACLOUD-216) exception when using 'run command' in GUI on an instance with no public ip
Date Thu, 24 May 2012 07:52:34 GMT
On 05/24/12, Dies Koper (JIRA) wrote:
> 
>      [ https://issues.apache.org/jira/browse/DTACLOUD-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
> 
> Dies Koper reopened DTACLOUD-216:
> ---------------------------------
> 
> 
> The patch I submitted worked perfectly fine at the time. Now that you've merged it in,
I get an error when I click on the run command button:
> 
> http://localhost:3001/api/run_instances/inst1;id=inst1
> Sinatra doesn’t know this ditty.
> 
> Fails both on mock driver and fgcp driver.
> 
> Maybe something in the modular patches changed the url and broke it?

The URL should be:

POST /api/instances/:instance_id/run

You should sent 'cmd' in POST parameters.

  -- Michal

>                 
> > exception when using 'run command' in GUI on an instance with no public ip
> > --------------------------------------------------------------------------
> >
> >                 Key: DTACLOUD-216
> >                 URL: https://issues.apache.org/jira/browse/DTACLOUD-216
> >             Project: DeltaCloud
> >          Issue Type: Bug
> >          Components: Server
> >            Reporter: Dies Koper
> >            Assignee: Michal Fojtik
> >            Priority: Minor
> >         Attachments: 0005-allow-user-to-chose-target-ip-for-run_on_instance.patch
> >
> >
> > Looking at the code, this applies to all drivers that support the run_on_instance
operation.
> > The error is: undefined method `address' for nil:NilClass
> > I'd like to suggest we add a selection box to the GUI to display all public and
private (DC could be running on a VM in the same network after all) IP addresses of the VM
so the user can chose. That should also prevent this error.
> 
> --
> 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
> 
> 

-- 
Michal Fojtik
Sr. Software Engineer, Deltacloud API (http://deltacloud.org)

Mime
View raw message