[ovirt-users] No utilization data on Ovirt report 3.4

Scott Worthington scott.c.worthington at gmail.com
Thu Nov 20 14:14:07 UTC 2014


On 11/19/2014 7:29 AM, Shirly Radco wrote:
> Hi Chandrahasa,
> 
> Please provide me with a few details.
> 
> 1. Is the dwh service running (ovirt-engine-dwhd) ?
> 
> 2. What version of rpms are installed ? rpm -qa |grep ovirt
> 
> 3. Is the data collected correctly to the history database?
> you can check specifically in
> v3_4_statistics_vms_resources_usage_samples,
> v3_4_statistics_vms_resources_usage_hourly,
> v3_4_statistics_vms_resources_usage_daily
> 
> 4. Can you see other reports?
> 
> 5. Please attach the dwh and reports logs if you see errors there (at /var/log/)
> 
> Best regards,
> --- 
> Shirly Radco 
> BI Software Engineer 
> Red Hat Israel Ltd.

I had a similar problem with a fresh install of oVirt 3.5.0 on RHEL 6.6 bare
metal.  I installed the Engine, then DWH and Reports on the same host.

Oddly, reports for Hosts worked, but reports for for Virtual Machines did not
collect data (for example, report BR10C = Resource Usage of Virtual Machine
--- by Hour of Day).

I looked at logs DHW, vdsm, engine, etc logs, and I did not see any errors
relating to database connectivity, pollers not collecting data, etc.  The
service ovirt-engine-dwhd was running.

So, yesterday, I made the assumption that perhaps there was a problem with the
installer and re-ran "engine-setup".  This morning, I checked the report
BR10C, and the graphs for "CPU Usage by Hour of Day", "Memory Usage by Hour of
Day" now have bar graphs (they work!).

However, the "Top Five Busiest Disks Usage by Hour of Day" and "Top Three
Businest Network Interfaces Usage" report "No Data Available".  The VM does
have the oVirt 3.5 guest software installed.

How do I troubleshoot the "No Data Available" for 'Disk Usage' and 'Network
Interfaces'?

Output of my re-running of engine-setup:

# engine-setup
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
          Configuration files:
['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
'/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
'/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
          Log file:
/var/log/ovirt-engine/setup/ovirt-engine-setup-20141119085759-rah3nk.log
          Version: otopi-1.3.0 (otopi-1.3.0-1.el6)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Stage: Environment customization

          --== PRODUCT OPTIONS ==--


          --== PACKAGES ==--

[ INFO  ] Checking for product updates...
[ INFO  ] No product updates found

          --== ALL IN ONE CONFIGURATION ==--


          --== NETWORK CONFIGURATION ==--

          Setup can automatically configure the firewall on this system.
          Note: automatic configuration of the firewall may overwrite current
settings.
          Do you want Setup to configure the firewall? (Yes, No) [Yes]: No

          --== DATABASE CONFIGURATION ==--

          The detected DWH database size is 99 MB.
          Setup can backup the existing database. The time and space required
for the database backup depend on its size. This process takes time, and in
some cases (for instance, when the size is few GBs) may take several hours to
complete.
          If you choose to not back up the database, and Setup later fails for
some reason, it will not be able to restore the database and all DWH data will
be lost.
          Would you like to backup the existing database before upgrading it?
(Yes, No) [Yes]: Yes

          --== OVIRT ENGINE CONFIGURATION ==--

          Skipping storing options as database already prepared

          --== PKI CONFIGURATION ==--


          --== APACHE CONFIGURATION ==--


          --== SYSTEM CONFIGURATION ==--


          --== MISC CONFIGURATION ==--


          --== END OF CONFIGURATION ==--

[ INFO  ] Stage: Setup validation
          During execution engine service will be stopped (OK, Cancel) [OK]:
[WARNING] Less than 16384MB of memory is available
[ INFO  ] Cleaning stale zombie tasks

          --== CONFIGURATION PREVIEW ==--

          Datacenter storage type                 : False
          Firewall manager                        : iptables
          Update Firewall                         : False
          Host FQDN                               :
ovirt-engine-01.local
          Engine database name                    : engine
          Engine database secured connection      : False
          Engine database host                    : localhost
          Engine database user name               : engine
          Engine database host name validation    : False
          Engine database port                    : 5432
          Engine installation                     : True
          NFS mount point                         : /var/lib/exports/iso
          DWH installation                        : True
          DWH database name                       : ovirt_engine_history
          DWH database secured connection         : False
          DWH database host                       : localhost
          DWH database user name                  : ovirt_engine_history
          DWH database host name validation       : False
          Backup DWH database                     : True
          DWH database port                       : 5432
          Reports installation                    : True
          Reports database name                   : ovirt_engine_reports
          Reports database secured connection     : False
          Reports database host                   : localhost
          Reports database user name              : ovirt_engine_reports
          Reports database host name validation   : False
          Reports database port                   : 5432
          Engine Host FQDN                        :
ovirt-engine-01.local
          Configure WebSocket Proxy               : True

          Please confirm installation settings (OK, Cancel) [OK]:
[ INFO  ] Cleaning async tasks and compensations
[ INFO  ] Checking the Engine database consistency
[ INFO  ] Stage: Transaction setup
[ INFO  ] Stopping dwh service
[ INFO  ] Stopping reports service
[ INFO  ] Stopping engine service
[ INFO  ] Stopping ovirt-fence-kdump-listener service
[ INFO  ] Stopping websocket-proxy service
[ INFO  ] Stage: Misc configuration
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ INFO  ] Backing up database localhost:engine to
'/var/lib/ovirt-engine/backups/engine-20141119085842.u1Phs_.dump'.
[ INFO  ] Creating/refreshing Engine database schema
[ INFO  ] Backing up database localhost:ovirt_engine_history to
'/var/lib/ovirt-engine-dwh/backups/dwh-20141119085913._kRKcn.dump'.
[ INFO  ] Creating/refreshing DWH database schema
[ INFO  ] Regenerating Jasper's build configuration files
[ INFO  ] Exporting data out of Jasper
[ INFO  ] Backing up database localhost:ovirt_engine_reports to
'/var/lib/ovirt-engine-reports/backups/reports-20141119090042.jhX3mx.dump'.
[ INFO  ] Deploying Jasper
[ INFO  ] Importing data into Jasper
[ INFO  ] Configuring Jasper Java resources
[ INFO  ] Configuring Jasper Database resources
[ INFO  ] Customizing Jasper
[ INFO  ] Customizing Jasper metadata
[ INFO  ] Configuring WebSocket Proxy
[ INFO  ] Generating post install configuration file
'/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'
[ INFO  ] Stage: Transaction commit
[ INFO  ] Stage: Closing up

          --== SUMMARY ==--

[WARNING] Less than 16384MB of memory is available
          SSH fingerprint: XX:XX:XX...
          Internal CA XX:XX:XX...
          Web access is enabled at:
              http://ovirt-engine-01.local:80/ovirt-engine
              https://ovirt-engine-01.local:443/ovirt-engine

          --== END OF SUMMARY ==--

[ INFO  ] Starting engine service
[ INFO  ] Restarting httpd
[ INFO  ] Starting dwh service
[ INFO  ] Starting reports service
[ INFO  ] Stage: Clean up
          Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20141119085759-rah3nk.log
[ INFO  ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20141119090434-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ INFO  ] Execution of setup completed successfully



More information about the Users mailing list