incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sangeetha Hariharan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-1002) Not able to start VM.
Date Thu, 17 Jan 2013 19:46:12 GMT
Sangeetha Hariharan created CLOUDSTACK-1002:
-----------------------------------------------

             Summary: Not able to start VM.
                 Key: CLOUDSTACK-1002
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1002
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.1.0
         Environment: Build from "network-refactor"
            Reporter: Sangeetha Hariharan
             Fix For: 4.1.0


Set up:

Advanced Zone with KVM host.

Using zone creation wizard , set up the zone.
System Vms come up successfully.

After some point noticed that the KVM agent was in disconnected state.
Started the agent manually.

After this Host remains in "Connected" state.

Deployed a VM.

Vm deployment fails , with following exception seen in logs when router is being started:


management-server.log:

013-01-17 14:19:23,549 DEBUG [agent.transport.Request] (AgentManager-Handler-3:null) Seq 1-179503114:
Processing:  { Ans: , MgmtId: 206915885081428, via: 1, Ver: v1,
 Flags: 110, [{"StartAnswer":{"vm":{"id":5,"name":"r-5-VM","type":"DomainRouter","cpus":1,"speed":500,"minRam":134217728,"maxRam":134217728,"arch":"x86_64","os":"Debi
an GNU/Linux 5.0 (32-bit)","bootArgs":" template=domP name=r-5-VM eth2ip=10.223.139.33 eth2mask=255.255.255.192
gateway=10.223.139.1 eth0ip=10.1.1.1 eth0mask=255.255.
255.0 domain=cs2cloud.internal dhcprange=10.1.1.1 eth1ip=169.254.3.173 eth1mask=255.255.0.0
type=router disable_rp_filter=true dns1=72.52.126.11 dns2=72.52.126.12","r
ebootOnCrash":false,"enableHA":true,"limitCpuUse":false,"vncPassword":"4aac8d06636e2d66","params":{},"uuid":"3255e7f8-2adf-46d5-8701-9f6ee92fbcaf","disks":[{"id":5,"n
ame":"/export/home/sangeetha/asf/primary","mountPoint":"11cc719d-802e-477c-9a21-783710a59616","path":"11cc719d-802e-477c-9a21-783710a59616","size":725811200,"type":"R
OOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"afcf9136-8f08-3361-8328-fac0f471b3e4","deviceId":0}],"nics":[{"devi
ceId":2,"networkRateMbps":200,"defaultNic":true,"uuid":"4997a47f-494a-4204-aa48-142248cbb4d6","ip":"10.223.139.33","netmask":"255.255.255.192","gateway":"10.223.139.1","mac":"06:b4:64:00:00:0d","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://1390","isolationUri":"vlan://1390","isSecurityGroupEnabled":false},{"deviceId":0,"networkRateMbps":200,"defaultNic":false,"uuid":"585f43bf-bebd-4188-8091-3080ec9a4ad3","ip":"10.1.1.1","netmask":"255.255.255.0","mac":"02:00:6c:b6:00:03","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2483","isolationUri":"vlan://2483","isSecurityGroupEnabled":false},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"2d38f4f8-3c0f-4f87-bbdf-3177993a3b3a","ip":"169.254.3.173","netmask":"255.255.0.0","gateway":"169.254.0.1","mac":"0e:00:a9:fe:03:ad","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":false}]},"result":true,"wait":0}},{"check.CheckSshAnswer":{"result":true,"wait":0}},{"GetDomRVersionAnswer":{"result":false,"details":"GetDomRVersionCmd
failed","wait":0}},{"Answer":{"result":false,"details":"Stopped by previous failure","wait":0}},{"Answer":{"result":false,"details":"Stopped
by previous failure","wait":0}}] }
2013-01-17 14:19:23,549 DEBUG [agent.manager.AgentAttache] (AgentManager-Handler-3:null) Seq
1-179503114: No more commands found
2013-01-17 14:19:23,549 DEBUG [agent.transport.Request] (Job-Executor-12:job-12) Seq 1-179503114:
Received:  { Ans: , MgmtId: 206915885081428, via: 1, Ver: v1, Flags: 110, { StartAnswer, CheckSshAnswer,
GetDomRVersionAnswer, Answer, Answer } }
2013-01-17 14:19:23,609 WARN  [network.router.VirtualNetworkApplianceManagerImpl] (Job-Executor-12:job-12)
Unable to get the template/scripts version of router r-5-VM due to: GetDomRVersionCmd failed
2013-01-17 14:19:23,609 INFO  [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-12:job-12)
The guru did not like the answers so stopping VM[DomainRouter|r-5-VM]
2013-01-17 14:19:23,612 DEBUG [agent.transport.Request] (Job-Executor-12:job-12) Seq 1-179503118:
Sending  { Cmd , MgmtId: 206915885081428, via: 1, Ver: v1, Flags: 100111, [{"StopCommand":{"isProxy":false,"vmName":"r-5-VM","wait":0}}]
}


agent.log:

2013-01-17 19:35:42,480 WARN  [cloud.agent.Agent] (agentRequest-Handler-3:null) Caught:
java.lang.NullPointerException
        at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.getStorageAdaptor(KVMStoragePoolManager.java:41)
        at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.getStoragePool(KVMStoragePoolManager.java:66)
        at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.cleanupDisk(LibvirtComputingResource.java:3153)
        at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2687)
        at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:968)
        at com.cloud.agent.Agent.processRequest(Agent.java:525)
        at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
        at com.cloud.utils.nio.Task.run(Task.java:83)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)

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