Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B1E19DEF7 for ; Wed, 26 Sep 2012 19:01:09 +0000 (UTC) Received: (qmail 63178 invoked by uid 500); 26 Sep 2012 19:01:09 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 63108 invoked by uid 500); 26 Sep 2012 19:01:09 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 63086 invoked by uid 99); 26 Sep 2012 19:01:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Sep 2012 19:01:09 +0000 Date: Thu, 27 Sep 2012 06:01:09 +1100 (NCT) From: "Marcus Sorensen (JIRA)" To: cloudstack-dev@incubator.apache.org Message-ID: <906706826.129931.1348686069177.JavaMail.jiratomcat@arcas> In-Reply-To: <2101618985.87109.1347876967821.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (CLOUDSTACK-120) Failed to deploy Router with KVM hyperviosor [ Can't find the mapping of guest os: Debian GNU/Linux 5.0 (32-bit)] MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-120?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D= 13464062#comment-13464062 ]=20 Marcus Sorensen commented on CLOUDSTACK-120: -------------------------------------------- Yes, I'm testing that right now. Since we're calling chmod directly we migh= t as well roll it into a single "mkdir -m 700 /root/.ssh". If I chmod /roo= t to add u+w, everything works. Apparently java uses the file permissions a= s the authoritative source; we should be able to do what we want as root. I= don't think we want to mess with /root perms, so calling mkdir from shell = should get around the issue. =20 > 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, agent.log.gz, agentlog_reopen120, api-ser= ver.log, management-server.log, mslog_reopen120.log > > > Steps: > 1. Setup Management server=20 > 2. Setup KVM host with Cloudstack Agent installed=20 > 3. Setup Basic Zone with SG service offering=20 > 4. After having all the system VM's running , tried to deploy the first i= nstance=20 > Observation : > First Instance deployment failed as the router failed start . > MS Error log : > 2012-09-17 15:10:27,255 DEBUG [network.router.VirtualNetworkApplianceMana= gerImpl] (RouterStatusMonitor-1:null) Found 0 routers. > 2012-09-17 15:10:31,882 DEBUG [agent.transport.Request] (AgentManager-Han= dler-14:null) Seq 3-1151271005: Processing: { Ans: , MgmtId: 5548795634625= 9, via: 3, Ver: v1, Flags: 110, [{"StartAnswer":{"vm":{"id":4,"name":"r-4-V= M","type":"DomainRouter","cpus":1,"speed":500,"minRam":134217728,"maxRam":1= 34217728,"arch":"x86_64","os":"Debian GNU/Linux 5.0 (32-bit)","bootArgs":" = template=3DdomP name=3Dr-4-VM eth0ip=3D10.102.125.188 eth0mask=3D255.255.25= 5.0 gateway=3D10.102.125.1 domain=3Dcs1cloud.internal dhcprange=3D10.102.12= 5.1 eth1ip=3D169.254.1.202 eth1mask=3D255.255.0.0 type=3Ddhcpsrvr disable_r= p_filter=3Dtrue dns1=3D10.103.128.15","rebootOnCrash":false,"enableHA":true= ,"limitCpuUse":false,"vncPassword":"fa3d755b18ba1297","params":{},"uuid":"6= e5680fa-14b1-447d-9024-1bed9cb59268","disks":[{"id":4,"name":"/cloudstack/s= ailaja/pri1/","mountPoint":"0614e5e3-77ce-46da-b356-4e528752aa9d","path":"0= 614e5e3-77ce-46da-b356-4e528752aa9d","size":725811200,"type":"ROOT","storag= ePoolType":"NetworkFilesystem","storagePoolUuid":"e95f2598-5038-3ceb-a326-5= 309b3295012","deviceId":0}],"nics":[{"deviceId":0,"networkRateMbps":200,"de= faultNic":true,"uuid":"a6b006af-039e-4a00-bdeb-97ac623fb56e","ip":"10.102.1= 25.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","b= roadcastUri":"vlan://untagged","isolationUri":"ec2://untagged","isSecurityG= roupEnabled":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","broadcast= Type":"LinkLocal","type":"Control","isSecurityGroupEnabled":false}]},"resul= t":true,"wait":0}},{"check.CheckSshAnswer":{"result":true,"wait":0}},{"GetD= omRVersionAnswer":{"result":false,"details":"GetDomRVersionCmd failed","wai= t":0}},{"Answer":{"result":false,"details":"Stopped by previous failure","w= ait":0}}] } > 2012-09-17 15:10:31,882 DEBUG [agent.transport.Request] (Job-Executor-8:j= ob-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.VirtualNetworkApplianceMana= gerImpl] (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-E= xecutor-8:job-8) The guru did not like the answers so stopping VM[DomainRou= ter|r-4-VM] > 2012-09-17 15:10:31,890 DEBUG [agent.transport.Request] (Job-Executor-8:j= ob-8) Seq 3-1151271010: Sending { Cmd , MgmtId: 55487956346259, via: 3, Ve= r: v1, Flags: 100111, [{"StopCommand":{"isProxy":false,"vmName":"r-4-VM","w= ait":0}}] } > Cloud Agent Error log : > 2012-09-17 15:44:06,178 DEBUG [kvm.resource.KVMGuestOsMapper] (agentReque= st-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 administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira