You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Xianxia Xiao <xi...@ubuntukylin.com> on 2014/09/22 11:49:07 UTC

Some problems in the installation of cloudstack

Hi all,   I am a beginner of  cloudstack . i try to install cloudstack on ubuntu,but I had some problems:
1、Is cloudstack only can be deployed in ubutnu 12.04?Whether support ubuntu 14.04?
2、how can i configure cloudstack apt source in ubunntu
3、In ubuntu,the cloudstack package is cloudstack-management, not cloud-client,right?
4、when i start cloudstack service,the browser reports error "HTTP Status 500 - java.lang.NoClassDefFoundError: org/apache/tomcat/util/descriptor/LocalResolver".not login interface.


Looking  forward any help or suggestions, thank you very much !


Regards,
Xian xia




Re: Some problems in the installation of cloudstack

Posted by sandeep khandekar <cl...@gmail.com>.
Thanks

On Sun, Sep 28, 2014 at 8:40 PM, Ian Duffy <ia...@ianduffy.ie> wrote:

> Fix for devcloud4 made should be functioning again :)
> On 26 Sep 2014 15:01, "Ian Duffy" <ia...@ianduffy.ie> wrote:
>
> > Devcloud4 currently broken due to the recent change up of system VM
> > template names. (They were changed back so I need to revert my initial
> fix
> > commit)
> >
> > Will fix it today.
> > On 26 Sep 2014 13:25, "Sebastien Goasguen" <ru...@gmail.com> wrote:
> >
> >> can you try devcloud4:
> >>
> >> https://github.com/imduffy15/devcloud4
> >>
> >>
> >> On Sep 23, 2014, at 10:58 AM, sandeep khandekar <
> >> cloudstack.sandeep@gmail.com> wrote:
> >>
> >> > I am getting the following error after following the above
> documentation
> >> >
> >> > root@cloudstack:/home/cloudstack/cloudstack# mvn -pl client
> >> jetty:run>log
> >> > 2014-09-23 19:20:28.637:INFO::Logging to STDERR via
> >> > org.mortbay.log.StdErrLog
> >> > 2014-09-23 19:20:28.654:INFO::jetty-6.1.26
> >> > 2014-09-23 19:20:29.034:INFO::No Transaction manager found - if your
> >> webapp
> >> > requires one, please configure one.
> >> > 2014-09-23 19:20:30.421:INFO:/client:Set web app root system property:
> >> > 'webapp.root' =
> >> >
> >>
> [/home/cloudstack/cloudstack/client/target/cloud-client-ui-4.2.1-SNAPSHOT]
> >> > 2014-09-23 19:20:30.423:INFO:/client:Initializing log4j from
> >> > [classpath:log4j-cloud.xml]
> >> > 2014-09-23 19:20:30.795:INFO:/client:Initializing Spring root
> >> > WebApplicationContext
> >> > 2014-09-23 19:20:47.990:INFO::Started
> >> SelectChannelConnector@0.0.0.0:8080
> >> > java.lang.ClassCastException: com.cloud.agent.api.Answer cannot be
> cast
> >> to
> >> > com.cloud.agent.api.StopAnswer
> >> >    at
> >> >
> >>
> com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:1263)
> >> >    at
> >> >
> >>
> com.cloud.ha.HighAvailabilityManagerImpl.scheduleRestart(HighAvailabilityManagerImpl.java:335)
> >> >    at
> >> >
> >>
> com.cloud.vm.VirtualMachineManagerImpl.compareState(VirtualMachineManagerImpl.java:2576)
> >> >    at
> >> >
> >>
> com.cloud.vm.VirtualMachineManagerImpl.fullSync(VirtualMachineManagerImpl.java:2253)
> >> >    at
> >> >
> >>
> com.cloud.vm.VirtualMachineManagerImpl.processConnect(VirtualMachineManagerImpl.java:2759)
> >> >    at
> >> >
> >>
> com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:587)
> >> >    at
> >> >
> >>
> com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1482)
> >> >    at
> >> >
> >>
> com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1762)
> >> >    at
> >> >
> >>
> com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1929)
> >> >    at
> >> >
> >>
> com.cloud.agent.manager.AgentManagerImpl$SimulateStartTask.run(AgentManagerImpl.java:1130)
> >> >    at
> >> >
> >>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> >> >    at
> >> >
> >>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> >> >    at java.lang.Thread.run(Thread.java:745)
> >> >
> >> > Log file link
> >> > http://pastebin.com/YTjsbRHP
> >> >
> >> > Please help me too. use the devcloud2 image which was in the doc.
> >> Callhost
> >> > plugin error
> >> >
> >> > Thankyou
> >> >
> >> >
> >> > On Tue, Sep 23, 2014 at 12:53 PM, Sebastien Goasguen <
> runseb@gmail.com>
> >> > wrote:
> >> >
> >> >>
> >> >> On Sep 22, 2014, at 5:49 AM, Xianxia Xiao <
> xianxiaxiao@ubuntukylin.com
> >> >
> >> >> wrote:
> >> >>
> >> >>>
> >> >>> Hi all,   I am a beginner of  cloudstack . i try to install
> cloudstack
> >> >> on ubuntu,but I had some problems:
> >> >>> 1、Is cloudstack only can be deployed in ubutnu 12.04?Whether support
> >> >> ubuntu 14.04?
> >> >>
> >> >> it works on 14.04
> >> >>
> >> >>> 2、how can i configure cloudstack apt source in ubunntu
> >> >>
> >> >>
> >> >>
> >>
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/installation.html#configure-package-repository
> >> >>
> >> >>
> >> >>> 3、In ubuntu,the cloudstack package is cloudstack-management, not
> >> >> cloud-client,right?
> >> >>
> >> >> the management server is cloudstack-management.
> >> >>
> >> >>> 4、when i start cloudstack service,the browser reports error "HTTP
> >> Status
> >> >> 500 - java.lang.NoClassDefFoundError:
> >> >> org/apache/tomcat/util/descriptor/LocalResolver".not login interface.
> >> >>>
> >> >>
> >> >> did you install from source ?
> >> >>
> >> >> Check the docs at http://docs.cloudstack.apache.org
> >> >>
> >> >>>
> >> >>> Looking  forward any help or suggestions, thank you very much !
> >> >>>
> >> >>>
> >> >>> Regards,
> >> >>> Xian xia
> >> >>>
> >> >>>
> >> >>>
> >> >>
> >> >>
> >> >
> >> >
> >> > --
> >> > SANDEEP KHANDEKAR
> >> > Assistant Professor
> >> > Department of Computer science and engineering
> >> > Sreenidhi Institute of science and Technology
> >> > Hyderabad
> >>
> >>
>



-- 
SANDEEP KHANDEKAR
Assistant Professor
Department of Computer science and engineering
Sreenidhi Institute of science and Technology
Hyderabad

Re: Some problems in the installation of cloudstack

Posted by Ian Duffy <ia...@ianduffy.ie>.
Fix for devcloud4 made should be functioning again :)
On 26 Sep 2014 15:01, "Ian Duffy" <ia...@ianduffy.ie> wrote:

> Devcloud4 currently broken due to the recent change up of system VM
> template names. (They were changed back so I need to revert my initial fix
> commit)
>
> Will fix it today.
> On 26 Sep 2014 13:25, "Sebastien Goasguen" <ru...@gmail.com> wrote:
>
>> can you try devcloud4:
>>
>> https://github.com/imduffy15/devcloud4
>>
>>
>> On Sep 23, 2014, at 10:58 AM, sandeep khandekar <
>> cloudstack.sandeep@gmail.com> wrote:
>>
>> > I am getting the following error after following the above documentation
>> >
>> > root@cloudstack:/home/cloudstack/cloudstack# mvn -pl client
>> jetty:run>log
>> > 2014-09-23 19:20:28.637:INFO::Logging to STDERR via
>> > org.mortbay.log.StdErrLog
>> > 2014-09-23 19:20:28.654:INFO::jetty-6.1.26
>> > 2014-09-23 19:20:29.034:INFO::No Transaction manager found - if your
>> webapp
>> > requires one, please configure one.
>> > 2014-09-23 19:20:30.421:INFO:/client:Set web app root system property:
>> > 'webapp.root' =
>> >
>> [/home/cloudstack/cloudstack/client/target/cloud-client-ui-4.2.1-SNAPSHOT]
>> > 2014-09-23 19:20:30.423:INFO:/client:Initializing log4j from
>> > [classpath:log4j-cloud.xml]
>> > 2014-09-23 19:20:30.795:INFO:/client:Initializing Spring root
>> > WebApplicationContext
>> > 2014-09-23 19:20:47.990:INFO::Started
>> SelectChannelConnector@0.0.0.0:8080
>> > java.lang.ClassCastException: com.cloud.agent.api.Answer cannot be cast
>> to
>> > com.cloud.agent.api.StopAnswer
>> >    at
>> >
>> com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:1263)
>> >    at
>> >
>> com.cloud.ha.HighAvailabilityManagerImpl.scheduleRestart(HighAvailabilityManagerImpl.java:335)
>> >    at
>> >
>> com.cloud.vm.VirtualMachineManagerImpl.compareState(VirtualMachineManagerImpl.java:2576)
>> >    at
>> >
>> com.cloud.vm.VirtualMachineManagerImpl.fullSync(VirtualMachineManagerImpl.java:2253)
>> >    at
>> >
>> com.cloud.vm.VirtualMachineManagerImpl.processConnect(VirtualMachineManagerImpl.java:2759)
>> >    at
>> >
>> com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:587)
>> >    at
>> >
>> com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1482)
>> >    at
>> >
>> com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1762)
>> >    at
>> >
>> com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1929)
>> >    at
>> >
>> com.cloud.agent.manager.AgentManagerImpl$SimulateStartTask.run(AgentManagerImpl.java:1130)
>> >    at
>> >
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> >    at
>> >
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> >    at java.lang.Thread.run(Thread.java:745)
>> >
>> > Log file link
>> > http://pastebin.com/YTjsbRHP
>> >
>> > Please help me too. use the devcloud2 image which was in the doc.
>> Callhost
>> > plugin error
>> >
>> > Thankyou
>> >
>> >
>> > On Tue, Sep 23, 2014 at 12:53 PM, Sebastien Goasguen <ru...@gmail.com>
>> > wrote:
>> >
>> >>
>> >> On Sep 22, 2014, at 5:49 AM, Xianxia Xiao <xianxiaxiao@ubuntukylin.com
>> >
>> >> wrote:
>> >>
>> >>>
>> >>> Hi all,   I am a beginner of  cloudstack . i try to install cloudstack
>> >> on ubuntu,but I had some problems:
>> >>> 1、Is cloudstack only can be deployed in ubutnu 12.04?Whether support
>> >> ubuntu 14.04?
>> >>
>> >> it works on 14.04
>> >>
>> >>> 2、how can i configure cloudstack apt source in ubunntu
>> >>
>> >>
>> >>
>> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/installation.html#configure-package-repository
>> >>
>> >>
>> >>> 3、In ubuntu,the cloudstack package is cloudstack-management, not
>> >> cloud-client,right?
>> >>
>> >> the management server is cloudstack-management.
>> >>
>> >>> 4、when i start cloudstack service,the browser reports error "HTTP
>> Status
>> >> 500 - java.lang.NoClassDefFoundError:
>> >> org/apache/tomcat/util/descriptor/LocalResolver".not login interface.
>> >>>
>> >>
>> >> did you install from source ?
>> >>
>> >> Check the docs at http://docs.cloudstack.apache.org
>> >>
>> >>>
>> >>> Looking  forward any help or suggestions, thank you very much !
>> >>>
>> >>>
>> >>> Regards,
>> >>> Xian xia
>> >>>
>> >>>
>> >>>
>> >>
>> >>
>> >
>> >
>> > --
>> > SANDEEP KHANDEKAR
>> > Assistant Professor
>> > Department of Computer science and engineering
>> > Sreenidhi Institute of science and Technology
>> > Hyderabad
>>
>>

Re: Some problems in the installation of cloudstack

Posted by Ian Duffy <ia...@ianduffy.ie>.
Devcloud4 currently broken due to the recent change up of system VM
template names. (They were changed back so I need to revert my initial fix
commit)

Will fix it today.
On 26 Sep 2014 13:25, "Sebastien Goasguen" <ru...@gmail.com> wrote:

> can you try devcloud4:
>
> https://github.com/imduffy15/devcloud4
>
>
> On Sep 23, 2014, at 10:58 AM, sandeep khandekar <
> cloudstack.sandeep@gmail.com> wrote:
>
> > I am getting the following error after following the above documentation
> >
> > root@cloudstack:/home/cloudstack/cloudstack# mvn -pl client
> jetty:run>log
> > 2014-09-23 19:20:28.637:INFO::Logging to STDERR via
> > org.mortbay.log.StdErrLog
> > 2014-09-23 19:20:28.654:INFO::jetty-6.1.26
> > 2014-09-23 19:20:29.034:INFO::No Transaction manager found - if your
> webapp
> > requires one, please configure one.
> > 2014-09-23 19:20:30.421:INFO:/client:Set web app root system property:
> > 'webapp.root' =
> >
> [/home/cloudstack/cloudstack/client/target/cloud-client-ui-4.2.1-SNAPSHOT]
> > 2014-09-23 19:20:30.423:INFO:/client:Initializing log4j from
> > [classpath:log4j-cloud.xml]
> > 2014-09-23 19:20:30.795:INFO:/client:Initializing Spring root
> > WebApplicationContext
> > 2014-09-23 19:20:47.990:INFO::Started
> SelectChannelConnector@0.0.0.0:8080
> > java.lang.ClassCastException: com.cloud.agent.api.Answer cannot be cast
> to
> > com.cloud.agent.api.StopAnswer
> >    at
> >
> com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:1263)
> >    at
> >
> com.cloud.ha.HighAvailabilityManagerImpl.scheduleRestart(HighAvailabilityManagerImpl.java:335)
> >    at
> >
> com.cloud.vm.VirtualMachineManagerImpl.compareState(VirtualMachineManagerImpl.java:2576)
> >    at
> >
> com.cloud.vm.VirtualMachineManagerImpl.fullSync(VirtualMachineManagerImpl.java:2253)
> >    at
> >
> com.cloud.vm.VirtualMachineManagerImpl.processConnect(VirtualMachineManagerImpl.java:2759)
> >    at
> >
> com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:587)
> >    at
> >
> com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1482)
> >    at
> >
> com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1762)
> >    at
> >
> com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1929)
> >    at
> >
> com.cloud.agent.manager.AgentManagerImpl$SimulateStartTask.run(AgentManagerImpl.java:1130)
> >    at
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> >    at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> >    at java.lang.Thread.run(Thread.java:745)
> >
> > Log file link
> > http://pastebin.com/YTjsbRHP
> >
> > Please help me too. use the devcloud2 image which was in the doc.
> Callhost
> > plugin error
> >
> > Thankyou
> >
> >
> > On Tue, Sep 23, 2014 at 12:53 PM, Sebastien Goasguen <ru...@gmail.com>
> > wrote:
> >
> >>
> >> On Sep 22, 2014, at 5:49 AM, Xianxia Xiao <xi...@ubuntukylin.com>
> >> wrote:
> >>
> >>>
> >>> Hi all,   I am a beginner of  cloudstack . i try to install cloudstack
> >> on ubuntu,but I had some problems:
> >>> 1、Is cloudstack only can be deployed in ubutnu 12.04?Whether support
> >> ubuntu 14.04?
> >>
> >> it works on 14.04
> >>
> >>> 2、how can i configure cloudstack apt source in ubunntu
> >>
> >>
> >>
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/installation.html#configure-package-repository
> >>
> >>
> >>> 3、In ubuntu,the cloudstack package is cloudstack-management, not
> >> cloud-client,right?
> >>
> >> the management server is cloudstack-management.
> >>
> >>> 4、when i start cloudstack service,the browser reports error "HTTP
> Status
> >> 500 - java.lang.NoClassDefFoundError:
> >> org/apache/tomcat/util/descriptor/LocalResolver".not login interface.
> >>>
> >>
> >> did you install from source ?
> >>
> >> Check the docs at http://docs.cloudstack.apache.org
> >>
> >>>
> >>> Looking  forward any help or suggestions, thank you very much !
> >>>
> >>>
> >>> Regards,
> >>> Xian xia
> >>>
> >>>
> >>>
> >>
> >>
> >
> >
> > --
> > SANDEEP KHANDEKAR
> > Assistant Professor
> > Department of Computer science and engineering
> > Sreenidhi Institute of science and Technology
> > Hyderabad
>
>

Re: Some problems in the installation of cloudstack

Posted by Sebastien Goasguen <ru...@gmail.com>.
can you try devcloud4:

https://github.com/imduffy15/devcloud4


On Sep 23, 2014, at 10:58 AM, sandeep khandekar <cl...@gmail.com> wrote:

> I am getting the following error after following the above documentation
> 
> root@cloudstack:/home/cloudstack/cloudstack# mvn -pl client jetty:run>log
> 2014-09-23 19:20:28.637:INFO::Logging to STDERR via
> org.mortbay.log.StdErrLog
> 2014-09-23 19:20:28.654:INFO::jetty-6.1.26
> 2014-09-23 19:20:29.034:INFO::No Transaction manager found - if your webapp
> requires one, please configure one.
> 2014-09-23 19:20:30.421:INFO:/client:Set web app root system property:
> 'webapp.root' =
> [/home/cloudstack/cloudstack/client/target/cloud-client-ui-4.2.1-SNAPSHOT]
> 2014-09-23 19:20:30.423:INFO:/client:Initializing log4j from
> [classpath:log4j-cloud.xml]
> 2014-09-23 19:20:30.795:INFO:/client:Initializing Spring root
> WebApplicationContext
> 2014-09-23 19:20:47.990:INFO::Started SelectChannelConnector@0.0.0.0:8080
> java.lang.ClassCastException: com.cloud.agent.api.Answer cannot be cast to
> com.cloud.agent.api.StopAnswer
>    at
> com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:1263)
>    at
> com.cloud.ha.HighAvailabilityManagerImpl.scheduleRestart(HighAvailabilityManagerImpl.java:335)
>    at
> com.cloud.vm.VirtualMachineManagerImpl.compareState(VirtualMachineManagerImpl.java:2576)
>    at
> com.cloud.vm.VirtualMachineManagerImpl.fullSync(VirtualMachineManagerImpl.java:2253)
>    at
> com.cloud.vm.VirtualMachineManagerImpl.processConnect(VirtualMachineManagerImpl.java:2759)
>    at
> com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:587)
>    at
> com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1482)
>    at
> com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1762)
>    at
> com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1929)
>    at
> com.cloud.agent.manager.AgentManagerImpl$SimulateStartTask.run(AgentManagerImpl.java:1130)
>    at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>    at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>    at java.lang.Thread.run(Thread.java:745)
> 
> Log file link
> http://pastebin.com/YTjsbRHP
> 
> Please help me too. use the devcloud2 image which was in the doc. Callhost
> plugin error
> 
> Thankyou
> 
> 
> On Tue, Sep 23, 2014 at 12:53 PM, Sebastien Goasguen <ru...@gmail.com>
> wrote:
> 
>> 
>> On Sep 22, 2014, at 5:49 AM, Xianxia Xiao <xi...@ubuntukylin.com>
>> wrote:
>> 
>>> 
>>> Hi all,   I am a beginner of  cloudstack . i try to install cloudstack
>> on ubuntu,but I had some problems:
>>> 1、Is cloudstack only can be deployed in ubutnu 12.04?Whether support
>> ubuntu 14.04?
>> 
>> it works on 14.04
>> 
>>> 2、how can i configure cloudstack apt source in ubunntu
>> 
>> 
>> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/installation.html#configure-package-repository
>> 
>> 
>>> 3、In ubuntu,the cloudstack package is cloudstack-management, not
>> cloud-client,right?
>> 
>> the management server is cloudstack-management.
>> 
>>> 4、when i start cloudstack service,the browser reports error "HTTP Status
>> 500 - java.lang.NoClassDefFoundError:
>> org/apache/tomcat/util/descriptor/LocalResolver".not login interface.
>>> 
>> 
>> did you install from source ?
>> 
>> Check the docs at http://docs.cloudstack.apache.org
>> 
>>> 
>>> Looking  forward any help or suggestions, thank you very much !
>>> 
>>> 
>>> Regards,
>>> Xian xia
>>> 
>>> 
>>> 
>> 
>> 
> 
> 
> -- 
> SANDEEP KHANDEKAR
> Assistant Professor
> Department of Computer science and engineering
> Sreenidhi Institute of science and Technology
> Hyderabad


Re: Some problems in the installation of cloudstack

Posted by sandeep khandekar <cl...@gmail.com>.
I am getting the following error after following the above documentation

root@cloudstack:/home/cloudstack/cloudstack# mvn -pl client jetty:run>log
2014-09-23 19:20:28.637:INFO::Logging to STDERR via
org.mortbay.log.StdErrLog
2014-09-23 19:20:28.654:INFO::jetty-6.1.26
2014-09-23 19:20:29.034:INFO::No Transaction manager found - if your webapp
requires one, please configure one.
2014-09-23 19:20:30.421:INFO:/client:Set web app root system property:
'webapp.root' =
[/home/cloudstack/cloudstack/client/target/cloud-client-ui-4.2.1-SNAPSHOT]
2014-09-23 19:20:30.423:INFO:/client:Initializing log4j from
[classpath:log4j-cloud.xml]
2014-09-23 19:20:30.795:INFO:/client:Initializing Spring root
WebApplicationContext
2014-09-23 19:20:47.990:INFO::Started SelectChannelConnector@0.0.0.0:8080
java.lang.ClassCastException: com.cloud.agent.api.Answer cannot be cast to
com.cloud.agent.api.StopAnswer
    at
com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:1263)
    at
com.cloud.ha.HighAvailabilityManagerImpl.scheduleRestart(HighAvailabilityManagerImpl.java:335)
    at
com.cloud.vm.VirtualMachineManagerImpl.compareState(VirtualMachineManagerImpl.java:2576)
    at
com.cloud.vm.VirtualMachineManagerImpl.fullSync(VirtualMachineManagerImpl.java:2253)
    at
com.cloud.vm.VirtualMachineManagerImpl.processConnect(VirtualMachineManagerImpl.java:2759)
    at
com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:587)
    at
com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1482)
    at
com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1762)
    at
com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1929)
    at
com.cloud.agent.manager.AgentManagerImpl$SimulateStartTask.run(AgentManagerImpl.java:1130)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)

Log file link
http://pastebin.com/YTjsbRHP

Please help me too. use the devcloud2 image which was in the doc. Callhost
plugin error

Thankyou


On Tue, Sep 23, 2014 at 12:53 PM, Sebastien Goasguen <ru...@gmail.com>
wrote:

>
> On Sep 22, 2014, at 5:49 AM, Xianxia Xiao <xi...@ubuntukylin.com>
> wrote:
>
> >
> > Hi all,   I am a beginner of  cloudstack . i try to install cloudstack
> on ubuntu,but I had some problems:
> > 1、Is cloudstack only can be deployed in ubutnu 12.04?Whether support
> ubuntu 14.04?
>
> it works on 14.04
>
> > 2、how can i configure cloudstack apt source in ubunntu
>
>
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/installation.html#configure-package-repository
>
>
> > 3、In ubuntu,the cloudstack package is cloudstack-management, not
> cloud-client,right?
>
> the management server is cloudstack-management.
>
> > 4、when i start cloudstack service,the browser reports error "HTTP Status
> 500 - java.lang.NoClassDefFoundError:
> org/apache/tomcat/util/descriptor/LocalResolver".not login interface.
> >
>
> did you install from source ?
>
> Check the docs at http://docs.cloudstack.apache.org
>
> >
> > Looking  forward any help or suggestions, thank you very much !
> >
> >
> > Regards,
> > Xian xia
> >
> >
> >
>
>


-- 
SANDEEP KHANDEKAR
Assistant Professor
Department of Computer science and engineering
Sreenidhi Institute of science and Technology
Hyderabad

Re: Some problems in the installation of cloudstack

Posted by Sebastien Goasguen <ru...@gmail.com>.
On Sep 22, 2014, at 5:49 AM, Xianxia Xiao <xi...@ubuntukylin.com> wrote:

> 
> Hi all,   I am a beginner of  cloudstack . i try to install cloudstack on ubuntu,but I had some problems:
> 1、Is cloudstack only can be deployed in ubutnu 12.04?Whether support ubuntu 14.04?

it works on 14.04

> 2、how can i configure cloudstack apt source in ubunntu

http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/installation.html#configure-package-repository


> 3、In ubuntu,the cloudstack package is cloudstack-management, not cloud-client,right?

the management server is cloudstack-management.

> 4、when i start cloudstack service,the browser reports error "HTTP Status 500 - java.lang.NoClassDefFoundError: org/apache/tomcat/util/descriptor/LocalResolver".not login interface.
> 

did you install from source ?

Check the docs at http://docs.cloudstack.apache.org

> 
> Looking  forward any help or suggestions, thank you very much !
> 
> 
> Regards,
> Xian xia
> 
> 
>