Amador Pahim has uploaded a new change for review.
Change subject: Adding "ksmShared" and "ksmSharing" statistics to getStats()
......................................................................
Adding "ksmShared" and "ksmSharing" statistics to getStats()
Currently getStats funcion shows three KSM info: "ksmState" (test
if ksm is running - true or false), "ksmPages" (pages to scan
before ksmd goes to sleep) and "ksmCpu" (the ksmd process cpu load).
This patch exposes KSM memory de-duplications statistics through
two new fields: "ksmShared" (how many Mbytes of memory are being
shared) and "ksmSharing" (how many more sites are sharing them
i.e. how much Mbytes are being saved).
Change-Id: Ic8b5b366b8668cf74b04d1089e6e515e93c0f746
Signed-off-by: Amador Pahim <apahim(a)redhat.com>
---
M vdsm/API.py
M vdsm/ksm.py
2 files changed, 35 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/55/4755/1
--
To view, visit http://gerrit.ovirt.org/4755
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic8b5b366b8668cf74b04d1089e6e515e93c0f746
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Amador Pahim <apahim(a)redhat.com>
Xu He Jie has uploaded a new change for review.
Change subject: fix pep8 for vdsm/sos/vdsmd.py.in
......................................................................
fix pep8 for vdsm/sos/vdsmd.py.in
Change-Id: I3fa7ce9a621ad825f7942e19c20beb3498280975
Signed-off-by: Xu He Jie <xuhj(a)linux.vnet.ibm.com>
---
M Makefile.am
M vdsm/sos/vdsmd.py.in
2 files changed, 13 insertions(+), 7 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/82/4582/1
--
To view, visit http://gerrit.ovirt.org/4582
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3fa7ce9a621ad825f7942e19c20beb3498280975
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Xu He Jie <xuhj(a)linux.vnet.ibm.com>
Xu He Jie has uploaded a new change for review.
Change subject: add VdsmConfig.py for support writing comment to config file
......................................................................
add VdsmConfig.py for support writing comment to config file
current config.py just use ConfigParser the python default
implement. it doesn't support adding comment. so create
class VdsmConfig that derived from ConfigParser,
and it can write comment to config file.
Change-Id: I06d8d23e1d1f12b880ae71e2c978efcfece8001a
Signed-off-by: Xu He Jie <xuhj(a)linux.vnet.ibm.com>
---
M vdsm.spec.in
M vdsm/Makefile.am
A vdsm/VdsmConfig.py
M vdsm/config.py.in
4 files changed, 76 insertions(+), 26 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/26/4826/1
--
To view, visit http://gerrit.ovirt.org/4826
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I06d8d23e1d1f12b880ae71e2c978efcfece8001a
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Xu He Jie <xuhj(a)linux.vnet.ibm.com>
Wenyi Gao has uploaded a new change for review.
Change subject: Close and remove the temporary file before raising a exception
......................................................................
Close and remove the temporary file before raising a exception
Change-Id: I93eafbcf78805669596258b3579ee49cc1b79360
Signed-off-by: Wenyi Gao <wenyi(a)linux.vnet.ibm.com>
---
M vdsm/storage/multipath.py
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/85/4885/1
--
To view, visit http://gerrit.ovirt.org/4885
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I93eafbcf78805669596258b3579ee49cc1b79360
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Wenyi Gao <wenyi(a)linux.vnet.ibm.com>
Mark Wu has uploaded a new change for review.
Change subject: Fix "unknown device" issue for balloon device
......................................................................
Fix "unknown device" issue for balloon device
The balloon device's 'alias' property should be updated in function
_getUnderlyingBalloonDeviceInfo(), otherwise it will be recognized as a
unknown device in _getUnderlyingUnknownDeviceInfo().
For the 'model' property, it must be included in the balloon device
parameter and libvirt will not change it, so we needn't get back from
libvirt.
For the 'address' property, libvirt may change it on confict addresses.
So change to always update 'address' from libvirt as the way we handle
drives and network interfaces.
Change-Id: Ibb9c371d1f3d90521cc4bfb9516a0bb979843f52
Signed-off-by: Mark Wu <wudxw(a)linux.vnet.ibm.com>
---
M vdsm/libvirtvm.py
1 file changed, 6 insertions(+), 7 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/01/3901/1
--
To view, visit http://gerrit.ovirt.org/3901
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibb9c371d1f3d90521cc4bfb9516a0bb979843f52
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Mark Wu <wudxw(a)linux.vnet.ibm.com>
Mark Wu has uploaded a new change for review.
Change subject: Introduce a singleton decorator
......................................................................
Introduce a singleton decorator
When I try to change clientIF into singleton, I found it would introduce
duplicate code which was used in supervdsm.py and resourceManager.py.
So this patch adds a generic singleton decorator for reuse. If this one
looks good, I will change SuperVdsmProxy and ResourceManager to use this
decrator.
Change-Id: I17c1b7be60a50cdaa731ee88f29d2017ea6c3f2b
Signed-off-by: Mark Wu <wudxw(a)linux.vnet.ibm.com>
---
M tests/Makefile.am
A tests/utilsTests.py
M vdsm/utils.py
3 files changed, 49 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/39/4839/1
--
To view, visit http://gerrit.ovirt.org/4839
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I17c1b7be60a50cdaa731ee88f29d2017ea6c3f2b
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Mark Wu <wudxw(a)linux.vnet.ibm.com>
Ryan Harper has uploaded a new change for review.
Change subject: PEP8 fixes for localFsSD
......................................................................
PEP8 fixes for localFsSD
% pep8 vdsm/storage/localFsSD.py
vdsm/storage/localFsSD.py:16:80: E501 line too long (80 characters)
vdsm/storage/localFsSD.py:49:80: E501 line too long (84 characters)
vdsm/storage/localFsSD.py:102:1: E302 expected 2 blank lines, found 1
Change-Id: I7ec53b45fc27b48d21638e405b219a66f2707b5b
Signed-off-by: Ryan Harper <ryanh(a)us.ibm.com>
---
M vdsm/storage/localFsSD.py
1 file changed, 4 insertions(+), 2 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/38/3938/1
--
To view, visit http://gerrit.ovirt.org/3938
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7ec53b45fc27b48d21638e405b219a66f2707b5b
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ryan Harper <ryanh(a)us.ibm.com>
Adam Litke has uploaded a new change for review.
Change subject: hook: balloon - Enable the virtio balloon
......................................................................
hook: balloon - Enable the virtio balloon
Currently the virtio balloon is disabled for vdsm guests. Until we decide to
enable it by default, a hook is a convenient way to enable ballooning on a host.
This hook simply replaces the model attribute of the memballoon tag from none to
virtio.
Change-Id: Idc7d533268aff536179045db06b81e17c5fae3db
Signed-off-by: Adam Litke <agl(a)us.ibm.com>
---
M configure.ac
M vdsm.spec.in
M vdsm_hooks/Makefile.am
A vdsm_hooks/balloon/Makefile.am
A vdsm_hooks/balloon/before_vm_start.py
5 files changed, 63 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/16/4316/1
--
To view, visit http://gerrit.ovirt.org/4316
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idc7d533268aff536179045db06b81e17c5fae3db
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <agl(a)us.ibm.com>
Douglas Schilling Landgraf has uploaded a new change for review.
Change subject: restTests: use short release/version
......................................................................
restTests: use short release/version
oVirt Engine cannot handle release/version with more then 2 digits.
To workaround, we add a sed command into vdsm.spec to make version/release
a short string in dsaversion.py. However, restTests is failing now because
the version/release provided by dsaversion are not releated to the
full version string provided by REST API. This patch will add a workaround
also in restTests.py
Change-Id: I350cd7b561d9db25f47988de290181a34b93c2c8
Signed-off-by: Douglas Schilling Landgraf <dougsland(a)redhat.com>
---
M tests/functional/restTests.py
1 file changed, 11 insertions(+), 2 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/56/4956/1
--
To view, visit http://gerrit.ovirt.org/4956
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I350cd7b561d9db25f47988de290181a34b93c2c8
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland(a)redhat.com>