You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "prashant kumar mishra (JIRA)" <ji...@apache.org> on 2013/07/26 11:05:48 UTC

[jira] [Created] (CLOUDSTACK-3847) scaling up vm failed becasue isdynamicallyscalable":false but vm got migrated

prashant kumar mishra created CLOUDSTACK-3847:
-------------------------------------------------

             Summary: scaling up vm failed  becasue isdynamicallyscalable":false but vm got migrated
                 Key: CLOUDSTACK-3847
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3847
             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: hypervisor :xen 6.1
            Reporter: prashant kumar mishra
            Priority: Critical
             Fix For: 4.2.0


Steps to reproduce
----------------------------
1-prepare a CS setup with adv networking  + 1xen 6.1 
2-pack the host (no memory resource should be left over)
3-add another host
4-try to scale up a vm for which isdynamicallyscalable":false

Expected
--------------

scaling up should be failed

Actual
-----------
vm got migrated but scaleup failed



Logs
----------
Type-->Pool(Id))] : Dest[Zone(1)-Pod(1)-Cluster(1)-Host(6)-Storage(Volume(3|ROOT-->Pool(1))]
2013-07-26 10:08:44,288 DEBUG [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-1:job-70 = [ cac0dc4f-c409-4b32-9489-c7ec7b661147 ])  Found Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type-->Pool(Id))] : Dest[Zone(1)-Pod(1)-Cluster(1)-Host(6)-Storage(Volume(3|ROOT-->Pool(1))] for scaling the vm to.
2013-07-26 10:08:44,288 INFO  [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-1:job-70 = [ cac0dc4f-c409-4b32-9489-c7ec7b661147 ]) Migrating VM[User|ram1] to Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type-->Pool(Id))] : Dest[Zone(1)-Pod(1)-Cluster(1)-Host(6)-Storage(Volume(3|ROOT-->Pool(1))]
2013-07-26 10:08:44,328 DEBUG [cloud.network.NetworkModelImpl] (Job-Executor-1:job-70 = [ cac0dc4f-c409-4b32-9489-c7ec7b661147 ]) Service SecurityGroup is not supported in the network id=204
2013-07-26 10:08:44,339 DEBUG [cloud.storage.VolumeManagerImpl] (Job-Executor-1:job-70 = [ cac0dc4f-c409-4b32-9489-c7ec7b661147 ]) Preparing 1 volumes for VM[User|ram1]
2013-07-26 10:08:44,450 DEBUG [agent.manager.AgentAttache] (Job-Executor-1:job-70 = [ cac0dc4f-c409-4b32-9489-c7ec7b661147 ]) Request seq: 954007714
2013-07-26 10:08:44,454 DEBUG [agent.manager.AgentAttache] (Job-Executor-1:job-70 = [ cac0dc4f-c409-4b32-9489-c7ec7b661147 ]) waiting to send 954007714
2013-07-26 10:08:44,454 DEBUG [agent.manager.AgentAttache] (Job-Executor-1:job-70 = [ cac0dc4f-c409-4b32-9489-c7ec7b661147 ]) entering synchronize block for sending 954007714
2013-07-26 10:08:44,466 DEBUG [agent.transport.Request] (Job-Executor-1:job-70 = [ cac0dc4f-c409-4b32-9489-c7ec7b661147 ]) Seq 6-954007714: Sending  { Cmd , MgmtId: 7635042566263, via: 6, Ver: v1, Flags: 100111, [{"com.cloud.agent.api.PrepareForMigrationCommand":{"vm":{"id":3,"name":"i-2-3-VM","bootloader":"PyGrub","type":"User","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":3221225472,"maxRam":3221225472,"arch":"x86_64","os":"CentOS 5.3 (64-bit)","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"fdeba2d2d285e4e9","params":{},"uuid":"6464b035-39c5-4753-bd82-9ceb3de2ad3c","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"b6966dfc-ca46-4975-843a-e0077511684a","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":21474836480,"path":"11551c45-c85b-4cf4-b1e7-2b87fab3762f","volumeId":3,"vmName":"i-2-3-VM","accountId":2,"format":"VHD","id":3}},"diskSeq":0,"type":"ROOT"}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"uuid":"9cba5fe2-7303-4254-870f-f2f6e25dc9c4","ip":"10.1.1.250","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:3f:c2:00:01","dns1":"10.103.128.16","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://1108","isolationUri":"vlan://1108","isSecurityGroupEnabled":false}]},"wait":0}}] }





2013-07-26 10:09:24,015 WARN  [xen.resource.CitrixResourceBase] (DirectAgent-157:null) Unable to upgrade i-2-3-VM due to Unable to Scale the vm: i-2-3-VMas vm does not have xs tools to support dynamic scaling
com.cloud.utils.exception.CloudRuntimeException: Unable to Scale the vm: i-2-3-VMas vm does not have xs tools to support dynamic scaling



 

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