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 9C311102E6 for ; Wed, 9 Oct 2013 11:03:50 +0000 (UTC) Received: (qmail 73492 invoked by uid 500); 9 Oct 2013 11:03:48 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 73426 invoked by uid 500); 9 Oct 2013 11:03:48 -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 73385 invoked by uid 500); 9 Oct 2013 11:03:46 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 73360 invoked by uid 99); 9 Oct 2013 11:03:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Oct 2013 11:03:42 +0000 Date: Wed, 9 Oct 2013 11:03:41 +0000 (UTC) From: "Abhinandan Prateek (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-4148) usage:usage stats are not triggered for shared network 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-4148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinandan Prateek updated CLOUDSTACK-4148: ------------------------------------------- Priority: Major (was: Critical) > usage:usage stats are not triggered for shared network > ------------------------------------------------------ > > Key: CLOUDSTACK-4148 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4148 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Usage > Affects Versions: 4.2.0 > Reporter: sadhu suresh > Assignee: Kishan Kavala > Fix For: Future > > Attachments: management-server.rar > > > steps: > 1.create network offering with SRX and F5 > 2.create a shared guestnetwork using above NO > 3.deploy a VM using abobve network > 4.generate the traffic and check the usage stats after 10 min > actual: > NetworkUsageCommand: is running only for isolated network and its not issuing for for sharednetwok. > router-12 isbelongs to sharednetwork. > r-4-0vm belongs to isloated network > No query specified > mysql> select * from user_statistics; > +----+----------------+------------+-------------------+-----------+--------------+------------+--------------------+----------------+------------------------+--------------------+--------------------+----------------+ > | id | data_center_id | account_id | public_ip_address | device_id | device_type | network_id | net_bytes_received | net_bytes_sent | current_bytes_received | current_bytes_sent | agg_bytes_received | agg_bytes_sent | > +----+----------------+------------+-------------------+-----------+--------------+------------+--------------------+----------------+------------------------+--------------------+--------------------+----------------+ > | 1 | 1 | 2 | NULL | 4 | DomainRouter | 204 | 0 | 0 | 0 | 401016 | 0 | 401016 | > | 2 | 1 | 1 | NULL | 12 | DomainRouter | 206 | 0 | 0 | 0 | 0 | 0 | 0 | > | 3 | 1 | 1 | NULL | 18 | DomainRouter | 209 | 0 | 0 | 0 | 0 | 0 | 0 | > | 4 | 1 | 2 | 10.147.49.106 | 21 | DomainRouter | 200 | 0 | 0 | 4195797 | 148136 | 4195797 | 148136 | > | 5 | 1 | 2 | NULL | 21 | DomainRouter | 210 | 0 | 0 | 0 | 0 | 0 | 0 | > +----+----------------+------------+-------------------+-----------+--------------+------------+--------------------+----------------+------------------------+--------------------+--------------------+----------------+ > 5 rows in set (0.00 sec) -- This message was sent by Atlassian JIRA (v6.1#6144)