Antoni Segura Puimedon has uploaded a new change for review.
Change subject: Fix configNetworkTests.ConfigWriter monkeypatch.
......................................................................
Fix configNetworkTests.ConfigWriter monkeypatch.
ConfigWriter creates NET_CONF_PREF from netinfo's NET_CONF_PREF at
import time, it being a class variable, so the current scope Monkey
patch of just netinfo was not sufficient.
Change-Id: I6925c59650aaa81fa925a4be3bcd72dcbebbb415
Signed-off-by: Antoni S. Puimedon <asegurap(a)redhat.com>
---
M tests/configNetworkTests.py
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/61/10161/1
diff --git a/tests/configNetworkTests.py b/tests/configNetworkTests.py
index 07291db..eb89df9 100644
--- a/tests/configNetworkTests.py
+++ b/tests/configNetworkTests.py
@@ -355,6 +355,8 @@
(netinfo, 'NET_CONF_BACK_DIR',
os.path.join(self._tempdir, 'netback')),
(netinfo, 'NET_CONF_DIR', self._tempdir),
+ (configNetwork.ConfigWriter, 'NET_CONF_PREF',
+ os.path.join(self._tempdir, 'ifcfg-'))
]):
#after vdsm package is installed, the 'vdsm' account will be
#created if no 'vdsm' account, we should skip this test
--
To view, visit http://gerrit.ovirt.org/10161
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6925c59650aaa81fa925a4be3bcd72dcbebbb415
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Antoni Segura Puimedon <asegurap(a)redhat.com>
Yaniv Bronhaim has uploaded a new change for review.
Change subject: supervdsmServer is down after failed operation (#851832)
......................................................................
supervdsmServer is down after failed operation (#851832)
https://bugzilla.redhat.com/show_bug.cgi?id=851832
After running operation that throws exception that we don't catch in
supervdsmServer, we catch it in ProxyCaller::__call__ method.
In this except code we reset supervdsmServer and call the same method
again.
If the exception is thrown again, we leave supervdsmServer down And this
is how supervdsmServer remains.
This patch omit the recall and leave the reset to keep on normal flow.
Change-Id: Idad4a622b82259b777851d1b0c1b37ec8da2b01e
Signed-off-by: Yaniv Bronhaim <ybronhei(a)redhat.com>
---
M vdsm/supervdsm.py
1 file changed, 0 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/01/7901/1
diff --git a/vdsm/supervdsm.py b/vdsm/supervdsm.py
index 79e8d81..75e93e2 100644
--- a/vdsm/supervdsm.py
+++ b/vdsm/supervdsm.py
@@ -67,7 +67,6 @@
return callMethod()
except (IOError, socket.error, AuthenticationError):
self._supervdsmProxy._restartSupervdsm()
- return callMethod()
class SuperVdsmProxy(object):
--
To view, visit http://gerrit.ovirt.org/7901
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idad4a622b82259b777851d1b0c1b37ec8da2b01e
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <ybronhei(a)redhat.com>