cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nik Martin <nik.mar...@nfinausa.com>
Subject 3.02 Acton first startup error
Date Fri, 14 Dec 2012 03:04:37 GMT
I just installed 3.02 management server on a breand new Centos 6.3, and 
the install went fine, no errors. I then started the cloudstack 
management server, and it blew up.  The first error was about a sudo not 
having a tty, which is new.  The last install i don't recall anything 
about requiretty, nayway, i disable that in /etc/sudoers, and then have 
tp reinstall the cloudstack DB, and now I'm getting this error. I'm 
pretty sure I didnt skip a step anywhere, but this is my third 
cloudstack install, and have never gotten these errors.  SELinux is 
disabled.

Adding the cloud user to the %wheel group and uncommenting the %wheel 
(ALL) :NOPASSWD line in /etc/sudoers got me goig, but that feels very 
wrong and insecure
-- 
2012-12-13 20:44:32,234 DEBUG [utils.script.Script] (main:null) Looking 
for vms/systemvm.iso
2012-12-13 20:44:32,234 DEBUG [utils.script.Script] (main:null) Current 
binaries reside at /usr/share/java
2012-12-13 20:44:32,234 DEBUG [utils.script.Script] (main:null) Looking 
for vms/systemvm.iso in /usr/share/java/vms/systemvm.iso
2012-12-13 20:44:32,234 DEBUG [utils.script.Script] (main:null) Looking 
for vms/systemvm.iso in /usr/share/java/vms/systemvm.iso
2012-12-13 20:44:32,234 DEBUG [utils.script.Script] (main:null) Looking 
for vms/systemvm.iso in /usr/share/vms/systemvm.iso
2012-12-13 20:44:32,234 DEBUG [utils.script.Script] (main:null) Looking 
for vms/systemvm.iso in /usr/vms/systemvm.iso
2012-12-13 20:44:32,234 DEBUG [utils.script.Script] (main:null) Looking 
for vms/systemvm.iso in /vms/systemvm.iso
2012-12-13 20:44:32,234 DEBUG [utils.script.Script] (main:null) 
Searching in environment.properties
2012-12-13 20:44:32,234 DEBUG [utils.script.Script] (main:null) 
environment.properties says scripts should be in /usr/lib64/cloud/agent
2012-12-13 20:44:32,234 DEBUG [utils.script.Script] (main:null) Looking 
for vms/systemvm.iso in /usr/lib64/cloud/agent/vms/systemvm.iso
2012-12-13 20:44:32,235 DEBUG [cloud.server.ConfigurationServerImpl] 
(main:null) Executing: 
/usr/lib64/cloud/agent/scripts/vm/systemvm/injectkeys.sh 
/var/lib/cloud/management/.ssh/id_rsa.pub 
/var/lib/cloud/management/.ssh/id_rsa 
/usr/lib64/cloud/agent/vms/systemvm.iso
2012-12-13 20:44:32,309 DEBUG [cloud.server.ConfigurationServerImpl] 
(main:null) Exit value is 5
2012-12-13 20:44:32,309 DEBUG [cloud.server.ConfigurationServerImpl] 
(main:null) sudo: no tty present and no askpass program specifiedsudo: 
no tty present and no askpass program specifiedinjectkeys.sh: Failed to 
mount original iso /usr/lib64/cloud/agent/vms/systemvm.isosudo: no tty 
present and no askpass program specifiedsudo: no tty present and no 
askpass program specifiedinjectkeys.sh: Failed to backup original iso 
/usr/lib64/cloud/agent/vms/systemvm.isosudo: no tty present and no 
askpass program specifiedsudo: no tty present and no askpass program 
specifiedinjectkeys.sh: Failed to copy from original iso 
/usr/lib64/cloud/agent/vms/systemvm.isosudo: no tty present and no 
askpass program specifiedsudo: no tty present and no askpass program 
specifiedinjectkeys.sh: Failed to copy key 
/var/lib/cloud/management/.ssh/id_rsa.pub from original iso to new iso 
sudo: no tty present and no askpass program specifiedsudo: no tty 
present and no askpass program specifiedinjectkeys.sh: Failed to unmount 
old iso from /var/lib/cloud/management/systemvm_mnt
2012-12-13 20:44:32,309 WARN  [cloud.server.ConfigurationServerImpl] 
(main:null) Failed to inject generated public key into systemvm iso 
sudo: no tty present and no askpass program specifiedsudo: no tty 
present and no askpass program specifiedinjectkeys.sh: Failed to mount 
original iso /usr/lib64/cloud/agent/vms/systemvm.isosudo: no tty present 
and no askpass program specifiedsudo: no tty present and no askpass 
program specifiedinjectkeys.sh: Failed to backup original iso 
/usr/lib64/cloud/agent/vms/systemvm.isosudo: no tty present and no 
askpass program specifiedsudo: no tty present and no askpass program 
specifiedinjectkeys.sh: Failed to copy from original iso 
/usr/lib64/cloud/agent/vms/systemvm.isosudo: no tty present and no 
askpass program specifiedsudo: no tty present and no askpass program 
specifiedinjectkeys.sh: Failed to copy key 
/var/lib/cloud/management/.ssh/id_rsa.pub from original iso to new iso 
sudo: no tty present and no askpass program specifiedsudo: no tty 
present and no askpass program specifiedinjectkeys.sh: Failed to unmount 
old iso from /var/lib/cloud/management/systemvm_mnt
2012-12-13 20:44:32,311 ERROR [cloud.servlet.CloudStartupServlet] 
(main:null) Exception starting management server
com.cloud.utils.exception.CloudRuntimeException: Failed to inject 
generated public key into systemvm iso sudo: no tty present and no 
askpass program specifiedsudo: no tty present and no askpass program 
specifiedinjectkeys.sh: Failed to mount original iso 
/usr/lib64/cloud/agent/vms/systemvm.isosudo: no tty present and no 
askpass program specifiedsudo: no tty present and no askpass program 
specifiedinjectkeys.sh: Failed to backup original iso 
/usr/lib64/cloud/agent/vms/systemvm.isosudo: no tty present and no 
askpass program specifiedsudo: no tty present and no askpass program 
specifiedinjectkeys.sh: Failed to copy from original iso 
/usr/lib64/cloud/agent/vms/systemvm.isosudo: no tty present and no 
askpass program specifiedsudo: no tty present and no askpass program 
specifiedinjectkeys.sh: Failed to copy key 
/var/lib/cloud/management/.ssh/id_rsa.pub from original iso to new iso 
sudo: no tty present and no askpass program specifiedsudo: no tty 
present and no askpass program specifiedinjectkeys.sh: Failed to unmount 
old iso from /var/lib/cloud/management/systemvm_mnt
	at 
com.cloud.server.ConfigurationServerImpl.injectSshKeysIntoSystemVmIsoPatch(ConfigurationServerImpl.java:717)
	at 
com.cloud.server.ConfigurationServerImpl.updateKeyPairs(ConfigurationServerImpl.java:660)
	at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:30)
	at 
com.cloud.server.ConfigurationServerImpl.persistDefaultValues(ConfigurationServerImpl.java:258)
	at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:30)
	at com.cloud.servlet.CloudStartupServlet.init(CloudStartupServlet.java:43)
	at javax.servlet.GenericServlet.init(GenericServlet.java:212)
	at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
	at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)
	at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)
	at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
	at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
	at 
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
	at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
	at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
	at org.apache.catalina.core.StandardService.start(StandardService.java:516)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:593)
	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:616)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

Regards,

Nik

Nik Martin
nfina Technologies, Inc.
+1.251.243.0043 x1003
http://nfinausa.com
Relentless Reliability

Mime
View raw message