Dan Kenigsberg has uploaded a new change for review.
Change subject: confNet: ifcfg's VLAN should be set only on vlan cfg
......................................................................
confNet: ifcfg's VLAN should be set only on vlan cfg
If a misguided script calls addNetwork with explicit VLAN option, it
sohuld not be blindly copied to the top-most device.
We set VLAN=yes on the ifcfg script for the vlan device, and that's
that.
Change-Id: Ia2c9d6c86e73104424ca8ac901bf09e4b98a47ab
Bug-Id: BZ#847733
Signed-off-by: Dan Kenigsberg <danken(a)redhat.com>
---
M vdsm/configNetwork.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/11/7411/1
diff --git a/vdsm/configNetwork.py b/vdsm/configNetwork.py
index 3f99a66..2ef0a8a 100755
--- a/vdsm/configNetwork.py
+++ b/vdsm/configNetwork.py
@@ -384,7 +384,7 @@
if mtu:
cfg = cfg + 'MTU=%d\n' % mtu
cfg += 'NM_CONTROLLED=no\n'
- BLACKLIST = ['TYPE', 'NAME', 'DEVICE', 'bondingOptions',
+ BLACKLIST = ['TYPE', 'NAME', 'DEVICE', 'VLAN', 'bondingOptions',
'force', 'blockingdhcp',
'connectivityCheck', 'connectivityTimeout',
'implicitBonding']
--
To view, visit http://gerrit.ovirt.org/7411
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia2c9d6c86e73104424ca8ac901bf09e4b98a47ab
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <danken(a)redhat.com>
Lee Yarwood has uploaded a new change for review.
Change subject: supervdsm: Enable multiprocessing module logging.
......................................................................
supervdsm: Enable multiprocessing module logging.
The multiprocessing module includes error logging using Python's logging
module, but it is not enabled by default. This patch enables the
logging and sets it to propagate to the supervdsmServer's root logger,
so it now defaults to producing logging and can be configured easily
from /etc/vdsm/svdsm.logger.conf.
Change-Id: Idbbe0f1eb294e99de997f78b964a062fdddbb6ea
Signed-off-by: Lee Yarwood <lyarwood(a)redhat.com>
Signed-off-by: David Gibson <dgibson(a)redhat.com>
---
M vdsm/supervdsmServer
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/41/19741/1
diff --git a/vdsm/supervdsmServer b/vdsm/supervdsmServer
index 40ec9df..006c35c 100755
--- a/vdsm/supervdsmServer
+++ b/vdsm/supervdsmServer
@@ -30,6 +30,7 @@
import signal
import logging
import logging.config
+import multiprocessing
LOG_CONF_PATH = "/etc/vdsm/svdsm.logger.conf"
@@ -356,6 +357,7 @@
def main(sockfile, pidfile=None):
log = logging.getLogger("SuperVdsm.Server")
+ multiprocessing.get_logger().propagate = 1
def bind(func):
def wrapper(_SuperVdsm, *args, **kwargs):
--
To view, visit http://gerrit.ovirt.org/19741
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idbbe0f1eb294e99de997f78b964a062fdddbb6ea
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Lee Yarwood <lyarwood(a)redhat.com>
Lee Yarwood has uploaded a new change for review.
Change subject: lvm: Make the isActiveLV() method public.
......................................................................
lvm: Make the isActiveLV() method public.
This change makes the private isActiveLV() method public for
use in the blockSD layer.
Change-Id: I670fe3969b88819891c64ea3ac487b070618aaec
Signed-off-by: Lee Yarwood <lyarwood(a)redhat.com>
---
M vdsm/storage/lvm.py
1 file changed, 1 insertion(+), 3 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/86/21386/1
diff --git a/vdsm/storage/lvm.py b/vdsm/storage/lvm.py
index 112f1c0..76184b8 100644
--- a/vdsm/storage/lvm.py
+++ b/vdsm/storage/lvm.py
@@ -1221,10 +1221,8 @@
return os.path.basename(os.readlink(lvp))
-def _isLVActive(vgName, lvName):
+def isLVActive(vgName, lvName):
"""Active volumes have a mp link.
-
- This function should not be used out of this module.
"""
return os.path.exists(lvPath(vgName, lvName))
--
To view, visit http://gerrit.ovirt.org/21386
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I670fe3969b88819891c64ea3ac487b070618aaec
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Lee Yarwood <lyarwood(a)redhat.com>