You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Mice Xia (JIRA)" <ji...@apache.org> on 2013/04/12 09:45:57 UTC
[jira] [Resolved] (CLOUDSTACK-1894) User is not able to deploy VMs
in a project[permission denied to access the guest network)
[ https://issues.apache.org/jira/browse/CLOUDSTACK-1894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mice Xia resolved CLOUDSTACK-1894.
----------------------------------
Resolution: Fixed
[root cause]
checkNetworkPermissions() did not handle case: project owned network
P.S 4.1 also has this issue
master: cbcb83b086f4a87aa0703e18a03938b808ed044f
> User is not able to deploy VMs in a project[permission denied to access the guest network)
> ------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-1894
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1894
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Projects
> Affects Versions: 4.2.0
> Reporter: Abhinav Roy
> Priority: Blocker
> Fix For: 4.2.0
>
> Attachments: After upgrade project VM.jpg
>
>
> Steps :
> ========================
> 1. upgrade from 4.0 to 4.2 or Fresh installation of 4.2
> 2. Create a user account.
> 3. create a project in that account
> 4. Browse in to the project view and try to deploy VMs.
> Expected behavior:
> =======================
> The VM should be deployed without any issue
> Observed behavior :
> ======================
> VM deployment fails with
> 2013-04-02 17:57:51,209 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-11:null) Access to Acct[5-PrjAcct-user1Project-2] granted to Acct[3-user1] by DomainChecker_EnhancerByCloudStack_8eda5c52
> 2013-04-02 17:57:51,212 INFO [cloud.api.ApiServer] (catalina-exec-11:null) PermissionDenied: Unable to use network with id= b29ec01c-360e-4d03-b4e9-09b0633a4d54, permission denied on uuids: []
> 2013-04-02 17:57:51,213 DEBUG [cloud.api.ApiServlet] (catalina-exec-11:null) ===END=== 10.101.255.102 -- GET command=deployVirtualMachine&zoneId=07ab8ae6-eff5-4fe2-bdae-8929c356ee7f&templateId=d974df3f-3886-4443-a367-1dc77de84960&hypervisor=XenServer&serviceOfferingId=9328a1bd-78fa-4f8f-b3e9-b756af9af730&networkIds=b29ec01c-360e-4d03-b4e9-09b0633a4d54&displayname=projvm1&name=projvm1&response=json&sessionkey=TQLJZNELCpPAalZVMMtb%2F4JlxQY%3D&projectid=227c5af4-5e36-4303-8460-7d691a732ab5&_=1364905654381
> NOTE : When teh admin tries to deploy VMs on the same project, it succeeds.
--
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: http://www.atlassian.com/software/jira