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

Marcus Sorensen commented on CLOUDSTACK-120:
--------------------------------------------

Most likely that missing ssh key. If the agent cant ssh into the guest it shuts 
the guest down.The question is why it is missing the first time but not the 
second time. It should get populated any time the agent starts if needed, not 
just the second time. When this issue occurs is the first start of cloud agent 
always at boot? Can you find anything in the log regarding failed copy at the 
first start?
                
> Failed to deploy Router with KVM hyperviosor [  Can't find the mapping of 
> guest os: Debian GNU/Linux 5.0 (32-bit)]
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-120
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-120
>             Project: CloudStack
>          Issue Type: Bug
>          Components: KVM, Management Server
>    Affects Versions: pre-4.0.0
>            Reporter: Sailaja Mada
>            Assignee: edison su
>            Priority: Blocker
>             Fix For: pre-4.0.0
>
>         Attachments: agent.log, agentlog_reopen120, api-server.log, 
> management-server.log, mslog_reopen120.log
>
>
> Steps:
> 1. Setup Management server 
> 2. Setup KVM host with Cloudstack Agent installed 
> 3. Setup Basic Zone with SG service offering 
> 4. After having all the system VM's running , tried to deploy the first 
> instance 
> Observation :
> First Instance deployment failed as the router failed start .
> MS Error log :
> 2012-09-17 15:10:27,255 DEBUG 
> [network.router.VirtualNetworkApplianceManagerImpl] 
> (RouterStatusMonitor-1:null) Found 0 routers.
> 2012-09-17 15:10:31,882 DEBUG [agent.transport.Request] 
> (AgentManager-Handler-14:null) Seq 3-1151271005: Processing:  { Ans: , 
> MgmtId: 55487956346259, via: 3, Ver: v1, Flags: 110, 
> [{"StartAnswer":{"vm":{"id":4,"name":"r-4-VM","type":"DomainRouter","cpus":1,"speed":500,"minRam":134217728,"maxRam":134217728,"arch":"x86_64","os":"Debian
>  GNU/Linux 5.0 (32-bit)","bootArgs":" template=domP name=r-4-VM 
> eth0ip=10.102.125.188 eth0mask=255.255.255.0 gateway=10.102.125.1 
> domain=cs1cloud.internal dhcprange=10.102.125.1 eth1ip=169.254.1.202 
> eth1mask=255.255.0.0 type=dhcpsrvr disable_rp_filter=true 
> dns1=10.103.128.15","rebootOnCrash":false,"enableHA":true,"limitCpuUse":false,"vncPassword":"fa3d755b18ba1297","params":{},"uuid":"6e5680fa-14b1-447d-9024-1bed9cb59268","disks":[{"id":4,"name":"/cloudstack/sailaja/pri1/","mountPoint":"0614e5e3-77ce-46da-b356-4e528752aa9d","path":"0614e5e3-77ce-46da-b356-4e528752aa9d","size":725811200,"type":"ROOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"e95f2598-5038-3ceb-a326-5309b3295012","deviceId":0}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"uuid":"a6b006af-039e-4a00-bdeb-97ac623fb56e","ip":"10.102.125.188","netmask":"255.255.255.0","gateway":"10.102.125.1","mac":"06:bb:c4:00:00:09","dns1":"10.103.128.15","broadcastType":"Native","type":"Guest","broadcastUri":"vlan://untagged","isolationUri":"ec2://untagged","isSecurityGroupEnabled":false},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"e694c359-0609-42b6-872b-f2191ee20241","ip":"169.254.1.202","netmask":"255.255.0.0","gateway":"169.254.0.1","mac":"0e:00:a9:fe:01:ca","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}}] }
> 2012-09-17 15:10:31,882 DEBUG [agent.transport.Request] 
> (Job-Executor-8:job-8) Seq 3-1151271005: Received:  { Ans: , MgmtId: 
> 55487956346259, via: 3, Ver: v1, Flags: 110, { StartAnswer, CheckSshAnswer, 
> GetDomRVersionAnswer, Answer } }
> 2012-09-17 15:10:31,884 DEBUG [agent.manager.AgentAttache] 
> (AgentManager-Handler-14:null) Seq 3-1151271005: No more commands found
> 2012-09-17 15:10:31,888 WARN  
> [network.router.VirtualNetworkApplianceManagerImpl] (Job-Executor-8:job-8) 
> Unable to get the template/scripts version of router r-4-VM due to: 
> GetDomRVersionCmd failed
> 2012-09-17 15:10:31,888 INFO  [cloud.vm.VirtualMachineManagerImpl] 
> (Job-Executor-8:job-8) The guru did not like the answers so stopping 
> VM[DomainRouter|r-4-VM]
> 2012-09-17 15:10:31,890 DEBUG [agent.transport.Request] 
> (Job-Executor-8:job-8) Seq 3-1151271010: Sending  { Cmd , MgmtId: 
> 55487956346259, via: 3, Ver: v1, Flags: 100111, 
> [{"StopCommand":{"isProxy":false,"vmName":"r-4-VM","wait":0}}] }
> Cloud Agent Error log :
> 2012-09-17 15:44:06,178 DEBUG [kvm.resource.KVMGuestOsMapper] 
> (agentRequest-Handler-5:null) Can't find the mapping of guest os: Debian 
> GNU/Linux 5.0 (32-bit)

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

Reply via email to