<div dir="ltr"><br>I've spent the weekend trying to get to the bottom of this issue.<br><br>Adding a Host fails:<br><br>From RHVM<br><br><br>VDSM rhv1 command failed: Connection reset by peer<br>Could not get hardware information for host rhv1<br>VDSM rhv1 command failed: Failed to read hardware information<br>Host rhv1 installed<br>Network changes were saved on host rhv1<br>Installing Host rhv1. Stage: Termination.<br>Installing Host rhv1. Retrieving installation logs to: '/var/log/ovirt-engine/host-deploy/ovirt-host-deploy-20161010115606-192.168.21.71-24d39274.log'.<br>Installing Host rhv1. Stage: Pre-termination.<br>Installing Host rhv1. Starting ovirt-vmconsole-host-sshd.<br>Installing Host rhv1. Starting vdsm.<br>Installing Host rhv1. Stopping libvirtd.<br>Installing Host rhv1. Stage: Closing up.<br>Installing Host rhv1. Setting kernel arguments.<br>Installing Host rhv1. Stage: Transaction commit.<br>Installing Host rhv1. Enrolling serial console certificate.<br>Installing Host rhv1. Enrolling certificate.<br>Installing Host rhv1. Stage: Misc configuration.<br><br><br><br>This was in the /var/log/vdsm/vdsm.log on the host trying to be added:<br><br>jsonrpc.Executor/2::ERROR::2016-10-10 11:57:10,276::API::1340::vds::(getHardwareInfo) failed to retrieve hardware info<br>Traceback (most recent call last):<br> File "/usr/share/vdsm/API.py", line 1337, in getHardwareInfo<br> hw = supervdsm.getProxy().getHardwareInfo()<br> File "/usr/lib/python2.7/site-packages/vdsm/supervdsm.py", line 53, in __call__<br> return callMethod()<br> File "/usr/lib/python2.7/site-packages/vdsm/supervdsm.py", line 51, in <lambda><br> **kwargs)<br> File "<string>", line 2, in getHardwareInfo<br> File "/usr/lib64/python2.7/multiprocessing/managers.py", line 759, in _callmethod<br> kind, result = conn.recv()<br>EOFError<br><br><br>and then VDSM fails to start.<br><br><br><br>Looking at the source code...<br><br>def getHardwareInfoStructure():<br> dmiInfo = getAllDmidecodeInfo()<br> sysStruct = {}<br> for k1, k2 in (('system', 'Manufacturer'),<br> ('system', 'Product Name'),<br> ('system', 'Version'),<br> ('system', 'Serial Number'),<br> ('system', 'UUID'),<br> ('system', 'Family')):<br> val = dmiInfo.get(k1, {}).get(k2, None)<br> if val not in [None, 'Not Specified']:<br> sysStruct[(k1 + k2).replace(' ', '')] = val<br><br>return sysStruct<br><br><br><br>Running dmidecode from command line I get..<br><br>System Information<br> Manufacturer: Supermicro<br> Product Name: H8DM8-2<br> Version: 1234567890<br> Serial Number: 1234567890<br> UUID: 00020003-0004-0005-0006-000700080009<br> Wake-up Type: Power Switch<br> SKU Number: To Be Filled By O.E.M.<br> Family: To Be Filled By O.E.M.<br><br><br>Q: Is the string in Family the source of my problems??<br><br>Q: Any work arounds??<br><br><br><br><br><br><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><pre cols="72">David Pinkerton
Consultant
Red Hat Asia Pacific Pty. Ltd.
Level 11, Canberra House
40 Marcus Clarke Street
Canberra 2600 ACT
Mobile: +61-488-904-232
Email: <a href="mailto:david.pinkerton@redhat.com" target="_blank">david.pinkerton@redhat.com</a>
Web: <a href="http://apac.redhat.com/" target="_blank">http://apac.redhat.com/</a>
<a href="http://apac.redhat.com/" target="_blank"></a></pre>
</div></div></div></div></div></div></div></div></div></div>
</div>