deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koper, Dies" <di...@fast.au.fujitsu.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 13:46:36 GMT
Hi Michal,

I'm replying by e-mail as I can't seem to access JIRA a.t.m.

The issue is not with the run action itself, but the page that should be displayed when clicking
on 'run command', the page where the user can type the command name.
In my patch in haml I used "#{run_instance_url(@instance.id)};id=#{@instance.id}". I don't
remember how I got it and whether it's correct, but it worked at the time.

Regards,
Dies Koper


> -----Original Message-----
> From: Michal Fojtik [mailto:mfojtik@redhat.com]
> Sent: Thursday, 24 May 2012 5:53 PM
> To: dev@deltacloud.apache.org
> Subject: Re: [jira] [Reopened] (DTACLOUD-216) exception when using 'run
> command' in GUI on an instance with no public ip
> 
> 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