You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Jessica Wang (JIRA)" <ji...@apache.org> on 2013/07/01 23:19:22 UTC

[jira] [Updated] (CLOUDSTACK-2084) [UI][Dedicated Resources : Public IP Addresses per tenant]When an IP range is dedicated to a project account, UI doesn't recognise that account and displays "add account" instead of the account name.

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

Jessica Wang updated CLOUDSTACK-2084:
-------------------------------------

    Component/s:     (was: UI)
                 API

This is an API bug, not UI bug. 

when account type is ACCOUNT_TYPE_PROJECT, listVlanIpRanges API didn't return accountName but it should.

                
> [UI][Dedicated Resources : Public IP Addresses per tenant]When an IP range is dedicated to a project account, UI doesn't recognise that account and displays "add account" instead of the account name.
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2084
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2084
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API
>    Affects Versions: 4.2.0
>            Reporter: Abhinav Roy
>            Assignee: Jessica Wang
>             Fix For: 4.2.0
>
>         Attachments: UI-CS2084.jpg
>
>
> Steps :
> ===============================
> 1. Deploy an advanced networking setup and create an account A1
> 2. Now login as user of account A1 and create a project P1. This leads to the creation of a project account AP1.
> 3. Now dedicate an IP range R1 to this project account AP1.
> Expected behaviour :
> ===============================
> 1. UI should display the project account name to which the IP range is dedicated.
> Observed behaviour :
> ===============================
> 1. UI doesn't show the project account name, instead it displays "add account" in that tab
> Reason :
> ==============================
> when we dedicate an IP range to a project account through the following API
> http://10.102.192.125:8096/client/api?command=dedicatePublicIpRange&id=9&domainid=4&account=PrjAcct-dom11-user-project-4
> We get this response :
> <dedicatepubliciprangeresponse cloud-stack-version="4.2.0-SNAPSHOT">
> <vlan>
> <id>f24eeee0-5b93-4b8b-979d-1d3d95787a66</id>
> <forvirtualnetwork>true</forvirtualnetwork>
> <zoneid>004140d7-4270-45b1-86b1-2308af1de434</zoneid>
> <vlan>untagged</vlan>
> <domainid>efceb0a6-1ac9-4cb7-8d10-26ab664b53d9</domainid>
> <domain>dom11</domain>
> <gateway>10.102.192.1</gateway>
> <netmask>255.255.252.0</netmask>
> <startip>10.102.195.61</startip>
> <endip>10.102.195.70</endip>
> <networkid>40a04ee7-246f-4c80-bc18-13c68805b464</networkid>
> <projectid>1027c082-fadd-44c2-a1e8-1397b10b55bc</projectid>
> <project>dom11-user-project</project>
> <physicalnetworkid>278c8249-0161-4a5a-bb24-91d4fa9f6e97</physicalnetworkid>
> </vlan>
> </dedicatepubliciprangeresponse>
> In this response we don't see the account name, instead we see the project id and the project name. Hence the UI filter doesn't recognise the account name.

--
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