Change in vdsm[master]: Move IOUSER from misc.py to constants.py
by Xu He Jie
Xu He Jie has uploaded a new change for review.
Change subject: Move IOUSER from misc.py to constants.py
......................................................................
Move IOUSER from misc.py to constants.py
Move IOUSER from misc.py to constants.py and add it to configure.ac.
make it configurable.
Change-Id: Id5d20317ac5a38d8ddd74b26272cd870aa4702b9
---
M configure.ac
M vdsm/constants.py.in
M vdsm/storage/misc.py
M vdsm/storage/safelease.py
4 files changed, 3 insertions(+), 2 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/62/3362/1
--
To view, visit http://gerrit.ovirt.org/3362
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id5d20317ac5a38d8ddd74b26272cd870aa4702b9
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Xu He Jie <xuhj(a)linux.vnet.ibm.com>
11 years, 3 months
Change in vdsm[master]: change misc.retry to make it more general
by lvroyce@linux.vnet.ibm.com
Royce Lv has uploaded a new change for review.
Change subject: change misc.retry to make it more general
......................................................................
change misc.retry to make it more general
add argument list to misc.retry to make it usable for function
with arguments.
Change-Id: I2b7d87629762d4d8f248d50fa4da71a0af3645d8
Signed-off-by: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
---
M vdsm/storage/misc.py
M vdsm/supervdsm.py
2 files changed, 4 insertions(+), 3 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/32/4032/1
--
To view, visit http://gerrit.ovirt.org/4032
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2b7d87629762d4d8f248d50fa4da71a0af3645d8
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
11 years, 5 months
Change in vdsm[master]: cancel migration: remove event sync
by shavivi@redhat.com
Shahar Havivi has uploaded a new change for review.
Change subject: cancel migration: remove event sync
......................................................................
cancel migration: remove event sync
no need to sync if we are before migrateToURI2(),
libvirt handle that well...
Change-Id: I0f226e3376b95b64b015885715c0db32eecc5c63
---
M vdsm/libvirtvm.py
M vdsm/vm.py
2 files changed, 5 insertions(+), 10 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/33/2533/1
--
To view, visit http://gerrit.ovirt.org/2533
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0f226e3376b95b64b015885715c0db32eecc5c63
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Shahar Havivi <shavivi(a)redhat.com>
11 years, 6 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, 6 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, 7 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, 7 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, 8 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, 8 months
Change in vdsm[master]: Skip broken tests feature
by smizrahi@redhat.com
Saggi Mizrahi has uploaded a new change for review.
Change subject: Skip broken tests feature
......................................................................
Skip broken tests feature
We can't have broken tests upstream, it confuses people who write
patches and makes them think they broke the functionality.
Add this to tests you know are broken to help others
Change-Id: Ia380b2a5f5027e88926f61f4a762c1afec9f0203
Signed-off-by: Saggi Mizrahi <smizrahi(a)redhat.com>
---
M tests/alignmentScanTests.py
M tests/testValidation.py
2 files changed, 12 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/66/3966/1
--
To view, visit http://gerrit.ovirt.org/3966
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia380b2a5f5027e88926f61f4a762c1afec9f0203
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Saggi Mizrahi <smizrahi(a)redhat.com>
11 years, 8 months
Change in vdsm[master]: Support the quiesce flag during a live snapshot
by Federico Simoncelli
Federico Simoncelli has uploaded a new change for review.
Change subject: Support the quiesce flag during a live snapshot
......................................................................
Support the quiesce flag during a live snapshot
Change-Id: I61c7c89fb42afa627b3e45cd74af03e032452a7d
---
M vdsm.spec.in
M vdsm/libvirtvm.py
2 files changed, 38 insertions(+), 13 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/23/2223/1
--
To view, visit http://gerrit.ovirt.org/2223
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I61c7c89fb42afa627b3e45cd74af03e032452a7d
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <fsimonce(a)redhat.com>
11 years, 8 months