cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gaurav Aradhye" <gaurav.arad...@clogeny.com>
Subject Review Request 25301: CLOUDSTACK-7442: Fixed template permission issue in test_project_resources.py
Date Wed, 03 Sep 2014 16:06:22 GMT

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

Review request for cloudstack, sanjeev n, Santhosh Edukulla, and SrikanteswaraRao Talluri.


Bugs: CLOUDSTACK-7442
    https://issues.apache.org/jira/browse/CLOUDSTACK-7442


Repository: cloudstack-git


Description
-------

The template was registered with admin api client, hence it failed to find the project in
the domain while updating the permissions.

The permissions can only be updated if the resource is present in the same domain as that
of the owner account of the template.

Registered the template with the api client of the account in which the project is added,
so that the permissions for template can  successfully be updated for the project.


Diffs
-----

  test/integration/component/test_project_resources.py e769860 

Diff: https://reviews.apache.org/r/25301/diff/


Testing
-------

Yes.

Log:
Test use of private template in a project ... === TestName: test_05_use_private_template_in_project
| Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 1 test in 674.081s

OK


Thanks,

Gaurav Aradhye


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