I'm having some real trouble with Chargeback Manager talking to vShield Manager with vCloud director.
All the VM stats collect ok in Chargeback manager except for external network statistics. These always show zero in any report ran.
I have confirmed all servers (vShield, vCenter Server, vCloud, Chargeback Manager, DB server) are all running UTC with synchronised time. Everything else functions flawlessly.
Chargeback Manager's vShield data collector shows the following every 10 minutes when it goes to collect network stats:
\collected_logs\vCenter-CB-TroubleshootInfo-2014-05-26-06-19\Troubleshoot\vCenter-CB-Other\vShield Manager DataCollector-Embedded-logs\logs\VSM-DC.log
INFO [CbmPerformaceStatsJob] [vsm.CbmPerformaceStatsJob] 3931: No networks found for processing during current cycle for job :: CbmPerformaceStatsJob
INFO [CbmPerformaceStatsJob] [vsm.CbmPerformaceStatsJob] 3931: No edges found for processing during current cycle for job :: CbmPerformaceStatsJob
When I go to run a report:
2014-05-23T05:32:52.713+0000 FATAL [cbmBurstableBillingJob] [utils.CbServerPropertyHandler] 2871: Mandatory property {name:External Network Receive, category:vcloud} is either not defined or empty.
2014-05-23T05:32:52.713+0000 ERROR [cbmBurstableBillingJob] [vsm.VsmDcUtils] 2871: Failed to get numeric value for computing resouce id :: null, for key :: External Network Receive
2014-05-23T05:32:52.718+0000 FATAL [cbmBurstableBillingJob] [utils.CbServerPropertyHandler] 2876: Mandatory property {name:External Network Transmit, category:vcloud} is either not defined or empty.
2014-05-23T05:32:52.719+0000 ERROR [cbmBurstableBillingJob] [vsm.VsmDcUtils] 2877: Failed to get numeric value for computing resouce id :: null, for key :: External Network Transmit
It seems to me that vShield is not recording external network stats.
I have VM's in vCloud director that have direct external IP Addresses (windows VM's that have external IP's assigned directly to them) and I am not running any vShield Edge gateways. I do also have a CSR1000V with an external IP. All the stats for these VM's except for network traffic show flawlessly.
I have gone through the troubleshooting here http://www.vmware.com/pdf/cbm_bp_ts_guide_2_5_0.pdf and addressed the following:
1. Time is set correctly across the servers
2. Database user is correct and pulling other stats without problems
3. I am using the vShield admin account, which connects without fault
I do not have vShield App installed on any hosts, I just have my vShield manager sitting on a separate cluster (with access to the VMK ports on the vDS that connects the hosts). Is this possibly something to do with how vShield Manager has been set up? Can Chargeback Manager even read external network stats if I am not using a vShield Edge gateway?
Your thoughts would be appreciated