Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DevCloud provides a self-contained CloudStack development environment, which runs in a VirtualBox VM. For details, refer to Setup CloudStack development environment in 8 steps

Troubleshooting

1) Problem: Server will not start and throw3s following exception

WARN utils.script.Script (main(smile) -) 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(smile) Exception starting
> management server
> > com.cloud.utils.exception.CloudRuntimeException: Cannot get home
> directory for account: scvmm

Workaround: The problem is that the windows environment just don't go through key generation and cloudstack works fine. The work aroiund is to set developer=true in the configuration table, by running the following SQL statement in MySQL
Update configuration set value='false' where key='developer';

This changes the developer mode to false which combined with a non 'cloud' username will skip the key generation.

Caveat: KVM stops working after this workaround. Any help from community on fixing KVM support as well is needed.