incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhinav Roy (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-92) Copying the system-vm template on UBUNTU 12.04 fails with " bash: /usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt: No such file or directory"
Date Mon, 17 Sep 2012 17:39:09 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-92?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Abhinav Roy closed CLOUDSTACK-92.
---------------------------------


Install Successful with the latest build


Git Revision: 54f9af1695bc359b02e9fc906b3b335cc0bfec41
Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git

Hence closing this issue
                
> Copying the system-vm template on UBUNTU 12.04 fails with " bash: /usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt:
No such file or directory"
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-92
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-92
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Install and Setup
>    Affects Versions: pre-4.0.0
>         Environment: OS : Ubuntu 12.04
> ASF Build : CloudStack-oss-4.0.0.22-ubuntu12.04.tar.gz.
> [ Git Revision: ea7fee8b2bf67630e52662ef38b8ae138bcd5ca9
> Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git ]
>            Reporter: Abhinav Roy
>            Assignee: Wido den Hollander
>            Priority: Blocker
>             Fix For: pre-4.0.0
>
>
> Steps :
> ==============================================
> 1. Install CloudStack on Ubuntu 12.04
> 2. copy the system-vm templates to the secondary using the following command :
> root@MS-ubuntu12:/home/abhinavr# /usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt
-m /mnt/secondary -u http://download.cloud.com/templates/acton/acton-systemvm-02062012..vhd.bz2
-h xenserver
> Expected Behaviour :
> ==============================================
> Both step 1 and step 2 should go fine, without any errors.
> Observed Behaviour :
> ==============================================
> step 1 goes fine and the install is successful.
> But we get the following errors after executing step2
> root@MS-ubuntu12:/home/abhinavr# /usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt
-m /mnt/secondary -u http://download.cloud.com/templates/acton/acton-systemvm-02062012..vhd.bz2
-h xenserver
> bash: /usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt: No such
file or directory
> This was the corresponding exception in the management server logs :
> 2012-09-13 12:06:10,118 DEBUG [utils.script.Script] (main:null) Current binaries reside
at /usr/share/java
> 2012-09-13 12:06:10,118 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso
in /usr/share/java/vms/systemvm.iso
> 2012-09-13 12:06:10,119 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso
in /usr/share/java/vms/systemvm.iso
> 2012-09-13 12:06:10,119 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso
in /usr/share/vms/systemvm.iso
> 2012-09-13 12:06:10,119 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso
in /usr/vms/systemvm.iso
> 2012-09-13 12:06:10,119 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso
in /vms/systemvm.iso
> 2012-09-13 12:06:10,119 DEBUG [utils.script.Script] (main:null) Searching in environment.properties
> 2012-09-13 12:06:10,119 DEBUG [utils.script.Script] (main:null) environment.properties
says scripts should be in /usr/lib/cloud/agent
> 2012-09-13 12:06:10,119 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso
in /usr/lib/cloud/agent/vms/systemvm.iso
> 2012-09-13 12:06:10,121 ERROR [cloud.servlet.CloudStartupServlet] (main:null) Exception
starting management servercom.cloud.utils.exception.CloudRuntimeException: Unable to find
key inject script scripts/vm/systemvm/injectkeys.sh at com.cloud.server.ConfigurationServerImpl.updateKeyPairs(ConfigurationServerImpl.java:675)
>         at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
>         at com.cloud.server.ConfigurationServerImpl.persistDefaultValues(ConfigurationServerImpl.java:265)
>         at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
>         at com.cloud.servlet.CloudStartupServlet.init(CloudStartupServlet.java:47)
>         at javax.servlet.GenericServlet.init(GenericServlet.java:212)
>         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
>         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026) at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
>         at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
>         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
>         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
>         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
>         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
>         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
>         at org.apache.catalina.core.StandardService.start(StandardService.java:525)
>         at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
>         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 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.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:243)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message