cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SrikanteswaraRao Talluri" <srikanteswararao.tall...@citrix.com>
Subject Re: Review Request 25471: CLOUDSTACK-7516: Fixed resource permission issue in test_snapshots.py, account was using template registered with other account
Date Wed, 10 Sep 2014 12:01:36 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25471/#review52855
-----------------------------------------------------------


I am looking at the reason why this behaviour has changed.
These tests were passing before 5th Sept.

- SrikanteswaraRao Talluri


On Sept. 9, 2014, 7:22 a.m., Gaurav Aradhye wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/25471/
> -----------------------------------------------------------
> 
> (Updated Sept. 9, 2014, 7:22 a.m.)
> 
> 
> 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
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message