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

Prieur Leary commented on CLOUDSTACK-7217:
------------------------------------------

I added this template: 
http://cloudstack.apt-get.eu/systemvm/4.4/systemvm64template-4.4.0-6-kvm.qcow2.bz2

I used the instructions from: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+4.2+%28KVM%29+System+Vm+Upgrade

However, they were somewhat dated with a table name. If you have another doc, 
which provides guidance, I can do it again.

Also, just found an important clue in agent.log from the host that it was 
trying to create an agent on (below). I also included libvirt version. We have 
many unhappy folks now, so any help you can give is great.


2014-07-31 14:01:53,209 WARN  [kvm.resource.LibvirtComputingResource] 
(agentRequest-Handler-5:null) Unsupported command
2014-07-31 14:32:04,078 WARN  [cloud.agent.Agent] (agentRequest-Handler-2:null) 
Caught:
java.lang.NullPointerException
        at 
com.cloud.network.Networks$BroadcastDomainType.getSchemeValue(Networks.java:159)
        at 
com.cloud.network.Networks$BroadcastDomainType.getValue(Networks.java:213)
        at 
com.cloud.hypervisor.kvm.resource.BridgeVifDriver.plug(BridgeVifDriver.java:96)
        at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:3215)
        at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1279)
        at com.cloud.agent.Agent.processRequest(Agent.java:501)
        at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:808)
        at com.cloud.utils.nio.Task.run(Task.java:84)
        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)
2014-07-31 16:18:57,790 WARN  [cloud.agent.Agent] (agentRequest-Handler-4:null) 
Caught:

Name        : libvirt
Arch        : x86_64
Version     : 0.10.2
Release     : 29.el6_5.9
Size        : 5.6 M
Repo        : installed
>From repo   : updates
Summary     : Library providing a simple virtualization API
URL         : http://libvirt.org/
License     : LGPLv2+
Description : Libvirt is a C toolkit to interact with the virtualization 
capabilities
            : of recent versions of Linux (and other OSes). The main package 
includes
            : the libvirtd server exporting the virtualization support.


> Cannot launch VM after 4.4 Upgrade on KVM
> -----------------------------------------
>
>                 Key: CLOUDSTACK-7217
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7217
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: KVM, Management Server
>    Affects Versions: 4.4.0
>         Environment: CentOS 6
>            Reporter: Prieur Leary
>            Priority: Critical
>
> Cannot launch VM after 4.4 upgrade.
> Management server logs following:
> 2014-07-31 15:43:21,111 DEBUG [c.c.c.CapacityManagerImpl] 
> (Work-Job-Executor-157:ctx-089a5f26 job-30485/job-31053 ctx-1c0b8564) release 
> cpu from host: 15, old used: 25500,reserved: 0, actual total$
> 2014-07-31 15:43:21,111 DEBUG [c.c.c.CapacityManagerImpl] 
> (Work-Job-Executor-157:ctx-089a5f26 job-30485/job-31053 ctx-1c0b8564) release 
> mem from host: 15, old used: 37044092928,reserved: 0, total:$
> 2014-07-31 15:43:21,183 ERROR [c.c.v.VmWorkJobHandlerProxy] 
> (Work-Job-Executor-157:ctx-089a5f26 job-30485/job-31053 ctx-1c0b8564) 
> Invocation exception, caused by: com.cloud.exception.AgentUnavaila$
> 2014-07-31 15:43:21,183 INFO  [c.c.v.VmWorkJobHandlerProxy] 
> (Work-Job-Executor-157:ctx-089a5f26 job-30485/job-31053 ctx-1c0b8564) Rethrow 
> exception com.cloud.exception.AgentUnavailableException: R$
> 2014-07-31 15:43:21,183 DEBUG [c.c.v.VmWorkJobDispatcher] 
> (Work-Job-Executor-157:ctx-089a5f26 job-30485/job-31053) Done with run of VM 
> work job: com.cloud.vm.VmWorkStart for VM 3783, job origin: 3$
> 2014-07-31 15:43:21,183 ERROR [c.c.v.VmWorkJobDispatcher] 
> (Work-Job-Executor-157:ctx-089a5f26 job-30485/job-31053) Unable to complete 
> AsyncJobVO {id:31053, userId: 1, accountId: 1, instanceType: n$
> com.cloud.exception.AgentUnavailableException: Resource [Host:15] is 
> unreachable: Host 15: Unable to start instance due to Unable to get answer 
> that is of class com.cloud.agent.api.StartAnswer
>         at 
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:1105)
>         at 
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:5190)
>         at sun.reflect.GeneratedMethodAccessor296.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at 
> com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
>         at 
> com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:5335)
>         at 
> com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)
>         at 
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:503)
>         at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
>         at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>         at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>         at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>         at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
>         at 
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:460)
>         at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         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)
> Caused by: com.cloud.utils.exception.CloudRuntimeException: Unable to get 
> answer that is of class com.cloud.agent.api.StartAnswer
>         at com.cloud.agent.manager.Commands.getAnswer(Commands.java:80)
>         at 
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:1019)
>         ... 19 more
> 2014-07-31 15:43:21,185 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
> (Work-Job-Executor-157:ctx-089a5f26 job-30485/job-31053) Complete async 
> job-31053, jobStatus: FAILED, resultCode: 0, result: rO0ABXN$
> 2014-07-31 15:43:21,252 DEBUG [c.c.s.StatsCollector] 
> (StatsCollector-2:ctx-e03eec0e) VmStatsCollector is running...
> 2014-07-31 15:43:21,281 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
> (Work-Job-Executor-157:ctx-089a5f26 job-30485/job-31053) Done executing 
> com.cloud.vm.VmWorkStart for job-31053
> 2014-07-31 15:43:21,586 WARN  [o.a.c.s.SecondaryStorageManagerImpl] 
> (secstorage-1:ctx-a3cfb728) Exception while trying to start secondary storage 
> vm
> java.lang.RuntimeException: Job failed due to exception Resource [Host:15] is 
> unreachable: Host 15: Unable to start instance due to Unable to get answer 
> that is of class com.cloud.agent.api.StartA$
>         at 
> com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:114)
>         at 
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:503)
>         at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
>         at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to