It's not the keystore who prompted the password again. The log shows: INFO [cloud.server.ConfigurationServerImpl] (Timer-2:) Going to update systemvm iso with generated keypairs if needed
It's newly generated ssh key. See: https://issues.apache.org/jira/browse/CLOUDSTACK-1389 --Sheng On Mon, Sep 16, 2013 at 5:41 PM, Vijayendra Bhamidipati < vijayendra.bhamidip...@citrix.com> wrote: > I'm setting up devcloud on mac os x and am running into this problem when > bringing up the mgmt server (following the instructions on > https://cwiki.apache.org/confluence/display/CLOUDSTACK/DevCloud, this is > in step 7.3) > > > INFO [utils.component.ComponentContext] (Timer-2:) Configuring > com.cloud.upgrade.DatabaseIntegrityChecker_EnhancerByCloudStack_372ea153 > INFO [utils.component.ComponentContext] (Timer-2:) Configuring > com.cloud.server.ConfigurationServerImpl_EnhancerByCloudStack_f2e47214 > INFO [cloud.server.ConfigurationServerImpl] (Timer-2:) Processing > updateSSLKeyStore > INFO [cloud.server.ConfigurationServerImpl] (Timer-2:) SSL keystore > located at > /Users/vijay/work/cloudstack-ws/asf/cloudstack-apache/client/target/cloud-client-ui-4.2.0/WEB-INF/classes/cloud.keystore > Password:WARN [utils.script.Script] (Script-1:) Interrupting script. > WARN [utils.script.Script] (Timer-2:) Timed out: sudo keytool -genkey > -keystore > /Users/vijay/work/cloudstack-ws/asf/cloudstack-apache/client/target/cloud-client-ui-4.2.0/WEB-INF/classes/cloud.keystore > -storepass vmops.com -keypass vmops.com -keyalg RSA -validity 3650 -dname > cn="Cloudstack User",ou="local.citrite.net",o="local.citrite.net",c="Unknown" > . Output is: > WARN [cloud.server.ConfigurationServerImpl] (Timer-2:) Would use > fail-safe keystore to continue. > java.io.IOException: Fail to generate certificate!: timeout > at > com.cloud.server.ConfigurationServerImpl.generateDefaultKeystore(ConfigurationServerImpl.java:496) > at > com.cloud.server.ConfigurationServerImpl.updateSSLKeystore(ConfigurationServerImpl.java:517) > at > com.cloud.server.ConfigurationServerImpl.persistDefaultValues(ConfigurationServerImpl.java:289) > at > com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) > at > com.cloud.server.ConfigurationServerImpl.configure(ConfigurationServerImpl.java:157) > at > com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111) > at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54) > at java.util.TimerThread.mainLoop(Timer.java:512) > at java.util.TimerThread.run(Timer.java:462) > INFO [cloud.server.ConfigurationServerImpl] (Timer-2:) Processing > updateKeyPairs > INFO [cloud.server.ConfigurationServerImpl] (Timer-2:) Keypairs already > in database, updating local copy > INFO [cloud.server.ConfigurationServerImpl] (Timer-2:) Going to update > systemvm iso with generated keypairs if needed > Password: > > > > I'm running 4.2 however – not master. Why am I being prompted for a > password again? The default keystore generation kicked in, so I cannot > understand this repeated prompt – can't seem to find whether/where sudo > keytool is being invoked again/retried – has anyone run into this issue > before? Would be helpful if anyone running devcloud currently on os x could > provide pointers. > > Thanks! > Regards, > Vijay >