Change in vdsm[master]: net ifcfg.flush: log flushed files content
danken at redhat.com
danken at redhat.com
Fri Mar 27 16:10:10 UTC 2015
Dan Kenigsberg has uploaded a new change for review.
Change subject: net ifcfg.flush: log flushed files content
......................................................................
net ifcfg.flush: log flushed files content
This is an attempt to better understand why ifcfg-rhevm is removed in
https://bugzilla.redhat.com/show_bug.cgi?id=1200207
Change-Id: Ie0b46946474f639114f482864650e54002034d1f
Signed-off-by: Dan Kenigsberg <danken at redhat.com>
---
M vdsm/network/configurators/ifcfg.py
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/85/39285/1
diff --git a/vdsm/network/configurators/ifcfg.py b/vdsm/network/configurators/ifcfg.py
index 866ade8..e360b1e 100644
--- a/vdsm/network/configurators/ifcfg.py
+++ b/vdsm/network/configurators/ifcfg.py
@@ -275,7 +275,10 @@
sortedDeviceIfcfgFiles = self._sortDeviceIfcfgs(ownedIfcfgFiles)
self._stopDevices(sortedDeviceIfcfgFiles)
for fpath in ownedIfcfgFiles:
+ with open(fpath) as f:
+ content = f.read()
self._removeFile(fpath)
+ logging.debug('%s', content)
@staticmethod
def _removeFile(filename):
--
To view, visit https://gerrit.ovirt.org/39285
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie0b46946474f639114f482864650e54002034d1f
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <danken at redhat.com>
More information about the vdsm-patches
mailing list