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/06/12 02:07:20 UTC

[jira] [Resolved] (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 resolved CLOUDSTACK-2084.
--------------------------------------

    Resolution: Fixed

I'm unable to reproduce this bug.
Server-side seems to be changed(fixed).

I log in as account bbb_admin and create project bbb_admin_project.
Then, I dedicate an IP Range to this project account (bbb_admin).
API response shows account name:
{
    "listvlaniprangesresponse": {
        "count": 1,
        "vlaniprange": [            
            {
                "id": "a3e24575-04c8-4607-abf7-c22f00cb0938",
                "forvirtualnetwork": true,
                "zoneid": "a92cbc65-7f70-492f-9ea5-5a5191d72037",
                "vlan": "159",
                "account": "bbb_admin",
                "domainid": "647bcd54-12ef-46d0-8e06-89325d2c8c66",
                "domain": "bbb",
                "gateway": "10.223.67.1",
                "netmask": "255.255.255.0",
                "startip": "10.223.67.25",
                "endip": "10.223.67.26",
                "networkid": "d9b905fa-f92f-49e9-bce0-4a110fb7f3fe",
                "physicalnetworkid": "9c9b5eb5-19da-4c57-9a80-2a63d398d9bb"
            }
        ]
    }
}
                
> [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: UI
>    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