[
https://issues.apache.org/jira/browse/CLOUDSTACK-2444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sangeetha Hariharan updated CLOUDSTACK-2444:
--------------------------------------------
Component/s: Management Server
Fix Version/s: 4.2.0
Description:
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
....
Environment: Build from pvlan branch ( same behavior seen with builds
form master)
Affects Version/s: 4.2.0
Summary: Not able to deploy Vms with service offering that has
128 MB memory requirement on Xenserver hosts. (was: Not able to deploy Vms
with userdata in Shared network.)
> 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
> 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
> ....
--
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