I have no idea why this worked, but I kept on typing my password (like four
or five times to make sure I typed it right) and it eventually worked.  So
weird.


On Fri, Mar 15, 2013 at 7:12 AM, Sebastien Goasguen <run...@gmail.com>wrote:

>
> On Mar 15, 2013, at 8:23 AM, Sebastien Goasguen <run...@gmail.com> wrote:
>
> >
> > On Mar 15, 2013, at 8:15 AM, Pranav Saxena <pranav.sax...@citrix.com>
> wrote:
> >
> >> This thread explains the reason behind this issue  -
> >>
> http://mail-archives.apache.org/mod_mbox/incubator-cloudstack-dev/201302.mbox/%3CCA+2rt40+hwLPB6rv7d9ASJt-cJd3VHXBsWy=c9jonyizdf_...@mail.gmail.com%3E
> >>
> >> " It would happen if it's not product version, when mgmt server try to
> generate ssl keystore for ssl communcation, but it would need supervisor
> privilege to do so.  If it failed, it would use pre-generated fail-safe
> keystore for continuing "
> >>
> >> But this should not block you perhaps from deploying your set up .
> >
> > I know we talked about it before, but I am not running as root.
> > And the setup takes a long time to go through the "timeout" ~20/30
> minutes…
>
> Also, I setup the db like so:
> mvn -P developer -pl developer,tools/devcloud -Ddeploydb
>
> And run with:
> mvn -pl :cloud-client-ui jetty:run
>
> Then I get this strange warning:
> INFO  [cloud.server.ManagementServerImpl] (Timer-2:) Startup CloudStack
> management server...
> WARN  [agent.manager.AgentManagerImpl] (AgentConnectTaskPool-1:) Unable to
> create attache for agent: Seq 0-12:  { Cmd , MgmtId: -1, via: 0, Ver: v1,
> Flags: 101,
> [{"StartupSecondaryStorageCommand":{"type":"SecondaryStorage","dataCenter":"1","pod":"1","guid":"s-1-VM-NfsSecondaryStorageResource","name":"s-1-VM","id":0,"version":"4.0.0.2013-02-27T00:53:22Z","iqn":"NoIqn","publicIpAddress":"192.168.56.100","publicNetmask":"255.255.255.0","publicMacAddress":"06:38:36:00:00:16","privateIpAddress":"192.168.56.217","privateMacAddress":"06:f6:ca:00:00:12","privateNetmask":"255.255.255.0","storageIpAddress":"192.168.56.217","storageNetmask":"255.255.255.0","storageMacAddress":"06:f6:ca:00:00:12","resourceName":"NfsSecondaryStorageResource","wait":0}}]
> }
> WARN  [agent.manager.AgentManagerImpl] (AgentManager-Handler-4:) Throwing
> away a request because it came through as the first command on a connect:
> Seq 0-13:  { Cmd , MgmtId: -1, via: 0, Ver: v1, Flags: 11,
> [{"PingStorageCommand":{"changes":{},"hostType":"Storage","hostId":0,"wait":0}}]
> }
> INFO  [agent.manager.ClusteredAgentManagerImpl] (AgentManager-Handler-3:)
> Unable to find peer: -1
> WARN  [cloud.cluster.ClusterManagerImpl] (Cluster-Notification-1:)
> Notifying management server join event took 54 ms
>
> I expected the db to be clean ?
>
> Finally, trying to configure it for devcloud I check out the wiki and I
> see this:
> $ mvn -P developer -pl tools/devcloud -Ddeploysvr
> # Or, if the above does not work, maybe you're running mvn in debug mode
> using some MAVEN_OPTS, try marvin:
> $ cd tools/devcloud; python ../marvin/marvin/deployDataCenter.py -i
> devcloud.cfg
>
> Meaning, if I run with jetty, I can't use the mvn profile to configure
> devcloud ?
>
> In the end, I ran out of memory…(even though I allocated 2GB).
>
> Thoughts, on those issues ?
>
> -sebastien
>
>
> >
> > -sebastien
> >
> >
> >>
> >> Regards,
> >> Pranav
> >>
> >> -----Original Message-----
> >> From: Sebastien Goasguen [mailto:run...@gmail.com]
> >> Sent: Friday, March 15, 2013 5:22 PM
> >> To: cloudstack-dev@incubator.apache.org Developers
> >> Subject: 4.1 certificate issue
> >>
> >> Hi folks,
> >>
> >> When trying the latest 4.1 I am still stuck with:
> >>
> >> INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Executing chmod
> ugo+x
> /Users/sebastiengoasguen/Documents/incubator-cloudstack/client/target/cloud-client-ui-4.1.0-SNAPSHOT/WEB-INF/classes/scripts/vm/systemvm/injectkeys.sh
> >> INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Processing
> updateSSLKeyStore INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:)
> SSL keystore located at
> /Users/sebastiengoasguen/Documents/incubator-cloudstack/client/target/cloud-client-ui-4.1.0-SNAPSHOT/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/sebastiengoasguen/Documents/incubator-cloudstack/client/target/cloud-client-ui-4.1.0-SNAPSHOT/WEB-INF/classes/cloud.keystore
> -storepass vmops.com -keypass vmops.com -keyalg RSA -validity 3650 -dname
> cn="Cloudstack User",ou="cloud.com",o="cloud.com",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:491)
> >>      at
> com.cloud.server.ConfigurationServerImpl.updateSSLKeystore(ConfigurationServerImpl.java:512)
> >>      at
> com.cloud.server.ConfigurationServerImpl.persistDefaultValues(ConfigurationServerImpl.java:269)
> >>      at
> com.cloud.server.ConfigurationServerImpl.configure(ConfigurationServerImpl.java:143)
> >>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>      at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >>      at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >>      at java.lang.reflect.Method.invoke(Method.java:601)
> >>      at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
> >>      at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> >>      at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> >>      at
> org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
> >>      at
> com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:43)
> >>      at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
> >>      at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >>      at java.lang.reflect.Method.invoke(Method.java:601)
> >>      at
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
> >>      at
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
> >>      at
> org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
> >>      at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> >>      at
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
> >>      at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> >>      at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
> >>      at $Proxy388.configure(Unknown Source)
> >>      at
> com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:97)
> >>      at
> com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:50)
> >>      at java.util.TimerThread.mainLoop(Timer.java:555)
> >>      at java.util.TimerThread.run(Timer.java:505)
> >> INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Processing
> updateKeyPairs INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:)
> Systemvm keypairs not found in database. Need to store them in the database
> INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:) Going to update
> systemvm iso with generated keypairs if needed
> >> Password:
> >>
> >> Password:
> >> Password:
> >> Password:
> >>
> >> I am not sure how to get passed this ?
> >>
> >> -sebastien
> >
>
>


-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

Reply via email to