Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8E31910CDA for ; Mon, 1 Jul 2013 21:19:24 +0000 (UTC) Received: (qmail 93894 invoked by uid 500); 1 Jul 2013 21:19:22 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 93871 invoked by uid 500); 1 Jul 2013 21:19:22 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 93828 invoked by uid 500); 1 Jul 2013 21:19:22 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 93817 invoked by uid 99); 1 Jul 2013 21:19:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jul 2013 21:19:22 +0000 Date: Mon, 1 Jul 2013 21:19:22 +0000 (UTC) From: "Jessica Wang (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [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. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 : > > > f24eeee0-5b93-4b8b-979d-1d3d95787a66 > true > 004140d7-4270-45b1-86b1-2308af1de434 > untagged > efceb0a6-1ac9-4cb7-8d10-26ab664b53d9 > dom11 > 10.102.192.1 > 255.255.252.0 > 10.102.195.61 > 10.102.195.70 > 40a04ee7-246f-4c80-bc18-13c68805b464 > 1027c082-fadd-44c2-a1e8-1397b10b55bc > dom11-user-project > 278c8249-0161-4a5a-bb24-91d4fa9f6e97 > > > 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