[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15885138#comment-15885138
 ] 

ASF GitHub Bot commented on CLOUDSTACK-9625:
--------------------------------------------

Github user sudhansu7 commented on the issue:

    https://github.com/apache/cloudstack/pull/1795
  
    Closing this PR as this is already fixed in master.


> Unable to scale VM from any offerring to a dynamic offerring
> ------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9625
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9625
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Management Server
>            Reporter: Sudhansu Sahu
>            Assignee: Sudhansu Sahu
>
> Test cpu limits of account while deploying VM with dynamic ... === TestName: 
> test_max_account_cpus_deploy_VM_1_ADMIN_ACCOUNT | Status : SUCCESS ===
> ok
> Test cpu limits of account while deploying VM with dynamic ... === TestName: 
> test_max_account_cpus_deploy_VM_2_USER_ACCOUNT | Status : SUCCESS ===
> ok
> Test cpu limits of account while scaling VM with dynamic ... === TestName: 
> test_max_account_cpus_scale_VM_1_ADMIN_ACCOUNT | Status : SUCCESS ===
> ok
> Test cpu limits of account while scaling VM with dynamic ... === TestName: 
> test_max_account_cpus_scale_VM_2_USER_ACCOUNT | Status : SUCCESS ===
> ok
> Test memory limits of account while deploying VM with dynamic ... === 
> TestName: test_max_account_memory_deploy_VM_1_ADMIN_ACCOUNT | Status : 
> SUCCESS ===
> ok
> Test memory limits of account while deploying VM with dynamic ... === 
> TestName: test_max_account_memory_deploy_VM_2_USER_ACCOUNT | Status : SUCCESS 
> ===
> ok
> Test memory limits of account while scaling VM with ... === TestName: 
> test_max_account_memory_scale_VM_1_ADMIN_ACCOUNT | Status : SUCCESS ===
> ok
> Test memory limits of account while scaling VM with ... === TestName: 
> test_max_account_memory_scale_VM_2_USER_ACCOUNT | Status : SUCCESS ===
> ok
> Test deploy VMs with affinity group and dynamic compute offering ... === 
> TestName: test_deploy_VM_with_affinity_group_1_ADMIN_ACCOUNT | Status : 
> SUCCESS ===
> ok
> Test deploy VMs with affinity group and dynamic compute offering ... === 
> TestName: test_deploy_VM_with_affinity_group_2_USER_ACCOUNT | Status : 
> SUCCESS ===
> ok
> === TestName: test_deploy_VM_with_affinity_group_2_USER_ACCOUNT | Status : 
> EXCEPTION ===
> ERROR
> Test scale running VM from dynamic offering to dynamic offering ... === 
> TestName: test_change_so_running_vm_dynamic_to_dynamic_1_ADMIN_ACCOUNT | 
> Status : FAILED ===
> FAIL
> Test scale running VM from dynamic offering to dynamic offering ... === 
> TestName: test_change_so_running_vm_dynamic_to_dynamic_2_USER_ACCOUNT | 
> Status : FAILED ===
> FAIL
> Test scale running VM from dynamic offering to static offering ... === 
> TestName: test_change_so_running_vm_dynamic_to_static_1_ADMIN_ACCOUNT | 
> Status : FAILED ===
> FAIL
> Test scale running VM from dynamic offering to static offering ... === 
> TestName: test_change_so_running_vm_dynamic_to_static_2_USER_ACCOUNT | Status 
> : FAILED ===
> FAIL
> Test scale running VM from static offering to dynamic offering ... === 
> TestName: test_change_so_running_vm_static_to_dynamic_1_ADMIN_ACCOUNT | 
> Status : FAILED ===
> FAIL
> Test scale running VM from static offering to dynamic offering ... === 
> TestName: test_change_so_running_vm_static_to_dynamic_2_USER_ACCOUNT | Status 
> : FAILED ===
> FAIL
> Test scale running VM from static offering to static offering ... === 
> TestName: test_change_so_running_vm_static_to_static_1_ADMIN_ACCOUNT | Status 
> : FAILED ===
> FAIL
> Test scale running VM from static offering to static offering ... === 
> TestName: test_change_so_running_vm_static_to_static_2_USER_ACCOUNT | Status 
> : FAILED ===
> FAIL
> Test scale stopped VM from dynamic offering to dynamic offering ... === 
> TestName: test_change_so_stopped_vm_dynamic_to_dynamic_1_ADMIN_ACCOUNT | 
> Status : FAILED ===
> FAIL
> Test scale stopped VM from dynamic offering to dynamic offering ... === 
> TestName: test_change_so_stopped_vm_dynamic_to_dynamic_2_USER_ACCOUNT | 
> Status : FAILED ===
> FAIL
> Test scale stopped VM from dynamic offering to static offering ... === 
> TestName: test_change_so_stopped_vm_dynamic_to_static_1_ADMIN_ACCOUNT | 
> Status : SUCCESS ===
> ok
> Test scale stopped VM from dynamic offering to static offering ... === 
> TestName: test_change_so_stopped_vm_dynamic_to_static_2_USER_ACCOUNT | Status 
> : SUCCESS ===
> ok
> Test scale stopped VM from static offering to dynamic offering ... === 
> TestName: test_change_so_stopped_vm_static_to_dynamic_1_ADMIN_ACCOUNT | 
> Status : FAILED ===
> FAIL
> Test scale stopped VM from static offering to dynamic offering ... === 
> TestName: test_change_so_stopped_vm_static_to_dynamic_2_USER_ACCOUNT | Status 
> : FAILED ===
> FAIL
> Test scale stopped VM from static offering to static offering ... === 
> TestName: test_change_so_stopped_vm_static_to_static_1_ADMIN_ACCOUNT | Status 
> : SUCCESS ===
> ok
> Test scale stopped VM from static offering to static offering ... === 
> TestName: test_change_so_stopped_vm_static_to_static_2_USER_ACCOUNT | Status 
> : SUCCESS ===
> ok
> ======================================================================
> ERROR: test suite for <class 
> 'integration.component.test_dynamic_compute_offering.TestDynamicServiceOffering'>
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Library/Python/2.7/site-packages/nose/suite.py", line 209, in run
>     self.setUp()
>   File "/Library/Python/2.7/site-packages/nose/suite.py", line 292, in setUp
>     self.setupContext(ancestor)
>   File "/Library/Python/2.7/site-packages/nose/suite.py", line 315, in 
> setupContext
>     try_run(context, names)
>   File "/Library/Python/2.7/site-packages/nose/util.py", line 471, in try_run
>     return func()
>   File 
> "/Users/sudhansu/devel/CodeHome/cloudstack/test/integration/component/test_dynamic_compute_offering.py",
>  line 65, in setUpClass
>     cls.hypervisor = self.testClient.getHypervisorInfo()
> NameError: global name 'self' is not defined
> -------------------- >> begin captured logging << --------------------
> test_deploy_VM_with_affinity_group_2_USER_ACCOUNT 
> (integration.component.test_dynamic_compute_offering.TestAffinityGroup): 
> DEBUG: Payload: {'apiKey': 
> u'LDhSmZKM3JIwQXfyn3-01AjnqnRRfRAlzh-yV4ZUgSocJaikXOgkU_NDclLevQHDzvfbsf11UwwBaJQ4KnAvZg',
>  'command': 'listDomains', 'signature': 'oUHAT7NTa5yR12i+23urwpLv98Q=', 
> 'response': 'json'}
> test_deploy_VM_with_affinity_group_2_USER_ACCOUNT 
> (integration.component.test_dynamic_compute_offering.TestAffinityGroup): 
> DEBUG: ========Sending GET Cmd : listDomains=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
> (1): localhost
> requests.packages.urllib3.connectionpool: DEBUG: "GET 
> /client/api?apiKey=LDhSmZKM3JIwQXfyn3-01AjnqnRRfRAlzh-yV4ZUgSocJaikXOgkU_NDclLevQHDzvfbsf11UwwBaJQ4KnAvZg&command=listDomains&response=json&signature=oUHAT7NTa5yR12i%2B23urwpLv98Q%3D
>  HTTP/1.1" 200 1059
> test_deploy_VM_with_affinity_group_2_USER_ACCOUNT 
> (integration.component.test_dynamic_compute_offering.TestAffinityGroup): 
> DEBUG: Response : [{primarystorageavailable : u'Unlimited', vpclimit : 
> u'Unlimited', iplimit : u'Unlimited', volumelimit : u'Unlimited', memorytotal 
> : 0, secondarystorageavailable : u'Unlimited', haschild : False, vmtotal : 0, 
> cputotal : 0, vpctotal : 0, id : u'b53a9a2c-b556-11e6-9574-44a158d5253a', 
> cpuavailable : u'Unlimited', snapshotlimit : u'Unlimited', networklimit : 
> u'Unlimited', iptotal : 0, volumetotal : 0, projectlimit : u'Unlimited', 
> state : u'Active', networktotal : 0, vpcavailable : u'Unlimited', 
> networkavailable : u'Unlimited', primarystoragetotal : 15, templatelimit : 
> u'Unlimited', snapshottotal : 0, templateavailable : u'Unlimited', vmlimit : 
> u'Unlimited', memoryavailable : u'Unlimited', secondarystoragetotal : 0, 
> templatetotal : 0, projecttotal : 0, projectavailable : u'Unlimited', path : 
> u'ROOT', primarystoragelimit : u'Unlimited', secondarystoragelimit : 
> u'Unlimited', volumeavailable : u'Unlimited', name : u'ROOT', level : 0, 
> vmavailable : u'Unlimited', ipavailable : u'Unlimited', memorylimit : 
> u'Unlimited', cpulimit : u'Unlimited', snapshotavailable : u'Unlimited'}]
> test_deploy_VM_with_affinity_group_2_USER_ACCOUNT 
> (integration.component.test_dynamic_compute_offering.TestAffinityGroup): 
> DEBUG: Payload: {'apiKey': 
> u'LDhSmZKM3JIwQXfyn3-01AjnqnRRfRAlzh-yV4ZUgSocJaikXOgkU_NDclLevQHDzvfbsf11UwwBaJQ4KnAvZg',
>  'name': u'Sandbox-simulator', 'command': 'listZones', 'signature': 
> 'SjIGSR8KFN/fgj51A1v70hYMOmE=', 'response': 'json'}
> test_deploy_VM_with_affinity_group_2_USER_ACCOUNT 
> (integration.component.test_dynamic_compute_offering.TestAffinityGroup): 
> DEBUG: ========Sending GET Cmd : listZones=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
> (1): localhost
> requests.packages.urllib3.connectionpool: DEBUG: "GET 
> /client/api?response=json&apiKey=LDhSmZKM3JIwQXfyn3-01AjnqnRRfRAlzh-yV4ZUgSocJaikXOgkU_NDclLevQHDzvfbsf11UwwBaJQ4KnAvZg&command=listZones&name=Sandbox-simulator&signature=SjIGSR8KFN%2Ffgj51A1v70hYMOmE%3D
>  HTTP/1.1" 200 401
> test_deploy_VM_with_affinity_group_2_USER_ACCOUNT 
> (integration.component.test_dynamic_compute_offering.TestAffinityGroup): 
> DEBUG: Response : [{localstorageenabled : False, name : u'Sandbox-simulator', 
> guestcidraddress : u'10.1.1.0/24', tags : [], zonetoken : 
> u'36ec9aa2-af0f-3d54-a00f-ed8a62f22212', dns1 : u'10.147.28.6', 
> securitygroupsenabled : False, allocationstate : u'Enabled', internaldns1 : 
> u'10.147.28.6', dhcpprovider : u'VirtualRouter', networktype : u'Advanced', 
> id : u'd1a49163-2dea-45f7-abe8-d407defd29cc'}]
> test_deploy_VM_with_affinity_group_2_USER_ACCOUNT 
> (integration.component.test_dynamic_compute_offering.TestAffinityGroup): 
> CRITICAL: EXCEPTION: test_deploy_VM_with_affinity_group_2_USER_ACCOUNT: 
> ['Traceback (most recent call last):\n', '  File 
> "/Library/Python/2.7/site-packages/nose/suite.py", line 209, in run\n    
> self.setUp()\n', '  File "/Library/Python/2.7/site-packages/nose/suite.py", 
> line 292, in setUp\n    self.setupContext(ancestor)\n', '  File 
> "/Library/Python/2.7/site-packages/nose/suite.py", line 315, in 
> setupContext\n    try_run(context, names)\n', '  File 
> "/Library/Python/2.7/site-packages/nose/util.py", line 471, in try_run\n    
> return func()\n', '  File 
> "/Users/sudhansu/devel/CodeHome/cloudstack/test/integration/component/test_dynamic_compute_offering.py",
>  line 65, in setUpClass\n    cls.hypervisor = 
> self.testClient.getHypervisorInfo()\n', "NameError: global name 'self' is not 
> defined\n"]
> --------------------- >> end captured logging << ---------------------
> ======================================================================
> FAIL: Test scale running VM from dynamic offering to dynamic offering
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Library/Python/2.7/site-packages/ddt.py", line 146, in wrapper
>     return func(self, *args, **kwargs)
>   File 
> "/Users/sudhansu/devel/CodeHome/cloudstack/test/integration/component/test_dynamic_compute_offering.py",
>  line 1223, in test_change_so_running_vm_dynamic_to_dynamic
>     self.fail("Failure while changing service offering: %s" % e)
> AssertionError: Failure while changing service offering: Job failed: 
> {jobprocstatus : 0, created : u'2016-11-28T16:21:28+0530', cmd : 
> u'org.apache.cloudstack.api.command.user.vm.ScaleVMCmd', userid : 
> u'00ac3dda-0831-4321-b302-92bf5c5e94e2', jobstatus : 2, jobid : 
> u'c835e1f9-8528-41b9-95ae-bc3d87c7431c', jobresultcode : 530, jobresulttype : 
> u'object', jobresult : {errorcode : 431, errortext : u'Invalid cpu cores 
> value, specify a value between 1 and 2147483647'}, accountid : 
> u'6d986246-581d-443c-a7b5-7358c1c124d0'}
> -------------------- >> begin captured stdout << ---------------------
> === TestName: test_change_so_running_vm_dynamic_to_dynamic_1_ADMIN_ACCOUNT | 
> Status : FAILED ===
> --------------------- >> end captured stdout << ----------------------



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to