cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-2592) [Automation]: Scale up VM on VMWARE without license doesn't throw appropriate error
Date Mon, 08 Jul 2013 07:25:48 GMT


ASF subversion and git services commented on CLOUDSTACK-2592:

Commit 574f782ab2371828a02e22b3003cd7bbdefc9777 in branch refs/heads/4.2 from [~sateeshc]
[;h=574f782 ]

CLOUDSTACK-2592 [Automation]: Scale up VM on VMWARE without license doesn't throw appropriate

Now ESXi server license would be fetched to see if HOTPLUG feature is license or not.
Throw Exception if the feature is not licensed.

Also added FeatureKeyConstants enum type to maintain list of various features to be checked
whether licensed or not.

Signed-off-by: Sateesh Chodapuneedi <>

> [Automation]: Scale up VM on VMWARE without license doesn't throw appropriate error
> -----------------------------------------------------------------------------------
>                 Key: CLOUDSTACK-2592
>                 URL:
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API, VMware
>    Affects Versions: 4.2.0
>         Environment: Master
>            Reporter: Parth Jagirdar
>            Assignee: Sateesh Chodapuneedi
> Stacktrace
>   File "/usr/local/lib/python2.7/unittest/", line 318, in run
>     testMethod()
>   File "/data/Repo2/qa/incubator-cloudstack/test/integration/smoke/",
line 213, in test_01_scale_vm
>     "Check service offering of the VM"
>   File "/usr/local/lib/python2.7/unittest/", line 494, in assertEqual
>     assertion_func(first, second, msg=msg)
>   File "/usr/local/lib/python2.7/unittest/", line 902, in assertMultiLineEqual
>, standardMsg))
>   File "/usr/local/lib/python2.7/unittest/", line 393, in fail
>     raise self.failureException(msg)
> Check service offering of the VM
> Upon manual verification ::
> Setup was unable to scale up the VM. Choosing a larger offering actually doesnt give
any errors.
> But the VM details still reflects old service offering.
> Digging around reveled from MS log:
> 2013-05-20 16:13:26,004 ERROR [vmware.resource.VmwareResource] (DirectAgent-1:
Unexpected exception:
> java.lang.RuntimeException: License not available to perform the operation.
>         at
>         at
>         at
>         at
>         at$
>         at java.util.concurrent.Executors$
>         at java.util.concurrent.FutureTask$Sync.innerRun(
>         at
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(
>         at java.util.concurrent.ScheduledThreadPoolExecutor$
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(
>         at java.util.concurrent.ThreadPoolExecutor$
>         at
> If license is not available then CS should throw appropriate error as "Feature not supported".

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:

View raw message