Created attachment 1222468 [details]
Description of problem:
cloudforms reports not gathering information for rhev infrastructure providers.
RHEV hosts are missing the hardware model information
Version-Release number of selected component (if applicable):
184.108.40.206 and 220.127.116.11
Steps to Reproduce:
1. attach RHEV to CFME
2. generate hardware information report.
3. Cloud Intel >> Reports >> All Reports >> Configration Management >> Hosts >> Hardware Information
Please see the attachment
Oved, can you guys validate whether this is because it's not getting RHEV data, or whether this is because the reporting is not working correctly.
If it's reporting, you can reassign to GreggT. Thanks!
Ilanit, can you check that use case in your 5.6 system?
Saif, what's the RHV version they work with?
Oved, I'm not sure about the customer RHV version but I tested on my system, and its running Red Hat Virtualization Manager Version: 18.104.22.168-0.1.el7ev , and CFME 22.214.171.124
RHEL - 4.0 - 4.2.el7
Red Hat Virtualization Host 4.0 (el7.2)
3.10.0 - 327.36.1.el7.x86_64
2.3.0 - 31.el7_2.21
0.12.4 - 15.el7_2.2
Let me ask them about RHV version they using also.
RHV versions are:
Red Hat Enterprise Virtualization Hypervisor release 6.6
Red Hat Enterprise Virtualization Hypervisor release 7.2
And the RHEV-M is 3.5.
For CFME-126.96.36.199 and RHV-4.0.5/RHV-3.6.8,
It seems the table on Hardware information looks different than the attached report, for CFME-188.8.131.52.
Here, the missing information is only for 'Hardware Number of Nics' column.
screenshot 'CFME-184.108.40.206-Hosts_ardware_information_report' attached.
I'll test it on CFME-220.127.116.11 as well, and update later on.
Created attachment 1225299 [details]
For CFME-18.104.22.168/RHV-4.0.5 & CFME-22.214.171.124/RHV-3.6.8,
the displayed table is the same as for CFME-126.96.36.199 and RHV-4.0.5/RHV-3.6.8
(See "CFME-188.8.131.52-Hosts_ardware_information_report" attachment).
But, here these columns are not populated:
'Hardware Manufacturer', 'Hardware Model', 'Hardware Number Of Nics'.
To sum up:
For CFME, with added RHV provider, and following this flow:
Cloud Intel >> Reports >> All Reports >> Configration Management >> Hosts >> Hardware Information,
lead to the attached "CFME-184.108.40.206-Hosts_ardware_information_report" screenshot.
This table is different from the "report" attachment.
I guess the flow to generate the "report" is different than the one mentioned in bug description.
Can you please clarify: how to generate this "report"/where this "report" is located?
RHEV 4.0 (220.127.116.11.20160127105142_395c086)
Cloud Intel >> Reports >> All Reports >> Configuration Management >> Hosts >> Hardware Information report.
RHV4 is supported also in CFME 5.6.1 and above: bug 1372393.
Using the default available reports, using flow:
Cloud Intel >> Reports >> All Reports >> Configuration Management >> Hosts >> Hardware Information report,
display the attached "CFME-18.104.22.168-Hosts_ardware_information_report"
I couldn't find a report, as the attached "report"
however, I created a new report, with fields, that were available under "Host/Nodes":
Hardware Guest OS,
Number of CPU Cores,
Number of CPUs,
Hardware Cpu Cores Per Socket,
(couldn't find "Hardware serial number", mentioned in comment 8).
The resulted report can be seen in attachment "New_report".
For CFME-22.214.171.124, and providers: VSphere 5.5, RHV-4.0.5, RHV-3.5.
In this "New_report" created, for VSphere all columns were populated.
For RHV-4.0.5 & RHV-3.5 all fields were populated, except for "Hardware Guest OS"
1. Was the "report" attached was created by using New report flow?
2. If yes, from where "Hardware serial number", mentioned in comment 8, was taked (it is not seen in the attached "report"
Created attachment 1226676 [details]
The following fields were added only in RHV 3.6 :
threads_per_core, hardware_manufacturer, hardware_product_name, hardware_version, hardware_serial_number
So they can not be displayed for a RHV 3.5.
Also, the host configurations table in dwh does not include the "Number of nics" field and it will require calculation on the report level when running the report.
Host_os is available, not sure why it is not populated for RHV.
New commit detected on ManageIQ/manageiq/master:
Author: Boris Odnopozov <email@example.com>
AuthorDate: Tue Dec 27 14:35:29 2016 +0200
Commit: Boris Odnopozov <firstname.lastname@example.org>
CommitDate: Tue Jan 17 09:54:43 2017 +0200
Add parsing number of nics from RHV inventory
During refresh parse the number of nics a host has and put it in hardware.
.../manageiq/providers/redhat/infra_manager/refresh/parse/parser.rb | 2 ++
.../providers/redhat/infra_manager/refresh/refresher_3_1_spec.rb | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
Verified on 126.96.36.199-rc2 with RHEV 3.6 and RHV 4.1. Hosts have number_of_nics populated in "hardwares" db table, and the "Hardware information for Hosts" report shows the values as expected.
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.