You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Abhinandan Prateek (JIRA)" <ji...@apache.org> on 2013/07/26 12:13:59 UTC

[jira] [Updated] (CLOUDSTACK-2444) Not able to deploy Vms with service offering that has 128 MB memory requirement on Xenserver hosts.

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-2444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Abhinandan Prateek updated CLOUDSTACK-2444:
-------------------------------------------

    Assignee: Sanjay Tripathi
    
> Not able to deploy Vms with service offering that has 128 MB memory requirement on Xenserver hosts.
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2444
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2444
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>         Environment: Build from pvlan branch ( same behavior seen with builds form master)
>            Reporter: Sangeetha Hariharan
>            Assignee: Sanjay Tripathi
>             Fix For: 4.2.0
>
>
> Not able to deploy Vms with service offering that has 128 MB memory requirement.
> Set up:
> Create service offering that has 128 MB memory requirement.
> Deploy a Vm using this service offerings.
> User Vm starts successfully but it gets to stopped state after few seconds.
> deployVM reports success . But later on  cluster sync sees this Vm in stopped state and sends a StopCommand for this VM.
> management server logs:
> 2013-05-10 16:49:42,506 DEBUG [agent.transport.Request] (Job-Executor-96:job-161) Seq 5-1363347283: Executing:  { Cmd , MgmtId: 7647994577963, via: 5, Ver: v1, Fl
> ags: 100111, [{"StartCommand":{"vm":{"id":58,"name":"i-2-58-VM","bootloader":"PyGrub","type":"User","cpus":1,"minSpeed":100,"maxSpeed":100,"minRam":136314880,"max
> Ram":136314880,"arch":"x86_64","os":"CentOS 5.3 (64-bit)","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"vncPassword":"8df034e62ede1e55
> ","params":{},"uuid":"7d37fc57-465d-4d62-9e4b-956b07af45c7","disks":[{"id":57,"name":"ROOT-58","mountPoint":"/export/home/sangeetha/campo-systemp/primary","path":
> "69d5b936-5dd9-4988-86d0-178ac6bea9de","size":21474836480,"type":"ROOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"aaaeab15-72db-3ed6-8f46-c83495269
> 4d6","deviceId":0},{"id":58,"name":"CentOS 5.6(64-bit) no GUI (XenServer)","size":0,"type":"ISO","storagePoolType":"ISO","deviceId":3}],"nics":[{"deviceId":0,"net
> workRateMbps":200,"defaultNic":true,"uuid":"e2d6e8aa-620a-4a54-89fd-b2d04107df58","ip":"10.1.1.64","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:1f:
> 31:00:0e","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2021","isolationUri":"vlan://2021","isSecurityG
> roupEnabled":false}]},"hostIp":"10.223.81.61","wait":0}}] }
> 2013-05-10 16:49:42,506 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-52:null) Seq 5-1363347283: Executing request
> 2013-05-10 16:49:42,592 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-52:null) 1. The VM i-2-58-VM is in Starting state.
> 2013-05-10 16:49:42,652 DEBUG [xen.resource.XenServer56FP1Resource] (DirectAgent-52:null) Created VM e13cd8ae-2406-e01d-2364-c540418d642a for i-2-58-VM
> 2013-05-10 16:49:42,706 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-52:null) VBD ec4df891-7dcb-a292-53f2-5da1093423ab created for Vol[57|ROOT|69d5b936-5d
> d9-4988-86d0-178ac6bea9de|21474836480]
> 2013-05-10 16:49:42,744 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-52:null) VBD b96694b0-2645-2820-8e68-97dc972e7c1d created for Vol[58|ISO|null|0]
> 2013-05-10 16:49:42,744 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-52:null) Creating VIF for i-2-58-VM on nic [Nic:Guest-10.1.1.64-vlan://2021]
> 2013-05-10 16:49:42,799 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-52:null) Found a network called VLAN-1ae20f16-2367-e10e-b79d-8c27642cdae0-2021 on hos
> t=10.223.81.61;  Network=7627057c-1db5-26ec-fc0e-b2b3ecce177a; pif=b8922d23-102a-1c02-4093-ee491e70f820
> 2013-05-10 16:49:42,829 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-52:null) Created a vif 062aa30d-a65f-5419-dc33-99203758ebbf on 0
> 2013-05-10 16:49:43,206 DEBUG [cloud.api.ApiServlet] (catalina-exec-17:null) ===START===  10.217.252.128 -- GET  command=queryAsyncJobResult&jobId=3f2b44ae-2b94-4
> f93-bc48-c316fb7a71a8&response=json&sessionkey=oh7DW9oqg1QskMNcZZBe3a5JRH0%3D&_=1368229787809
> 2013-05-10 16:49:43,220 DEBUG [cloud.api.ApiServlet] (catalina-exec-17:null) ===END===  10.217.252.128 -- GET  command=queryAsyncJobResult&jobId=3f2b44ae-2b94-4f9
> 3-bc48-c316fb7a71a8&response=json&sessionkey=oh7DW9oqg1QskMNcZZBe3a5JRH0%3D&_=1368229787809
> 2013-05-10 16:49:43,324 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 2 routers to update status.
> 2013-05-10 16:49:43,325 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 networks to update RvR status.
> 2013-05-10 16:49:43,644 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 2 routers to update status.
> 2013-05-10 16:49:43,645 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 networks to update RvR status.
> 2013-05-10 16:49:46,214 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null) ===START===  10.217.252.128 -- GET  command=queryAsyncJobResult&jobId=3f2b44ae-2b94-4f
> 93-bc48-c316fb7a71a8&response=json&sessionkey=oh7DW9oqg1QskMNcZZBe3a5JRH0%3D&_=1368229790818
> 2013-05-10 16:49:46,229 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null) ===END===  10.217.252.128 -- GET  command=queryAsyncJobResult&jobId=3f2b44ae-2b94-4f93
> -bc48-c316fb7a71a8&response=json&sessionkey=oh7DW9oqg1QskMNcZZBe3a5JRH0%3D&_=1368229790818
> 2013-05-10 16:49:47,894 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-52:null) 2. The VM i-2-58-VM is in Running state.
> 2013-05-10 16:49:47,894 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-52:null) Seq 5-1363347283: Response Received:
> 2013-05-10 16:49:47,895 DEBUG [agent.transport.Request] (DirectAgent-52:null) Seq 5-1363347283: Processing:  { Ans: , MgmtId: 7647994577963, via: 5, Ver: v1, Flag
> s: 110, [{"StartAnswer":{"vm":{"id":58,"name":"i-2-58-VM","bootloader":"PyGrub","type":"User","cpus":1,"minSpeed":100,"maxSpeed":100,"minRam":136314880,"maxRam":1
> 36314880,"arch":"x86_64","os":"CentOS 5.3 (64-bit)","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"vncPassword":"8df034e62ede1e55","par
> ams":{},"uuid":"7d37fc57-465d-4d62-9e4b-956b07af45c7","disks":[{"id":57,"name":"ROOT-58","mountPoint":"/export/home/sangeetha/campo-systemp/primary","path":"69d5b
> 936-5dd9-4988-86d0-178ac6bea9de","size":21474836480,"type":"ROOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"aaaeab15-72db-3ed6-8f46-c834952694d6","deviceId":0},{"id":58,"name":"CentOS 5.6(64-bit) no GUI (XenServer)","size":0,"type":"ISO","storagePoolType":"ISO","deviceId":3}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"uuid":"e2d6e8aa-620a-4a54-89fd-b2d04107df58","ip":"10.1.1.64","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:1f:31:00:0e","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2021","isolationUri":"vlan://2021","isSecurityGroupEnabled":false}]},"result":true,"wait":0}}] }
> 2013-05-10 16:49:47,895 DEBUG [agent.transport.Request] (Job-Executor-96:job-161) Seq 5-1363347283: Received:  { Ans: , MgmtId: 7647994577963, via: 5, Ver: v1, Flags: 110, { StartAnswer } }
> 2013-05-10 16:49:47,896 DEBUG [agent.manager.AgentAttache] (DirectAgent-52:null) Seq 5-1363347283: No more commands found
> 2013-05-10 16:49:47,924 DEBUG [cloud.network.NetworkModelImpl] (Job-Executor-96:job-161) Service SecurityGroup is not supported in the network id=211
> 2013-05-10 16:49:47,927 DEBUG [cloud.network.NetworkModelImpl] (Job-Executor-96:job-161) Service SecurityGroup is not supported in the network id=211
> 2013-05-10 16:49:47,933 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-96:job-161) VM state transitted from :Starting to Running with event: OperationSucceededvm's original host id: 5 new host id: 5 host id before state transition: 5
> 2013-05-10 16:49:47,933 DEBUG [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-96:job-161) Start completed for VM VM[User|test-130]
> 2013-05-10 16:49:47,945 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-96:job-161) Complete async job-161, jobStatus: 1, resultCode: 0, result: org.apache.cloudstack.api.response.UserVmResponse@31b2e224
> 2013-05-10 16:49:47,951 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-96:job-161) Done executing org.apache.cloudstack.api.command.user.vm.DeployVMCmd for job-161
> ....
> 2013-05-10 16:50:32,259 WARN  [xen.resource.CitrixResourceBase] (DirectAgent-218:null) The VM is now missing marking it as Stopped i-2-58-VM
> 2013-05-10 16:50:32,259 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-218:null) Seq 5-1363345413: Response Received:
> 2013-05-10 16:50:32,260 DEBUG [agent.transport.Request] (DirectAgent-218:null) Seq 5-1363345413: Processing:  { Ans: , MgmtId: 7647994577963, via: 5, Ver: v1, Flags: 10, [{"ClusterSyncAnswer":{"_clusterId":1,"_newStates":{"i-2-58-VM":{"t":"c90d77dd-b14c-4035-ac51-6235e004d36f","u":"Stopped"}},"_isExecuted":false,"result":true,"wait":0}}] }
> 2013-05-10 16:50:32,263 DEBUG [cloud.vm.VirtualMachineManagerImpl] (DirectAgent-218:null) VM i-2-58-VM: cs state = Running and realState = Stopped
> 2013-05-10 16:50:32,263 DEBUG [cloud.vm.VirtualMachineManagerImpl] (DirectAgent-218:null) VM i-2-58-VM: cs state = Running and realState = Stopped
> 2013-05-10 16:50:32,263 DEBUG [cloud.ha.HighAvailabilityManagerImpl] (DirectAgent-218:null) VM does not require investigation so I'm marking it as Stopped: VM[User|test-130]
> 2013-05-10 16:50:32,263 WARN  [apache.cloudstack.alerts] (DirectAgent-218:null)  alertType:: 8 // dataCenterId:: 1 // podId:: 1 // clusterId:: null // message:: VM (name: test-130, id: 58) stopped unexpectedly on host id:5, availability zone id:1, pod id:1
> 2013-05-10 16:50:32,269 DEBUG [cloud.ha.HighAvailabilityManagerImpl] (DirectAgent-218:null) VM is not HA enabled so we're done.
> 2013-05-10 16:50:32,275 DEBUG [cloud.capacity.CapacityManagerImpl] (DirectAgent-218:null) VM state transitted from :Running to Stopping with event: StopRequestedvm's original host id: 5 new host id: 5 host id before state transition: 5
> 2013-05-10 16:50:32,277 DEBUG [agent.transport.Request] (DirectAgent-218:null) Seq 5-1363347287: Sending  { Cmd , MgmtId: 7647994577963, via: 5, Ver: v1, Flags: 100111, [{"StopCommand":{"isProxy":false,"vmName":"i-2-58-VM","wait":0}}] }
> 2013-05-10 16:50:32,277 DEBUG [agent.transport.Request] (DirectAgent-218:null) Seq 5-1363347287: Executing:  { Cmd , MgmtId: 7647994577963, via: 5, Ver: v1, Flags: 100111, [{"StopCommand":{"isProxy":false,"vmName":"i-2-58-VM","wait":0}}] }
> 2013-05-10 16:50:32,277 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-234:null) Seq 5-1363347287: Executing request
> 2013-05-10 16:50:32,392 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-234:null) 9. The VM i-2-58-VM is in Stopping state
> 2013-05-10 16:50:32,529 INFO  [xen.resource.XenServer56Resource] (DirectAgent-234:null) Catch com.xensource.xenapi.Types$VifInUse: failed to destory VLAN eth0 on host c90d77dd-b14c-4035-ac51-6235e004d36f due to Network has active VIFs
> 2013-05-10 16:50:32,530 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-234:null) 10. The VM i-2-58-VM is in Stopped state
> 2013-05-10 16:50:32,530 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-234:null) Seq 5-1363347287: Response Received:
> 2013-05-10 16:50:32,530 DEBUG [agent.transport.Request] (DirectAgent-234:null) Seq 5-1363347287: Processing:  { Ans: , MgmtId: 7647994577963, via: 5, Ver: v1, Flags: 110, [{"StopAnswer":{"vncPort":0,"result":true,"details":"Stop VM i-2-58-VM Succeed","wait":0}}] }
> 2013-05-10 16:50:32,530 DEBUG [agent.transport.Request] (DirectAgent-218:null) Seq 5-1363347287: Received:  { Ans: , MgmtId: 7647994577963, via: 5, Ver: v1, Flags: 110, { StopAnswer } }
> 2013-05-10 16:50:32,533 DEBUG [cloud.vm.VirtualMachineManagerImpl] (DirectAgent-218:null) VM[User|test-130] is stopped on the host.  Proceeding to release resource held.

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