cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "prashant kumar mishra (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-4420) CS is triggering MigrationCommand when vm scaleup is failing with error;Requested memory limit is beyond the hotadd memory limit for this VM at the moment is 3072MB
Date Wed, 21 Aug 2013 08:52:53 GMT

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

prashant kumar mishra updated CLOUDSTACK-4420:
----------------------------------------------

    Attachment: Logs_DB.rar
    
> CS is triggering MigrationCommand  when vm scaleup is failing with error;Requested memory
limit is beyond the hotadd memory limit for this VM at the moment is 3072MB
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4420
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4420
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.2.0
>         Environment: hypervisor:esxi5.1
>            Reporter: prashant kumar mishra
>             Fix For: 4.2.0
>
>         Attachments: Logs_DB.rar
>
>
> Steps to reproduce:
> ---------------------------
> 1-prepare a CS setup with esxi5.1 
> 2-add one more  host in same cluster
> 3-Deploy a vm with small service offering
> 4-create a service offering say mem {cpu=1000,Ram=4096}
> 5-scaleup vm to SO mem
> Expected
> -------------
> scaleup should fail  because  limitation(vmware/linux) .
> Actual
> ----------
> Scaleup is failing but CS is triggering for the vm migration
> Logs
> --------
> w used: 5771362304, reserved: 0; requested mem: 4294967296,alloc_from_last:false
> 2013-08-21 10:04:54,487 DEBUG [agent.transport.Request] (Job-Executor-27:job-27 = [ 89f9b494-f7ae-4f54-a498-25a418f7894a
]) Seq 1-1071317399: Sending  { Cmd , MgmtId: 7601957896234, via: 1, Ver: v1, Flags: 100111,
[{"com.cloud.agent.api.ScaleVmCommand":{"vm":{"id":1,"name":"i-2-3-VM","cpus":1,"minSpeed":1000,"maxSpeed":1000,"minRam":4294967296,"maxRam":4294967296,"rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false},"vmName":"i-2-3-VM","cpus":1,"minSpeed":1000,"maxSpeed":1000,"minRam":4294967296,"maxRam":4294967296,"wait":0}}]
}
> 2013-08-21 10:04:54,490 DEBUG [agent.transport.Request] (Job-Executor-27:job-27 = [ 89f9b494-f7ae-4f54-a498-25a418f7894a
]) Seq 1-1071317399: Executing:  { Cmd , MgmtId: 7601957896234, via: 1, Ver: v1, Flags: 100111,
[{"com.cloud.agent.api.ScaleVmCommand":{"vm":{"id":1,"name":"i-2-3-VM","cpus":1,"minSpeed":1000,"maxSpeed":1000,"minRam":4294967296,"maxRam":4294967296,"rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false},"vmName":"i-2-3-VM","cpus":1,"minSpeed":1000,"maxSpeed":1000,"minRam":4294967296,"maxRam":4294967296,"wait":0}}]
}
> 2013-08-21 10:04:54,491 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-121:null)
Seq 1-1071317399: Executing request
> 2013-08-21 10:04:54,492 DEBUG [vmware.mo.HostMO] (DirectAgent-121:10.147.40.7) find VM
i-2-3-VM on host
> 2013-08-21 10:04:54,492 INFO  [vmware.mo.HostMO] (DirectAgent-121:10.147.40.7) VM i-2-3-VM
not found in host cache
> 2013-08-21 10:04:54,492 DEBUG [vmware.mo.HostMO] (DirectAgent-121:10.147.40.7) load VM
cache on host
> 2013-08-21 10:04:54,652 ERROR [vmware.resource.VmwareResource] (DirectAgent-121:10.147.40.7)
Unexpected exception:
> com.cloud.utils.exception.CloudRuntimeException: Memory of VM i-2-3-VM cannot be scaled
to 4096MB. Requested memory limit is beyond the hotadd memory limit for this VM at the moment
is 3072MB.
>         at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:2588)
>         at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:562)
>         at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
>         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)
> 013-08-21 10:04:55,053 DEBUG [agent.transport.Request] (Job-Executor-27:job-27 = [ 89f9b494-f7ae-4f54-a498-25a418f7894a
]) Seq 4-957808725: Sending  { Cmd , MgmtId: 7601957896234, via: 4, Ver: v1, Flags: 100111,
[{"com.cloud.agent.api.PrepareForMigrationCommand":{"vm":{"id":3,"name":"i-2-3-VM","bootloader":"HVM","type":"User","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":536870912,"maxRam":536870912,"hostName":"test1","arch":"x86_64","os":"CentOS
5.3 (64-bit)","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":true,"vncPassword":"b454a348280d18ea","params":{"rootDiskController":"ide","nicAdapter":"E1000","nestedVirtualizationFlag":"false"},"uuid":"888c3968-7ddc-4d66-b413-50bed41f8688","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"932d063c-79aa-43d5-b4fa-d277413db9aa","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"8db52c2d-88f9-3b9d-9b81-f72fcb8097c2","id":1,"poolType":"NetworkFilesystem","host":"10.147.28.7","path":"/export/home/prashant/primary","port":2049}},"name":"ROOT-3","size":2147483648,"path":"ROOT-3","volumeId":3,"vmName":"i-2-3-VM","accountId":2,"format":"OVA","id":3,"hypervisorType":"VMware"}},"diskSeq":0,"type":"ROOT"}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"uuid":"36daf032-5f59-46ec-91ba-a4fecc1ecb78","ip":"10.1.1.190","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:51:a9:00:01","dns1":"10.103.128.16","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://1107","isolationUri":"vlan://1107","isSecurityGroupEnabled":false}]},"wait":0}}]
}
> 2013-08-21 10:04:55,055 DEBUG [agent.transport.Request] (Job-Executor-27:job-27 = [ 89f9b494-f7ae-4f54-a498-25a418f7894a
]) Seq 4-957808725: Executing:  { Cmd , MgmtId: 7601957896234, via: 4, Ver: v1, Flags: 100111,
[{"com.cloud.agent.api.PrepareForMigrationCommand":{"vm":{"id":3,"name":"i-2-3-VM","bootloader":"HVM","type":"User","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":536870912,"maxRam":536870912,"hostName":"test1","arch":"x86_64","os":"CentOS
5.3 (64-bit)","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":true,"vncPassword":"b454a348280d18ea","params":{"rootDiskController":"ide","nicAdapter":"E1000","nestedVirtualizationFlag":"false"},"uuid":"888c3968-7ddc-4d66-b413-50bed41f8688","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"932d063c-79aa-43d5-b4fa-d277413db9aa","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"8db52c2d-88f9-3b9d-9b81-f72fcb8097c2","id":1,"poolType":"NetworkFilesystem","host":"10.147.28.7","path":"/export/home/prashant/primary","port":2049}},"name":"ROOT-3","size":2147483648,"path":"ROOT-3","volumeId":3,"vmName":"i-2-3-VM","accountId":2,"format":"OVA","id":3,"hypervisorType":"VMware"}},"diskSeq":0,"type":"ROOT"}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"uuid":"36daf032-5f59-46ec-91ba-a4fecc1ecb78","ip":"10.1.1.190","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:51:a9:00:01","dns1":"10.103.128.16","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://1107","isolationUri":"vlan://1107","isSecurityGroupEnabled":false}]},"wait":0}}]
}
> 2013-08-21 10:04:55,056 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-276:null)
Seq 4-957808725: Executing request
> 2013-08-21 10:04:55,068 INFO  [vmware.resource.VmwareResource] (DirectAgent-276:10.147.40.11)
Executing resource PrepareForMigrationCommand: {"vm":{"id":3,"name":"i-2-3-VM","bootloader":"HVM","type":"User","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":536870912,"maxRam":536870912,"hostName":"test1","arch":"x86_64","os":"CentOS
5.3 (64-bit)","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":true,"vncPassword":"b454a348280d18ea","params":{"rootDiskController":"ide","nicAdapter":"E1000","nestedVirtualizationFlag":"false"},"uuid":"888c3968-7ddc-4d66-b413-50bed41f8688","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"932d063c-79aa-43d5-b4fa-d277413db9aa","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"8db52c2d-88f9-3b9d-9b81-f72fcb8097c2","id":1,"poolType":"NetworkFilesystem","host":"10.147.28.7","path":"/export/home/prashant/primary","port":2049}},"name":"ROOT-3","size":2147483648,"path":"ROOT-3","volumeId":3,"vmName":"i-2-3-VM","accountId":2,"format":"OVA","id":3,"hypervisorType":"VMware"}},"diskSeq":0,"type":"ROOT"}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"uuid":"36daf032-5f59-46ec-91ba-a4fecc1ecb78","ip":"10.1.1.190","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:51:a9:00:01","dns1":"10.103.128.16","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://1107","isolationUri":"vlan://1107","isSecurityGroupEnabled":false}]},"wait":0}
> 2013-08-21 10:04:55,068 DEBUG [vmware.resource.VmwareResource] (DirectAgent-276:10.147.40.11)
Preparing host for migrating com.cloud.agent.api.to.VirtualMachineTO@6e7d046d

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