Douglas Schilling Landgraf has posted comments on this change.
Change subject: oVirt Node Upgrade: Support N configuration
......................................................................
Patch Set 16:
(5 comments)
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetoVirtISOsQuery.java
Line 44:
Line 45: RpmVersion vdsOsVersion =
VdsHandler.getOvirtHostOsVersion(vds);
Line 46: String nodeOS = vds.getHostOs();
Line 47: String nodeOsSupported = null;
Line 48: Matcher matcher;
Done
Line 49:
Line 50: for (OVirtNodeInfo.Entry info :
OVirtNodeInfo.getInstance().get()) {
Line 51:
Line 52: try {
Line 53: log.infoFormat("nodeOS [{0}]", nodeOS.toLowerCase());
Line 54: log.infoFormat("info.nodePattern [{0}]",
info.nodePattern);
Line 55: matcher =
info.nodePattern.matcher(nodeOS.toLowerCase());
Line 56: matcher.find();
Line 57: nodeOsSupported = matcher.group(0);
Done
Line 58: log.infoFormat("nodeOS [{0}] supported node OS [{1}]",
nodeOS.toLowerCase(), nodeOsSupported);
Line 59: } catch (RuntimeException e) {
Line 60: log.infoFormat("Cannot match nodeOS [{0}]]",
nodeOS.toLowerCase());
Line 61: continue;
Line 55: matcher =
info.nodePattern.matcher(nodeOS.toLowerCase());
Line 56: matcher.find();
Line 57: nodeOsSupported = matcher.group(0);
Line 58: log.infoFormat("nodeOS [{0}] supported node OS [{1}]",
nodeOS.toLowerCase(), nodeOsSupported);
Line 59: } catch (RuntimeException e) {
Done
Line 60: log.infoFormat("Cannot match nodeOS [{0}]]",
nodeOS.toLowerCase());
Line 61: continue;
Line 62: }
Line 63:
Line 61: continue;
Line 62: }
Line 63:
Line 64: if (nodeOS.toLowerCase().indexOf(nodeOsSupported) != -1
&& info.path.isDirectory()) {
Line 65: log.debugFormat("Looking for list of ISOs in [{0}]",
info.path);
Done
Line 66: log.debugFormat("regex isoPattern for ISOs: [{0}]",
info.isoPattern);
Line 67: for (File file : info.path.listFiles()) {
Line 68: matcher = info.isoPattern.matcher(file.getName());
Line 69: if (matcher.find()) {
....................................................
File
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java
Line 1461: @DefaultValueAttribute("3")
Line 1462: IterationsWithBalloonProblem(525),
Line 1463:
Line 1464: @TypeConverterAttribute(String.class)
Line 1465: @DefaultValueAttribute("^ovirt.*:^rhev.*")
Done
Line 1466: oVirtNode(525),
Line 1467:
Line 1468: Invalid(65535);
Line 1469:
--
To view, visit http://gerrit.ovirt.org/14756
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibfb9dc5d0dc8780b519107acbe0ae866831f782c
Gerrit-PatchSet: 16
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Barak Azulay <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Douglas Schilling Landgraf <[email protected]>
Gerrit-Reviewer: Michael Burns <[email protected]>
Gerrit-Reviewer: Ravi Nori <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches