Hey Marcus, Is this what you're thinking?
# Runas alias specification # User privilege specification root ALL=(ALL) ALL %admin ALL=(ALL) ALL cloud ALL=(ALL) NOPASSWD: ALL # Uncomment to allow people in group wheel to run all commands # %wheel ALL=(ALL) ALL # Same thing without a password # %wheel ALL=(ALL) NOPASSWD: ALL # Samples # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom # %users localhost=/sbin/shutdown -h now On Wed, Mar 6, 2013 at 10:31 PM, Marcus Sorensen <shadow...@gmail.com>wrote: > You need to either create a certificate for yourself, or set up the > cloud user for passwordless sudo by adding "cloud ALL =NOPASSWD : ALL" > to /etc/sudoers (this latter thing used to be what the setup would do, > but was recently removed). > > On Wed, Mar 6, 2013 at 9:21 PM, Mike Tutkowski > <mike.tutkow...@solidfire.com> wrote: > > Hi, > > > > I cloned a new repo to run 4.1 (leaving my other repo on the master > branch). > > > > The code builds fine (mvn clean install -P developer,systemvm). I can > > deploy the DB just fine (mvn -pl developer,tools/devcloud -Ddeploydb -P > > developer). The problem is running jetty (mvn -pl client jetty:run). I > > get an exception and then it pauses waiting for a password. > > > > Any thoughts on this? > > > > Thanks! > > > > 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:39) > > at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > 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:37) > > at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source) > > at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > 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:110) > > at > com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:50) > > 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 > > INFO [cloud.server.ConfigurationServerImpl] (Timer-2:) Keypairs already > in > > database, skip updating local copy (not running as cloud user) > > INFO [cloud.server.ConfigurationServerImpl] (Timer-2:) Going to update > > systemvm iso with generated keypairs if needed > > Password: > > > > > > -- > > *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> > > *™* > -- *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> *™*