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 D41831034E for ; Wed, 12 Jun 2013 05:20:36 +0000 (UTC) Received: (qmail 9132 invoked by uid 500); 12 Jun 2013 05:09:38 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 9072 invoked by uid 500); 12 Jun 2013 05:09:26 -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 9062 invoked by uid 500); 12 Jun 2013 05:09:22 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 9058 invoked by uid 99); 12 Jun 2013 05:09:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jun 2013 05:09:21 +0000 Date: Wed, 12 Jun 2013 05:09:19 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-2609) [MultipleIPsPerNic][SharedNetworks] nic_secondary_ips account/domainid is different when compared with primary ups 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-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13680946#comment-13680946 ] ASF subversion and git services commented on CLOUDSTACK-2609: ------------------------------------------------------------- Commit 358f3edc575b9f5ec70010316523a8edeb540d55 in branch refs/heads/master from [~jayapal] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=358f3ed ] CLOUDSTACK-2609 Fixed accoundId, domainId for the secondary ip address for shared networks Signed-off-by: Abhinandan Prateek > [MultipleIPsPerNic][SharedNetworks] nic_secondary_ips account/domainid is different when compared with primary ups > ------------------------------------------------------------------------------------------------------------------ > > Key: CLOUDSTACK-2609 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2609 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Network Controller > Affects Versions: 4.2.0 > Environment: commit # 85d54cd1c088997dd08f0328984bee1a55703636 > Reporter: venkata swamybabu budumuru > Assignee: Jayapal Reddy > Fix For: 4.2.0 > > Attachments: logs.tgz > > > Steps to reproduce : > 1. Have latest CloudStack with advanced zone having KVM cluster with 1 host > 2. Have at least one non-ROOT domain user > 3. Create at least one share network with scope set domain of the above user > 4. deploy a VM connected to the above shared networks > 5. acquire at least one secondary ips for the above NICs > Observations : > (i) verify in the db cloud.nic_secondary_ips for account and domain id info. > here is the snapshot of the db > mysql> select * from nic_secondary_ips; > +----+--------------------------------------+------+-------+---------------+-------------+------------+---------------------+------------+-----------+ > | id | uuid | vmId | nicId | ip4_address | ip6_address | network_id | created | account_id | domain_id | > +----+--------------------------------------+------+-------+---------------+-------------+------------+---------------------+------------+-----------+ > | 4 | 8402dfa2-94b2-4001-8c2c-b52d5c76bbad | 27 | 69 | 10.147.44.235 | NULL | 217 | 2013-05-21 19:49:40 | 1 | 1 | > | 5 | 43954e3e-c5bf-4833-983c-9aec27a27e14 | 27 | 70 | 10.147.54.235 | NULL | 218 | 2013-05-21 19:54:24 | 1 | 1 | > +----+--------------------------------------+------+-------+---------------+-------------+------------+---------------------+------------+-----------+ > (ii) Here is the snapshot of user_ip_address that contains the primary ip address info > mysql> select * from user_ip_address where id=42\G > *************************** 1. row *************************** > id: 42 > uuid: a744755a-f5cd-4959-b338-1c36eaa56c32 > account_id: 4 > domain_id: 2 > public_ip_address: 10.147.54.231 > data_center_id: 3 > source_nat: 0 > allocated: 2013-05-21 17:49:41 > vlan_db_id: 5 > one_to_one_nat: 0 > vm_id: NULL > state: Allocated > mac_address: 32 > source_network_id: 218 > network_id: NULL > physical_network_id: 202 > is_system: 0 > vpc_id: NULL > dnat_vmip: NULL > 1 row in set (0.00 sec) > (iii) In case of user_ip_address, it contains the account and domain id of the user who deployed the vm but, in case of secondary IPs, it contains the account and domain id as 1. > Attaching all the required logs along with db dump to the bug. -- 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