Versions Compared

Key

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

...

mvn -P developer -pl developer -Ddeploydb

See Troubleshooting section's Workaround

To run in a local Jetty server:

...

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

Workaround:
Skip key generation and cloudstack works fine.
This is done by setting developer=true in the configuration table, by running the following SQL statement in MySQL

Update configuration set value='false' where keyname='developer';

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

...