automation(a)ovirt.org has posted comments on this change.
Change subject: snapshot: Add VM.freeze() and VM.thaw() verbs
......................................................................
Patch Set 7:
* 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/43058
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I44c4237841e44548f48f626f4241d3f2e484930e
Gerrit-PatchSet: 7
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: Francesco Romani <fromani(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Maor Lipchuk <mlipchuk(a)redhat.com>
Gerrit-Reviewer: Martin Polednik <mpolednik(a)redhat.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek(a)redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-HasComments: No
Nir Soffer has uploaded a new change for review.
Change subject: tests: Record fake domain calls in a list
......................................................................
tests: Record fake domain calls in a list
Keeping calls in a list allows testing of multiple calls. We can check
how many time a methods was called, what args and kwargs were used on
each call, and we can verify the correct order of the calls.
Change-Id: I279a1fd7a2e07b7adef4f446c9487a51d9df21f4
Signed-off-by: Nir Soffer <nsoffer(a)redhat.com>
---
M tests/vmTests.py
M tests/vmfakelib.py
2 files changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/98/42998/1
diff --git a/tests/vmTests.py b/tests/vmTests.py
index a6b23ac..e1e7f1a 100644
--- a/tests/vmTests.py
+++ b/tests/vmTests.py
@@ -1488,7 +1488,7 @@
target = 256
res = testvm.setBalloonTarget(target) # just to fit in 80 cols
self.assertEqual(res['status']['code'], 0)
- self.assertEqual(testvm._dom.calls['setMemory'][0], target)
+ self.assertEqual(testvm._dom.calls, [('setMemory', (target,), {})])
def testVmWithoutDom(self):
with fake.VM() as testvm:
diff --git a/tests/vmfakelib.py b/tests/vmfakelib.py
index ece0a42..2e44fb1 100644
--- a/tests/vmfakelib.py
+++ b/tests/vmfakelib.py
@@ -173,7 +173,7 @@
self._domState = domState
self._domReason = domReason
self._vmId = vmId
- self.calls = {}
+ self.calls = []
self._diskErrors = {}
self._downtimes = []
@@ -226,7 +226,7 @@
def setMemory(self, target):
self._failIfRequested()
- self.calls['setMemory'] = (target,)
+ self.calls.append(('setMemory', (target,), {}))
def setDiskErrors(self, diskErrors):
self._diskErrors = diskErrors
--
To view, visit https://gerrit.ovirt.org/42998
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I279a1fd7a2e07b7adef4f446c9487a51d9df21f4
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer(a)redhat.com>
Ala Hino has uploaded a new change for review.
Change subject: build: Change dependency on glusterfs-cli and glusterfs-fuse
......................................................................
build: Change dependency on glusterfs-cli and glusterfs-fuse
Originally, glusterfs-cli and glusterfs-fuse were required only
when not building vdsm on RHEV.
We changed the spec file to always require
gluster-cli and glusterfs-fuse in order to use gluster get volume
info api to implement mounting gluster backup servers
(https://gerrit.ovirt.org/40665).
However, requiring these dependencies fails vdsm build on ppc64le.
This patch revert requiring glusterfs-cli and glusterfs-fuse
dependencies as were originally defined.
Change-Id: I4cf424e7055ad071561d037b65972dde3b1b0b8b
Signed-off-by: Ala Hino <ahino(a)redhat.com>
---
M vdsm.spec.in
1 file changed, 3 insertions(+), 4 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/97/43097/1
diff --git a/vdsm.spec.in b/vdsm.spec.in
index a4dc9f1..defee9e 100644
--- a/vdsm.spec.in
+++ b/vdsm.spec.in
@@ -235,10 +235,6 @@
Requires: qemu-img >= 2:2.0.0-1
%endif # rhel
-# GlusterFS client-side RPMs needed for Gluster SD
-Requires: glusterfs-cli >= %{gluster_version}
-Requires: glusterfs-fuse >= %{gluster_version}
-
Requires: psmisc >= 22.6-15
Requires: bridge-utils
Requires: sos
@@ -590,6 +586,7 @@
VDSM hook used for applying IPv6 configuration through custom network
properties
+# GlusterFS client-side RPMs needed for Gluster SD
%if 0%{?with_gluster}
%package gluster
Summary: Gluster Plugin for VDSM
@@ -597,6 +594,8 @@
Requires: glusterfs-server >= %{gluster_version}
Requires: glusterfs-api >= %{gluster_version}
Requires: glusterfs-geo-replication >= %{gluster_version}
+Requires: glusterfs-cli >= %{gluster_version}
+Requires: glusterfs-fuse >= %{gluster_version}
Requires: python-magic
Requires: python-blivet
Requires: xfsprogs
--
To view, visit https://gerrit.ovirt.org/43097
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4cf424e7055ad071561d037b65972dde3b1b0b8b
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ala Hino <ahino(a)redhat.com>
automation(a)ovirt.org has posted comments on this change.
Change subject: snapshot: Add VM.freeze() and VM.thaw() verbs
......................................................................
Patch Set 6:
* 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/43058
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I44c4237841e44548f48f626f4241d3f2e484930e
Gerrit-PatchSet: 6
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: Francesco Romani <fromani(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Maor Lipchuk <mlipchuk(a)redhat.com>
Gerrit-Reviewer: Martin Polednik <mpolednik(a)redhat.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek(a)redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-HasComments: No
Francesco Romani has posted comments on this change.
Change subject: snapshot: Add VM.freeze() and VM.thaw() verbs
......................................................................
Patch Set 5: Code-Review+1
--
To view, visit https://gerrit.ovirt.org/43058
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I44c4237841e44548f48f626f4241d3f2e484930e
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: Francesco Romani <fromani(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Maor Lipchuk <mlipchuk(a)redhat.com>
Gerrit-Reviewer: Martin Polednik <mpolednik(a)redhat.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek(a)redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-HasComments: No