Ryan Harper has uploaded a new change for review.
Change subject: tests: add netinfo test for speed() function
......................................................................
tests: add netinfo test for speed() function
Test that speed() returns either 0 or a valid value.
Currently using ethtool headers to provide a list of
valid speeds (10, 100, 1000, 2500, 10000).
Change-Id: I0bf6404df05f09e984aef2f9c9264c9589d2b27e
Signed-off-by: Ryan Harper <ryanh(a)us.ibm.com>
---
M tests/netinfoTests.py
1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/23/4323/1
--
To view, visit http://gerrit.ovirt.org/4323
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0bf6404df05f09e984aef2f9c9264c9589d2b27e
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ryan Harper <ryanh(a)us.ibm.com>
Ryan Harper has uploaded a new change for review.
Change subject: tests: add netinfo test for invalid nic name
......................................................................
tests: add netinfo test for invalid nic name
Test that we return 0 for invalid nics
Change-Id: I27e8c937495370d40a50e919a34d2a9173b03d60
Signed-off-by: Ryan Harper <ryanh(a)us.ibm.com>
---
M tests/netinfoTests.py
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/22/4322/1
--
To view, visit http://gerrit.ovirt.org/4322
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I27e8c937495370d40a50e919a34d2a9173b03d60
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ryan Harper <ryanh(a)us.ibm.com>
Ryan Harper has uploaded a new change for review.
Change subject: netinfo: Don't attempt to read a virtio nic speed
......................................................................
netinfo: Don't attempt to read a virtio nic speed
When running VDSM within a guest, when netinfo attempts
to read the speed of the nic it throws this exception:
ERROR:root:cannot read eth0 speed
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/netinfo.py", line 113, in speed
s = int(file('/sys/class/net/%s/speed' % dev).read())
We can detect that the device is a virtio device by reading
the sysfs device link target and skipping if it's virtio.
Change-Id: I0b4893d440a70b298884c8aeafcedefd4ed20a82
Signed-off-by: Ryan Harper <ryanh(a)us.ibm.com>
---
M vdsm/netinfo.py
1 file changed, 5 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/21/4321/1
--
To view, visit http://gerrit.ovirt.org/4321
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0b4893d440a70b298884c8aeafcedefd4ed20a82
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ryan Harper <ryanh(a)us.ibm.com>
Eduardo has uploaded a new change for review.
Change subject: Revert "Make sure that internally we always use pvs from /dev/mapper/"
......................................................................
Revert "Make sure that internally we always use pvs from /dev/mapper/"
This reverts commit aa282ef46394be52480597ab6f15291f6cc4b369.
This patch breaks the direct lun feature and is not necesary
because the lvm bug was fixed.
Change-Id: Iac8d97df92f67f8dd91c37817146d117889b4a13
Signed-off-by: Eduardo <ewarszaw(a)redhat.com>
---
M vdsm/storage/devicemapper.py
M vdsm/storage/lvm.py
2 files changed, 10 insertions(+), 28 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/98/4498/1
--
To view, visit http://gerrit.ovirt.org/4498
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iac8d97df92f67f8dd91c37817146d117889b4a13
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Eduardo <ewarszaw(a)redhat.com>
Zhou Zheng Sheng has uploaded a new change for review.
Change subject: correct usage help string in vdsClient
......................................................................
correct usage help string in vdsClient
Program options must be placed before other parameters. If server
address goes first, getopt function will treat all options as
parameters and the program will miss those options.
Change-Id: Ifad2d10cc03ecaf4cdceb83a042670ca01bfa544
Signed-off-by: Zhou Zheng Sheng <zhshzhou(a)linux.vnet.ibm.com>
---
M vdsm_cli/vdsClient.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/62/4462/1
--
To view, visit http://gerrit.ovirt.org/4462
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifad2d10cc03ecaf4cdceb83a042670ca01bfa544
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Zhou Zheng Sheng <zhshzhou(a)linux.vnet.ibm.com>
Federico Simoncelli has uploaded a new change for review.
Change subject: [WIP] List storage domains using monitoredDomains
......................................................................
[WIP] List storage domains using monitoredDomains
To get the list of the storage domains that vdsm is going to release
disconnecting from the pool (StoragePool.disconnect) we shouldn't rely
on the master domain (getDomains), but we must use an in-memory list
such as the monitoredDomains.
Signed-off-by: Federico Simoncelli <fsimonce(a)redhat.com>
Change-Id: I952362c621c569e8a28e539e7aafb82fbb3e8bc7
---
M vdsm/storage/sp.py
1 file changed, 13 insertions(+), 8 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/04/4404/1
--
To view, visit http://gerrit.ovirt.org/4404
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I952362c621c569e8a28e539e7aafb82fbb3e8bc7
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <fsimonce(a)redhat.com>
Wenyi Gao has uploaded a new change for review.
Change subject: Add a function wrapper to vdsm-tool for /etc/inid.d/functions
......................................................................
Add a function wrapper to vdsm-tool for /etc/inid.d/functions
Change-Id: I4b9f9ba30515356b8bccfebdbab029c951ffa9b0
Signed-off-by: Wenyi Gao <wenyi(a)linux.vnet.ibm.com>
---
M vdsm-tool/Makefile.am
A vdsm-tool/function.py
M vdsm.spec.in
3 files changed, 41 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/19/4419/1
--
To view, visit http://gerrit.ovirt.org/4419
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4b9f9ba30515356b8bccfebdbab029c951ffa9b0
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Wenyi Gao <wenyi(a)linux.vnet.ibm.com>
Xu He Jie has uploaded a new change for review.
Change subject: sort config.py.in as alphabet
......................................................................
sort config.py.in as alphabet
sort config.py.in as alphabet
Change-Id: I1655dcf7ab86f72fa08a4824874e2caee302e083
Signed-off-by: Xu He Jie <xuhj(a)linux.vnet.ibm.com>
---
M vdsm_reg/config.py.in
1 file changed, 6 insertions(+), 6 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/98/4098/1
--
To view, visit http://gerrit.ovirt.org/4098
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1655dcf7ab86f72fa08a4824874e2caee302e083
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Xu He Jie <xuhj(a)linux.vnet.ibm.com>