Alon Bar-Lev has uploaded a new change for review.

Change subject: vdsm: hardware: do not fail if pdr cannot be read
......................................................................

vdsm: hardware: do not fail if pdr cannot be read

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=916589
Change-Id: I96ff8f98b58f34ff2b1af4c0232150fd357ac018
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M src/plugins/ovirt-host-deploy/vdsm/hardware.py
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-host-deploy 
refs/changes/67/12767/1

diff --git a/src/plugins/ovirt-host-deploy/vdsm/hardware.py 
b/src/plugins/ovirt-host-deploy/vdsm/hardware.py
index 6c5a348..220ea88 100644
--- a/src/plugins/ovirt-host-deploy/vdsm/hardware.py
+++ b/src/plugins/ovirt-host-deploy/vdsm/hardware.py
@@ -212,6 +212,11 @@
             self.logger.warning(
                 _('Cannot detect if hardware supports virtualization')
             )
+        except IOError:
+            self.logger.debug('Cannot detect virualization', exc_info=True)
+            self.logger.warning(
+                _('Cannot detect if hardware supports virtualization')
+            )
 
     @plugin.event(
         stage=plugin.Stages.STAGE_VALIDATION,


--
To view, visit http://gerrit.ovirt.org/12767
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I96ff8f98b58f34ff2b1af4c0232150fd357ac018
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-host-deploy
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to