Change in vdsm[master]: multiapth conf: Replace TM to OVIRT
by ykaplan@redhat.com
Yeela Kaplan has uploaded a new change for review.
Change subject: multiapth conf: Replace TM to OVIRT
......................................................................
multiapth conf: Replace TM to OVIRT
Change-Id: Icd27a02f9318f3e7814c5d971ed9e605651cf286
Signed-off-by: Yeela Kaplan <ykaplan(a)redhat.com>
---
M lib/vdsm/tool/configurators/multipath.py
1 file changed, 5 insertions(+), 4 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/66/37966/1
diff --git a/lib/vdsm/tool/configurators/multipath.py b/lib/vdsm/tool/configurators/multipath.py
index 8f19196..2d08888 100644
--- a/lib/vdsm/tool/configurators/multipath.py
+++ b/lib/vdsm/tool/configurators/multipath.py
@@ -87,14 +87,15 @@
"# RHEV REVISION 0.4", "# RHEV REVISION 0.5",
"# RHEV REVISION 0.6", "# RHEV REVISION 0.7",
"# RHEV REVISION 0.8", "# RHEV REVISION 0.9",
- "# RHEV REVISION 1.0"]
+ "# RHEV REVISION 1.0", "# RHEV REVISION 1.1"]
-_MPATH_CONF_TAG = "# RHEV REVISION 1.1"
+_MPATH_CONF_TAG = "# OVIRT REVISION 1.2"
# Having the PRIVATE_TAG in the conf file means
# vdsm-tool should never change the conf file
# even when using the --force flag
-_MPATH_CONF_PRIVATE_TAG = "# RHEV PRIVATE"
+_OLD_PRIVATE_TAG = "# RHEV PRIVATE"
+_MPATH_CONF_PRIVATE_TAG = "# OVIRT PRIVATE"
_MPATH_CONF_TEMPLATE = _MPATH_CONF_TAG + _STRG_MPATH_CONF
@@ -161,7 +162,7 @@
second = mpathconf[1]
except IndexError:
pass
- if _MPATH_CONF_PRIVATE_TAG in second:
+ if _MPATH_CONF_PRIVATE_TAG in second or _OLD_PRIVATE_TAG in second:
sys.stdout.write("Manual override for multipath.conf detected"
" - preserving current configuration\n")
if _MPATH_CONF_TAG not in first:
--
To view, visit http://gerrit.ovirt.org/37966
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icd27a02f9318f3e7814c5d971ed9e605651cf286
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yeela Kaplan <ykaplan(a)redhat.com>
8 years, 1 month
Change in vdsm[master]: ceph: Initial support for network disk
by automation@ovirt.org
automation(a)ovirt.org has posted comments on this change.
Change subject: ceph: Initial support for network disk
......................................................................
Patch Set 5:
* Update tracker::IGNORE, no Bug-Url found
* Check Bug-Url::WARN, no bug url found, make sure header matches 'Bug-Url: ' and is a valid url.
* Check merged to previous::IGNORE, Not in stable branch (['ovirt-3.5', 'ovirt-3.4', 'ovirt-3.3'])
--
To view, visit https://gerrit.ovirt.org/38766
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I1c5792bb6206a227ee0c2df9490b771a69c0093c
Gerrit-PatchSet: 5
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer(a)redhat.com>
Gerrit-Reviewer: Adam Litke <alitke(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce(a)redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsoffer(a)redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski(a)gmail.com>
Gerrit-Reviewer: Sahina Bose <sabose(a)redhat.com>
Gerrit-Reviewer: Timothy Asir <tjeyasin(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-HasComments: No
8 years, 1 month
Change in vdsm[master]: debug: Integrate manhole debugging service
by Nir Soffer
Nir Soffer has uploaded a new change for review.
Change subject: debug: Integrate manhole debugging service
......................................................................
debug: Integrate manhole debugging service
Manhole is in-process service that will accept unix domain socket
connections and present the stacktraces for all threads and an
interactive prompt.
Usage:
0. Install it
pip install manhole
1. Enable it in vdsm.conf:
[vars]
manhole_enable = true
2. Dive into vdsm:
$ nc -U /tmp/manhole-1234
Python 2.7.5 (default, Jun 26 2014, 11:55:39)
[GCC 4.8.2 20131212 (Red Hat 4.8.2-7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
Change-Id: I8a6cdf97ddce446bea527e771eb641f969b1a532
Signed-off-by: Nir Soffer <nsoffer(a)redhat.com>
---
M lib/vdsm/config.py.in
M vdsm/vdsm
2 files changed, 7 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/47/32147/1
diff --git a/lib/vdsm/config.py.in b/lib/vdsm/config.py.in
index 69185e0..d085890 100644
--- a/lib/vdsm/config.py.in
+++ b/lib/vdsm/config.py.in
@@ -42,6 +42,9 @@
('profile_clock', 'cpu',
'Sets the underlying clock type (cpu, wall)'),
+ ('manhole_enable', 'false',
+ 'Enable manhole debugging service (requires manhole package).'),
+
('host_mem_reserve', '256',
'Reserves memory for the host to prevent VMs from using all the '
'physical pages. The values are in Mbytes.'),
diff --git a/vdsm/vdsm b/vdsm/vdsm
index e575295..9fdf72f 100755
--- a/vdsm/vdsm
+++ b/vdsm/vdsm
@@ -70,6 +70,10 @@
profile.start()
+ if config.getboolean('vars', 'manhole_enable'):
+ import manhole
+ manhole.install()
+
libvirtconnection.start_event_loop()
if config.getboolean('irs', 'irs_enable'):
--
To view, visit http://gerrit.ovirt.org/32147
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8a6cdf97ddce446bea527e771eb641f969b1a532
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer(a)redhat.com>
8 years, 1 month