Omer Frenkel has posted comments on this change. Change subject: Adding bios information to vds object ......................................................................
Patch Set 19: I would prefer that you didn't submit this (1 inline comment) .................................................... File backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsManager.java Line 531: } Line 532: Line 533: if (isSetNonOperational && returnStatus != VDSStatus.NonOperational) { Line 534: if (log.isDebugEnabled()) { Line 535: log.debugFormat( this is wrong, the "NETWORK_UNREACHABLE" reason is specific for missing network, if bios info fails it needs its own treatment: 1. ignore it if its not critical for the host operation (== just log an error and host will continue as nothing happened) 2. create new non-operational reason and add treatment for it 3. act the same as get-capabilities failure (look at 'else' part, an exception is thrown Line 536: "refreshCapabilities:GetCapabilitiesVDSCommand vds {0} networks not match it's cluster networks, vds will be moved to NonOperational", Line 537: vds.getStaticData().getId()); Line 538: } Line 539: vds.setstatus(VDSStatus.NonOperational); -- To view, visit http://gerrit.ovirt.org/9337 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I142198d2059cf109be3859f255621e6ceca8582b Gerrit-PatchSet: 19 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Yaniv Bronhaim <ybron...@redhat.com> Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com> Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com> Gerrit-Reviewer: Alona Kaplan <alkap...@redhat.com> Gerrit-Reviewer: Barak Azulay <bazu...@redhat.com> Gerrit-Reviewer: Eli Mesika <emes...@redhat.com> Gerrit-Reviewer: Liron Aravot <lara...@redhat.com> Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com> Gerrit-Reviewer: Michael Kublin <mkub...@redhat.com> Gerrit-Reviewer: Michael Pasternak <mpast...@redhat.com> Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com> Gerrit-Reviewer: Oved Ourfali <oourf...@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com> Gerrit-Reviewer: Yaniv Bronhaim <ybron...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches