Change in vdsm[ovirt-3.3]: sos: plugin should ignore /var/run/vdsm/storage

dougsland at redhat.com dougsland at redhat.com
Thu Jan 30 23:23:32 UTC 2014


Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: sos: plugin should ignore /var/run/vdsm/storage
......................................................................

sos: plugin should ignore /var/run/vdsm/storage

In case sos plugin includes /var/run/vdsm/storage and it contains
symlinks to block devices it can make the host fill the disk
and eventually create a 0 sized sosreport.

Change-Id: Ie60d681cc744f2407a0ddf9406225e73497ac648
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M vdsm/sos/vdsm.py.in
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/30/23930/1

diff --git a/vdsm/sos/vdsm.py.in b/vdsm/sos/vdsm.py.in
index 63a028c..6e4e60b 100644
--- a/vdsm/sos/vdsm.py.in
+++ b/vdsm/sos/vdsm.py.in
@@ -120,5 +120,6 @@
         import glob
 
         for f in glob.glob("@VDSMRUNDIR@/*"):
-            if not f.endswith('.vfd') and not f.endswith('/isoUploader'):
+            if not f.endswith('.vfd') and not f.endswith('/isoUploader') \
+                    and not f.endswith('/storage'):
                 self.addCopySpec(f)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie60d681cc744f2407a0ddf9406225e73497ac648
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.3
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>


More information about the vdsm-patches mailing list