[ https://issues.apache.org/jira/browse/CLOUDSTACK-4148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Murali Reddy updated CLOUDSTACK-4148: ------------------------------------- Fix Version/s: Future > 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 > Priority: Blocker > 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 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