Change in vdsm[master]: Fixing pep8 in vdsm/storage/fileVolume.py
by mars@linux.vnet.ibm.com
Bing Bu Cao has uploaded a new change for review.
Change subject: Fixing pep8 in vdsm/storage/fileVolume.py
......................................................................
Fixing pep8 in vdsm/storage/fileVolume.py
Change-Id: I1e1ce2aef9ac4be974529ecaf76d5dc5a578d92d
Signed-off-by: Cao,Bing Bu <mars(a)linux.vnet.ibm.com>
---
M Makefile.am
M vdsm/storage/fileVolume.py
2 files changed, 100 insertions(+), 51 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/41/4541/1
--
To view, visit http://gerrit.ovirt.org/4541
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1e1ce2aef9ac4be974529ecaf76d5dc5a578d92d
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Bing Bu Cao <mars(a)linux.vnet.ibm.com>
11 years, 7 months
Change in vdsm[master]: Fixing pep8 in vdsm_reg/createDaemon.py
by mars@linux.vnet.ibm.com
Bing Bu Cao has uploaded a new change for review.
Change subject: Fixing pep8 in vdsm_reg/createDaemon.py
......................................................................
Fixing pep8 in vdsm_reg/createDaemon.py
Change-Id: I1d300decec9a51f379383a2c4e74ad6cd0b4af7f
Signed-off-by: Cao,Bing Bu <mars(a)linux.vnet.ibm.com>
---
M Makefile.am
M vdsm_reg/createDaemon.py
2 files changed, 152 insertions(+), 139 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/38/4538/1
--
To view, visit http://gerrit.ovirt.org/4538
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1d300decec9a51f379383a2c4e74ad6cd0b4af7f
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Bing Bu Cao <mars(a)linux.vnet.ibm.com>
11 years, 7 months
Change in vdsm[master]: [WIP] Add ballooning support
by wudxw@linux.vnet.ibm.com
Mark Wu has uploaded a new change for review.
Change subject: [WIP] Add ballooning support
......................................................................
[WIP] Add ballooning support
Change-Id: I36b1211dbce28bb5bb5926f2db7e2e42a698efc9
Signed-off-by: Mark Wu <wudxw(a)linux.vnet.ibm.com>
---
M vdsm/API.py
M vdsm/define.py
M vdsm/libvirtvm.py
M vdsm/vm.py
4 files changed, 27 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/69/3669/1
--
To view, visit http://gerrit.ovirt.org/3669
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I36b1211dbce28bb5bb5926f2db7e2e42a698efc9
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Mark Wu <wudxw(a)linux.vnet.ibm.com>
11 years, 8 months
Change in vdsm[master]: [WIP] drop dead functions
by Dan Kenigsberg
Dan Kenigsberg has uploaded a new change for review.
Change subject: [WIP] drop dead functions
......................................................................
[WIP] drop dead functions
The previous patch dropped the only user of these functions. Let us not
leave dead code behind.
Change-Id: Ib9e75d6612227474775b1dea8eade1684b168915
Signed-off-by: Dan Kenigsberg <danken(a)redhat.com>
---
M vdsm_reg/deployUtil.py.in
1 file changed, 0 insertions(+), 49 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/82/4882/1
--
To view, visit http://gerrit.ovirt.org/4882
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib9e75d6612227474775b1dea8eade1684b168915
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <danken(a)redhat.com>
11 years, 8 months
Change in vdsm[master]: [WIP] report another unique identity
by Dan Kenigsberg
Dan Kenigsberg has uploaded a new change for review.
Change subject: [WIP] report another unique identity
......................................................................
[WIP] report another unique identity
ovirt-engine identifies each hypervisor node according to the uuid
reported by getVdsCapabilities. That uuid is combined of the bios-stored
host uuid + mac address of the first host nic. The contraction was
required since plenty of hosts out there are sold with a non-unique uuid
stored in their bios.
However, that was a terribly wrong solution, as nics come and go, bond
together or simply change their mac address. None of these changes
should cause a change of the identity of the node.
We cannot just ditch the old solution, since existing installations must
keep reporting their old uuid. This patch suggests that on upgrade, vdsm
would persist the funny uuid+mac reported by the old vdsm version. On
fresh installation, a fresh uuid is generated and persisted.
Known issues:
- We must not persist the node uuid when creating ovirt-node image.
ovirt-node should persist its legacy/sane uuid during boot, based on
its being a fresh installation, or an upgrade.
- Code untested, probably broken.
Change-Id: I35462b23b0b61c2d555500a631eeea65f838f5ab
Signed-off-by: Dan Kenigsberg <danken(a)redhat.com>
---
M vdsm.spec.in
M vdsm/caps.py
M vdsm/libvirtvm.py
M vdsm/utils.py
M vdsm_reg/vdsm-reg-setup.in
5 files changed, 22 insertions(+), 9 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/81/4881/1
--
To view, visit http://gerrit.ovirt.org/4881
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I35462b23b0b61c2d555500a631eeea65f838f5ab
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <danken(a)redhat.com>
11 years, 8 months
Change in vdsm[master]: nfs-check: check if /tmp exists
by Douglas Schilling Landgraf
Douglas Schilling Landgraf has uploaded a new change for review.
Change subject: nfs-check: check if /tmp exists
......................................................................
nfs-check: check if /tmp exists
I have received a debian user reporting that nfs-check didn't work..
analysing the case, we discovered that the system didn't contain /tmp
directory.
Change-Id: If364f703b1ab2223d194c4e300da824e0696d50b
---
M contrib/nfs-check.py
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/67/3167/1
--
To view, visit http://gerrit.ovirt.org/3167
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If364f703b1ab2223d194c4e300da824e0696d50b
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland(a)redhat.com>
11 years, 9 months
Change in vdsm[master]: avoid _blockstatsParses throw exception when lacking some fi...
by lvroyce@linux.vnet.ibm.com
Royce Lv has uploaded a new change for review.
Change subject: avoid _blockstatsParses throw exception when lacking some fields
......................................................................
avoid _blockstatsParses throw exception when lacking some fields
libvirt may return stats with some fields when running query-blockstats
avoid _blockstatsParses to throw exception when encounter keyError
Change-Id: Id898b1456d874b1a02f04115e285e329eb1c81e0
Signed-off-by: Royce Lv<lvroyce(a)linux.vnet.ibm.com>
---
M vdsm/libvirtvm.py
M vdsm/storage/hsm.py
2 files changed, 17 insertions(+), 6 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/04/4304/1
--
To view, visit http://gerrit.ovirt.org/4304
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id898b1456d874b1a02f04115e285e329eb1c81e0
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
11 years, 9 months
Change in vdsm[master]: rest-api: Model VMs
by agl@us.ibm.com
Adam Litke has uploaded a new change for review.
Change subject: rest-api: Model VMs
......................................................................
rest-api: Model VMs
API Implemented:
----------------
/api/vms : Virtual machines
* Manipulate virtual machines
* Manipulate VM sub-collections: disks, cdroms, nics
Actions:
/api/vms/create
- Create a new VM and launch it
/api/vms/<id>/destroy
- Stop a running VM
/api/vms/<id>/pause
- Pause a running VM
/api/vms/<id>/cont
- Continue a paused VM
/api/vms/<id>/ticket
- Assign a connection password for the VM's display
* Not fully implemented.
Due to vdsm API limitations this part of the API is not yet fully-functional.
Consider a RESTful VM creation sequence:
POST /api/vms/define - Define a new VM in the system
POST /api/vms/<id>/disks/add - Add a new disk to the VM
POST /api/vms/<id>/cdroms/add - Add a cdrom
POST /api/vms/<id>/nics/add - Add a NIC
PUT /api/vms/<id> - Change boot sequence
POST /api/vms/<id>/start - Boot the VM
Unfortunately this is not possible today with vdsm because a VM must be
fully-specified at the time of creation and it will be started immediately.
There are two ways forward:
1.) Deviate from a REST model and require a VM resource definition to include
all sub-collections inline.
-- or --
2.) Support storage of vm definitions so that powered off VMs can be manipulated
by the API.
My preference would be #2 because: it makes the API more closely follow RESTful
principles, it maintains parity with the cluster-level VM manipulation API, and
it makes the API easier to use in standalone mode.
Change-Id: Ibed650a0215e7d841f5af0dd5f111a3e4a27ecf1
Signed-off-by: Adam Litke <agl(a)us.ibm.com>
---
M vdsm/rest/Controller.py
M vdsm/rest/templates/Makefile.am
M vdsm/rest/templates/api.xsd
M vdsm/rest/templates/root.json.x
M vdsm/rest/templates/root.xml.x
M vdsm/rest/templates/rsdl.xml
A vdsm/rest/templates/vm.json.x
A vdsm/rest/templates/vm.xml.x
A vdsm/rest/templates/vmcdrom.json.x
A vdsm/rest/templates/vmcdrom.xml.x
A vdsm/rest/templates/vmcdroms.json.x
A vdsm/rest/templates/vmcdroms.xml.x
A vdsm/rest/templates/vmdisk.json.x
A vdsm/rest/templates/vmdisk.xml.x
A vdsm/rest/templates/vmdisks.json.x
A vdsm/rest/templates/vmdisks.xml.x
A vdsm/rest/templates/vmnic.json.x
A vdsm/rest/templates/vmnic.xml.x
A vdsm/rest/templates/vmnics.json.x
A vdsm/rest/templates/vmnics.xml.x
A vdsm/rest/templates/vms.json.x
A vdsm/rest/templates/vms.xml.x
22 files changed, 990 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/56/3756/1
--
To view, visit http://gerrit.ovirt.org/3756
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibed650a0215e7d841f5af0dd5f111a3e4a27ecf1
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <agl(a)us.ibm.com>
11 years, 9 months
Change in vdsm[master]: API: getAllTasks{Info|Statuses} does not return all tasks
by agl@us.ibm.com
Adam Litke has uploaded a new change for review.
Change subject: API: getAllTasks{Info|Statuses} does not return all tasks
......................................................................
API: getAllTasks{Info|Statuses} does not return all tasks
As discussed on the list, I found that the getAllTasks* APIs do not return all
tasks but instead filter to return only spm tasks. This is a requirement for
ovirt-engine. To make it possible to view all tasks while preserving
compatibility for ovirt-engine I propose the following changes to the API:
The public API in API.py will be modified to add a 'tag' parameter which
defaults to None. This will be passed all the way down into the taskManager
(which already expects such a parameter). In this way, the new default mode of
operation will be fixed to return all tasks as the name of the API states.
To maintain compatibility for ovirt-engine, the XMLRPC binding will pass the tag
"spm" to these APIs to get the current filtering behavior. Note that I have
also changed vdsClient so that it will return all tasks.
Change-Id: I43371d358dfdfcfcee14aca40ed06d63be7c0a44
Signed-off-by: Adam Litke <agl(a)us.ibm.com>
---
M vdsm/API.py
M vdsm/BindingXMLRPC.py
M vdsm/storage/hsm.py
M vdsm_cli/vdsClient.py
4 files changed, 33 insertions(+), 19 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/13/3613/1
--
To view, visit http://gerrit.ovirt.org/3613
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I43371d358dfdfcfcee14aca40ed06d63be7c0a44
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <agl(a)us.ibm.com>
11 years, 9 months
Change in vdsm[master]: [WIP] Use sanlock offset when present
by Federico Simoncelli
Federico Simoncelli has uploaded a new change for review.
Change subject: [WIP] Use sanlock offset when present
......................................................................
[WIP] Use sanlock offset when present
Change-Id: I27195f29efa691aadda0cac5afef55b04cc01658
---
M vdsm/storage/blockSD.py
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/29/2129/1
--
To view, visit http://gerrit.ovirt.org/2129
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I27195f29efa691aadda0cac5afef55b04cc01658
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <fsimonce(a)redhat.com>
11 years, 9 months