Previously, the database incorrectly stored "Mixed" databases (3) as "Inactive" (2). The webadmin portal displayed the correct value, but the value was incorrect in the history database in the statistics_storage_domains_resources_usage_samples field.
The database now stores the correct database status.
Created attachment 711420[details]
logs
Description of problem:
[rhevm-dwh] - History DB - Storage Domain Status "Mixed" is not saved correctly (in statistics_storage_domains_samples)
"Mixed"=3 & in statistics_storage_domains_resources_usage_samples it's saved =2
Version-Release number of selected component (if applicable):
3.2/SF10
How reproducible:
always
Steps to Reproduce:
1.Install rhevm+reports+dwh
2.configure 2 DCs with Storage domains
3.Add ISO domain and activate on one DC
Actual results:
webadmin shows Cross-data-center-status = "Mixed" (3)
But in history db -> statistics_storage_domains_resources_usage_samples its saved as Inactive (2)
Expected results:
Status should be 3, instead of 2
Additional info:
logs & pics
The ISO domain is attached to 2 DCs - one is active & one is Inactive
The statistics_storage_domains_resources_usage_samples saves status for only 1 DC
the Inactive
* v3_2_latest_map_datacenters_storage_domains doesn't include status of each DC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHEA-2013-0926.html
Created attachment 711420 [details] logs Description of problem: [rhevm-dwh] - History DB - Storage Domain Status "Mixed" is not saved correctly (in statistics_storage_domains_samples) "Mixed"=3 & in statistics_storage_domains_resources_usage_samples it's saved =2 Version-Release number of selected component (if applicable): 3.2/SF10 How reproducible: always Steps to Reproduce: 1.Install rhevm+reports+dwh 2.configure 2 DCs with Storage domains 3.Add ISO domain and activate on one DC Actual results: webadmin shows Cross-data-center-status = "Mixed" (3) But in history db -> statistics_storage_domains_resources_usage_samples its saved as Inactive (2) Expected results: Status should be 3, instead of 2 Additional info: logs & pics