-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25471/
-----------------------------------------------------------
Review request for cloudstack, sanjeev n, Santhosh Edukulla, and
SrikanteswaraRao Talluri.
Bugs: CLOUDSTACK-7516
https://issues.apache.org/jira/browse/CLOUDSTACK-7516
Repository: cloudstack-git
Description
-------
Template was registered with admin api client, hence there was conflict in
permissions available to the user account.
The test case failed while deploying template with the custom template.
Error:
Execute cmd: deployvirtualmachine failed, due to: errorCode: 531,
errorText:Acct[51d00171-895e-4893-90c8-6630b98f852a-test-TestCreateVMSnapshotTemplate-BJ9XFN]
does not have permission to operate with resource
Acct[e7b7973c-3512-11e4-9ac6-1a6f7bb0d0a8-admin]
Changes:
Used api client of the user account for all the operations so that there is no
conflict in permissions.
Diffs
-----
test/integration/component/test_snapshots.py 8a5c7ff
Diff: https://reviews.apache.org/r/25471/diff/
Testing
-------
Yes.
Ran two test cases separately.
Log:
[1]
Create Template from snapshot ... === TestName: test_07_template_from_snapshot
| Status : SUCCESS ===
ok
----------------------------------------------------------------------
Ran 1 test in 637.534s
OK
[2]
Test create VM, Snapshot and Template ... === TestName:
test_01_createVM_snapshotTemplate | Status : SUCCESS ===
ok
----------------------------------------------------------------------
Ran 1 test in 614.318s
OK
Thanks,
Gaurav Aradhye