cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Animesh Chaturvedi <animesh.chaturv...@citrix.com>
Subject RE: Setting Up CloudStack Dev Environment on Windows
Date Tue, 22 Jan 2013 18:35:51 GMT
I added a troubleshooting section to Windows Dev Environment wiki page and added these notes

> -----Original Message-----
> From: Alex Huang [mailto:Alex.Huang@citrix.com]
> Sent: Tuesday, January 22, 2013 9:36 AM
> To: cloudstack-dev@incubator.apache.org
> Subject: RE: Setting Up CloudStack Dev Environment on Windows
> 
> Pattabi,
> 
> I know this problem and sorry I didn't respond earlier.
> 
> This is due to the problem that Dave Cahill brought up about my fix breaking
> kvm and Marcus helped revert.  The problem is that the windows
> environment just don't go through key generation and cloudstack works fine.
> So my fix for it was if developer=true in the configuration table, then don't
> do key generation but it breaks KVM.   The revert causes this to break for
> windows again.
> 
> To work around it for now, just run this in mysql.  This changes the developer
> mode to false which combined with a non 'cloud' username will skip the key
> generation.  As long as you're not using kvm, cloudstack will run fine.  If
> you're running windows and kvm, then you need to think of a better
> solution.
> 
> Update configuration set value='false' where key='developer';
> 
> --Alex
> 
> 
> 
> > -----Original Message-----
> > From: Chip Childers [mailto:chip.childers@sungard.com]
> > Sent: Tuesday, January 22, 2013 6:25 AM
> > To: cloudstack-dev@incubator.apache.org
> > Subject: Re: Setting Up CloudStack Dev Environment on Windows
> >
> > On Fri, Jan 18, 2013 at 1:12 AM, Pattabi Ayyasami
> > <pattabi@brocade.com>
> > wrote:
> > > Hi,
> > >
> > > I followed the instructions on setting up the Cloud Stack Dev
> > > Environment
> > on Windows.
> > > I was able to install all the needed tools/packages, build the
> > > source code
> > successfully.
> > >
> > > However, while trying to start the Management Server on the local
> > > Jetty
> > Server from cygwin window, I am getting the following error on
> > executing script.
> > >
> > > WARN  [utils.script.Script] (main:) Exception: /usr/local/bin/bash
> > > -c echo
> > ~scvmm
> > > java.io.IOException: Cannot run program "/usr/local/bin/bash":
> > CreateProcess error=2, The system cannot find the file specified
> > >         at java.lang.ProcessBuilder.start(Unknown Source)
> > >         at com.cloud.utils.script.Script.execute(Script.java:184)
> > >
> > > ....
> > > ....
> > > ERROR [cloud.servlet.CloudStartupServlet] (main:) Exception starting
> > management server
> > > com.cloud.utils.exception.CloudRuntimeException: Cannot get home
> > directory for account: scvmm
> > >
> > > Any help on how to fix/workaround this issue is greatly appreciated.
> > >
> > > Regards,
> > > Pattabi
> > >
> >
> > Can you check if your bash executable is in the /usr/local/bin/bash
> > location within cygwin?  If it isn't, can you create a sym-link from
> > that location to the correct location?
> >
> > -chip

Mime
View raw message