You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sangeetha Hariharan (JIRA)" <ji...@apache.org> on 2014/06/12 23:53:04 UTC

[jira] [Closed] (CLOUDSTACK-6512) IAM - Not able to list shared networks in the Vm deployment flow.

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-6512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sangeetha Hariharan closed CLOUDSTACK-6512.
-------------------------------------------


Tested with latest build from 4.4-forward (after IAM revert):

Have shared networks created with scope as domain and account.

Using UI , Log in as a user who has access to both the account specific and domain specific shared network.

Try to deploy a VM.

Network list shown as part of VM deployment , has both the shared networks listed:
Following is the API call made for listing networks:
http://10.223.49.6:8080/client/api?command=listNetworks&response=json&sessionkey=WRY5kiZ461rcInw5KRwr59dPh8U%3D&zoneId=8374d5ac-e559-4a36-88cd-ddc32990659e&canusefordeploy=true&domainid=0c61d5a9-59bd-4f61-97ec-6078acd6e231&account=d11-san&_=1402609700920

Deploying Vms in these shared networks also succeed.

Closing this issue.

> IAM - Not able to list shared networks in the Vm deployment flow.
> -----------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6512
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6512
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: IAM
>    Affects Versions: 4.4.0
>         Environment: Build from 4.4.
>            Reporter: Sangeetha Hariharan
>            Assignee: Min Chen
>            Priority: Critical
>             Fix For: 4.4.0
>
>
> IAM - Not able to list shared networks in the Vm deployment flow.
> Steps to reproduce the problem:
> Create a shared network that is domain specific / account specific.
> Log in as the account which should have access to this shared network.
> Using UI , try to deploy a VM using this shared network.
> shared network is not displayed in the list of networks.
> This is the call made by UI:
> http://10.223.49.6:8080/client/api?command=listNetworks&response=json&sessionkey=Enn1TgriYaANFQ%2BDKJR7T2Jc9l0%3D&zoneId=fdd0ce43-41b8-49ef-9e59-70ead27bda4c&canusefordeploy=true&domainid=a59a0ce2-b5aa-4460-ade8-91d26e048bc4&account=testD1&_=1398446574911
>  
> When Networks are listed using the network tab , then we see the shared network being listed.
> Following API call without the domainid and account paramater is able to return the shared network.
> http://10.223.49.6:8080/client/api?command=listNetworks&response=json&sessionkey=Enn1TgriYaANFQ%2BDKJR7T2Jc9l0%3D&listAll=true&page=1&pagesize=20&_=1398446422647



--
This message was sent by Atlassian JIRA
(v6.2#6252)