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] [Commented] (CLOUDSTACK-76) ubuntu: Installer fail to install the Management Server
Date Thu, 13 Sep 2012 08:26:07 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13454728#comment-13454728
] 

Abhinav Roy commented on CLOUDSTACK-76:
---------------------------------------

Installed the latest build http://jenkins.cloudstack.org/job/build-cloudstack-4.0-ubuntu12.04/22/artifact/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 ]

Installation went fine  but got the following error while copying the system-vm templates
to secondary storage :

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)



                
> ubuntu: Installer fail to install the Management Server
> -------------------------------------------------------
>
>                 Key: CLOUDSTACK-76
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-76
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Install and Setup
>    Affects Versions: pre-4.0.0
>         Environment: http://jenkins.cloudstack.org/job/build-cloudstack-4.0-ubuntu12.04/lastSuccessfulBuild/artifact/CloudStack-oss-4.0.52-ubuntu12.04.tar.gz

>            Reporter: sadhu suresh
>            Assignee: edison su
>            Priority: Blocker
>             Fix For: pre-4.0.0
>
>
> Steps:
> 1.download the latest build from jenkins
> http://jenkins.cloudstack.org/job/build-cloudstack-4.0-ubuntu12.04/lastSuccessfulBuild/artifact/CloudStack-oss-4.0.52-ubuntu12.04.tar.gz

> 2. run the installer script and observe the behavior
>  sudo ./install.sh
> actual result:
> Installation management server not succeed .it shows cloud not find any packages whose
name or description matched with cloud-client
> expected result:Installation should be successful with out any errors.
> sadhu@ubuntu:~/CloudStack-oss-4.0.1-ubuntu12.04$ sudo ./install.sh
> Setting up the temporary repository...
> Fetching updated listings...
> Ign file: ./ InRelease
> Ign file: ./ Release.gpg
> Ign file: ./ Release
> Ign file: ./ Translation-en_US
> Ign file: ./ Translation-en
> Ign http://us.archive.ubuntu.com precise InRelease
> Ign http://us.archive.ubuntu.com precise-updates InRelease
> Ign http://us.archive.ubuntu.com precise-backports InRelease
> Ign http://security.ubuntu.com precise-security InRelease
> Hit http://us.archive.ubuntu.com precise Release.gpg
> Get: 1 http://security.ubuntu.com precise-security Release.gpg [198 B]
> Get: 2 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
> Get: 3 http://us.archive.ubuntu.com precise-backports Release.gpg [198 B]
> Get: 4 http://security.ubuntu.com precise-security Release [49.6 kB]
> Hit http://us.archive.ubuntu.com precise Release
> Get: 5 http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
> Get: 6 http://us.archive.ubuntu.com precise-backports Release [49.6 kB]
> Get: 7 http://security.ubuntu.com precise-security/main Sources [42.8 kB]
> Hit http://us.archive.ubuntu.com precise/main Sources
> Hit http://us.archive.ubuntu.com precise/restricted Sources
> Hit http://us.archive.ubuntu.com precise/universe Sources
> Hit http://us.archive.ubuntu.com precise/multiverse Sources
> Hit http://us.archive.ubuntu.com precise/main i386 Packages
> Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
> Hit http://us.archive.ubuntu.com precise/universe i386 Packages
> Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
> Hit http://us.archive.ubuntu.com precise/main TranslationIndex
> Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
> Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
> Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
> Get: 8 http://us.archive.ubuntu.com precise-updates/main Sources [162 kB]
> Get: 9 http://security.ubuntu.com precise-security/restricted Sources [1,950 B]
> Get: 10 http://security.ubuntu.com precise-security/universe Sources [12.6 kB]
> Get: 11 http://security.ubuntu.com precise-security/multiverse Sources [1,386 B]
> Get: 12 http://security.ubuntu.com precise-security/main i386 Packages [165 kB]
> Get: 13 http://security.ubuntu.com precise-security/restricted i386 Packages [3,968 B]
> Get: 14 http://us.archive.ubuntu.com precise-updates/restricted Sources [3,285 B]
> Get: 15 http://us.archive.ubuntu.com precise-updates/universe Sources [50.8 kB]
> Get: 16 http://security.ubuntu.com precise-security/universe i386 Packages [42.2 kB]
> Get: 17 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,369 B]
> Hit http://security.ubuntu.com precise-security/main TranslationIndex
> Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
> Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
> Hit http://security.ubuntu.com precise-security/universe TranslationIndex
> Hit http://security.ubuntu.com precise-security/main Translation-en
> Hit http://security.ubuntu.com precise-security/multiverse Translation-en
> Hit http://security.ubuntu.com precise-security/restricted Translation-en
> Hit http://security.ubuntu.com precise-security/universe Translation-en
> Get: 18 http://us.archive.ubuntu.com precise-updates/multiverse Sources [4,241 B]
> Get: 19 http://us.archive.ubuntu.com precise-updates/main i386 Packages [386 kB]
> Get: 20 http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [6,732
B]
> Get: 21 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [129 kB]
> Get: 22 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [129 kB]
> Get: 23 http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [9,672
B]
> Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
> Hit http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex
> Hit http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex
> Hit http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
> Hit http://us.archive.ubuntu.com precise/main Translation-en
> Get: 24 http://us.archive.ubuntu.com precise-backports/main Sources [2,422 B]
> Get: 25 http://us.archive.ubuntu.com precise-backports/restricted Sources [14 B]
> Get: 26 http://us.archive.ubuntu.com precise-backports/universe Sources [14.2 kB]
> Get: 27 http://us.archive.ubuntu.com precise-backports/multiverse Sources [1,383 B]
> Get: 28 http://us.archive.ubuntu.com precise-backports/main i386 Packages [1,941 B]
> Get: 29 http://us.archive.ubuntu.com precise-backports/restricted i386 Packages [14 B]
> Get: 30 http://us.archive.ubuntu.com precise-backports/universe i386 Packages [12.4 kB]
> Get: 31 http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages [999
B]
> Hit http://us.archive.ubuntu.com precise-backports/main TranslationIndex
> Hit http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex
> Hit http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex
> Hit http://us.archive.ubuntu.com precise-backports/universe TranslationIndex
> Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
> Hit http://us.archive.ubuntu.com precise/restricted Translation-en
> Hit http://us.archive.ubuntu.com precise/universe Translation-en
> Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
> Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
> Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
> Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
> Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
> Hit http://us.archive.ubuntu.com precise-backports/multiverse Translation-en
> Hit http://us.archive.ubuntu.com precise-backports/restricted Translation-en
> Hit http://us.archive.ubuntu.com precise-backports/universe Translation-en
> Fetched 1,204 kB in 22s (54.1 kB/s)
> Welcome to the Cloud.com CloudStack Installer.  What would you like to do?
>     M) Install the Management Server
>     A) Install the Agent
>     S) Install the Usage Monitor
>     D) Install the database server
>     Q) Quit
>     > M
> Installing the Management Server...
> Couldn't find any package whose name or description matched "cloud-client"
> Couldn't find any package whose name or description matched "cloud-client"
> No packages will be installed, upgraded, or removed.
> 0 packages upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
> Need to get 0 B of archives. After unpacking 0 B will be used.
> Done
>  also tested wth another build (CloudStack-oss-4.0.52-ubuntu12.04)
> sadhu@ubuntu:~/CloudStack-oss-4.0.52-ubuntu12.04$ sudo ./install.sh
> [sudo] password for sadhu:
> Setting up the temporary repository...
> Fetching updated listings...
> Ign file: ./ InRelease
> Ign file: ./ Release.gpg
> Ign file: ./ Release
> Ign file: ./ Translation-en_US
> Ign file: ./ Translation-en
> Ign http://us.archive.ubuntu.com precise InRelease
> Ign http://us.archive.ubuntu.com precise-updates InRelease
> Ign http://us.archive.ubuntu.com precise-backports InRelease
> Ign http://security.ubuntu.com precise-security InRelease
> Get: 1 http://security.ubuntu.com precise-security Release.gpg [198 B]
> Get: 2 http://security.ubuntu.com precise-security Release [49.6 kB]
> Hit http://us.archive.ubuntu.com precise Release.gpg
> Get: 3 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
> Get: 4 http://us.archive.ubuntu.com precise-backports Release.gpg [198 B]
> Hit http://us.archive.ubuntu.com precise Release
> Get: 5 http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
> Get: 6 http://security.ubuntu.com precise-security/main Sources [42.8 kB]
> Get: 7 http://us.archive.ubuntu.com precise-backports Release [49.6 kB]
> Get: 8 http://security.ubuntu.com precise-security/restricted Sources [1,950 B]
> Get: 9 http://security.ubuntu.com precise-security/universe Sources [12.6 kB]
> Get: 10 http://security.ubuntu.com precise-security/multiverse Sources [1,386 B]
> Hit http://us.archive.ubuntu.com precise/main Sources
> Hit http://us.archive.ubuntu.com precise/restricted Sources
> Hit http://us.archive.ubuntu.com precise/universe Sources
> Hit http://us.archive.ubuntu.com precise/multiverse Sources
> Hit http://us.archive.ubuntu.com precise/main i386 Packages
> Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
> Hit http://us.archive.ubuntu.com precise/universe i386 Packages
> Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
> Hit http://us.archive.ubuntu.com precise/main TranslationIndex
> Get: 11 http://security.ubuntu.com precise-security/main i386 Packages [165 kB]
> Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
> Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
> Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
> Get: 12 http://us.archive.ubuntu.com precise-updates/main Sources [162 kB]
> Get: 13 http://us.archive.ubuntu.com precise-updates/restricted Sources [3,285 B]
> Get: 14 http://us.archive.ubuntu.com precise-updates/universe Sources [50.8 kB]
> Get: 15 http://us.archive.ubuntu.com precise-updates/multiverse Sources [4,241 B]
> Get: 16 http://us.archive.ubuntu.com precise-updates/main i386 Packages [386 kB]
> Get: 17 http://security.ubuntu.com precise-security/restricted i386 Packages [3,968 B]
> Get: 18 http://security.ubuntu.com precise-security/universe i386 Packages [42.2 kB]
> Get: 19 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,369 B]
> Hit http://security.ubuntu.com precise-security/main TranslationIndex
> Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
> Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
> Hit http://security.ubuntu.com precise-security/universe TranslationIndex
> Hit http://security.ubuntu.com precise-security/main Translation-en
> Hit http://security.ubuntu.com precise-security/multiverse Translation-en
> Hit http://security.ubuntu.com precise-security/restricted Translation-en
> Hit http://security.ubuntu.com precise-security/universe Translation-en
> Get: 20 http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [6,732
B]
> Get: 21 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [129 kB]
> Get: 22 http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [9,672
B]
> Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
> Hit http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex
> Hit http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex
> Hit http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
> Hit http://us.archive.ubuntu.com precise/main Translation-en
> Get: 23 http://us.archive.ubuntu.com precise-backports/main Sources [2,422 B]
> Get: 24 http://us.archive.ubuntu.com precise-backports/restricted Sources [14 B]
> Get: 25 http://us.archive.ubuntu.com precise-backports/universe Sources [14.2 kB]
> Get: 26 http://us.archive.ubuntu.com precise-backports/multiverse Sources [1,383 B]
> Get: 27 http://us.archive.ubuntu.com precise-backports/main i386 Packages [1,941 B]
> Get: 28 http://us.archive.ubuntu.com precise-backports/restricted i386 Packages [14 B]
> Get: 29 http://us.archive.ubuntu.com precise-backports/universe i386 Packages [12.4 kB]
> Get: 30 http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages [999
B]
> Hit http://us.archive.ubuntu.com precise-backports/main TranslationIndex
> Hit http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex
> Hit http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex
> Hit http://us.archive.ubuntu.com precise-backports/universe TranslationIndex
> Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
> Hit http://us.archive.ubuntu.com precise/restricted Translation-en
> Hit http://us.archive.ubuntu.com precise/universe Translation-en
> Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
> Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
> Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
> Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
> Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
> Hit http://us.archive.ubuntu.com precise-backports/multiverse Translation-en
> Hit http://us.archive.ubuntu.com precise-backports/restricted Translation-en
> Hit http://us.archive.ubuntu.com precise-backports/universe Translation-en
> Fetched 1,207 kB in 19s (61.0 kB/s)
> Welcome to the Cloud.com CloudStack Installer.  What would you like to do?
>     M) Install the Management Server
>     A) Install the Agent
>     S) Install the Usage Monitor
>     D) Install the database server
>     Q) Quit
>     > M
> Installing the Management Server...
> Couldn't find any package whose name or description matched "cloud-client"
> Couldn't find any package whose name or description matched "cloud-client"
> No packages will be installed, upgraded, or removed.
> 0 packages upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
> Need to get 0 B of archives. After unpacking 0 B will be used

--
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