Change in vdsm[master]: pep8: make gpl boiler plate narrower
by Dan Kenigsberg
Dan Kenigsberg has uploaded a new change for review.
Change subject: pep8: make gpl boiler plate narrower
......................................................................
pep8: make gpl boiler plate narrower
Better do it in one sed blow.
Change-Id: I47ea008d067216a4327c70b76d3583cec5014733
Signed-off-by: Dan Kenigsberg <danken(a)redhat.com>
---
M vdsm/Makefile.am
M vdsm/__init__.py
M vdsm/betterPopen/Makefile.am
M vdsm/betterThreading.py
M vdsm/blkid.py
M vdsm/config.py.in
M vdsm/configNetwork.py
M vdsm/constants.py.in
M vdsm/dsaversion.py.in
M vdsm/dumpStorageTable.py.in
M vdsm/gluster/Makefile.am
M vdsm/hooking.py
M vdsm/kaxmlrpclib.py
M vdsm/ksm.py
M vdsm/libvirtconnection.py
M vdsm/libvirtvm.py
M vdsm/logUtils.py
M vdsm/lsblk.py
M vdsm/mk_sysprep_floppy.in
M vdsm/mkimage.py
M vdsm/neterrors.py
M vdsm/netinfo.py
M vdsm/qemuImg.py
M vdsm/sos/Makefile.am
M vdsm/sos/vdsm.py.in
M vdsm/storage/Makefile.am
M vdsm/storage/__init__.py
M vdsm/storage/blockSD.py
M vdsm/storage/dispatcher.py
M vdsm/storage/fileSD.py
M vdsm/storage/hba.py
M vdsm/storage/hsm.py
M vdsm/storage/image.py
M vdsm/storage/iscsi.py
M vdsm/storage/lvm.py
M vdsm/storage/protect/spmprotect.sh
M vdsm/storage/protect/spmstop.sh
M vdsm/storage/resourceManager.py
M vdsm/storage/sp.py
M vdsm/storage/storageConstants.py
M vdsm/storage/storageServer.py
M vdsm/storage/storage_exception.py
M vdsm/storage/storage_mailbox.py
M vdsm/storage/task.py
M vdsm/storage/threadLocal.py
M vdsm/storage/threadPool.py
M vdsm/substitute_constants.py
M vdsm/tc.py
M vdsm/ut/ivdsm.py
M vdsm/utils.py
M vdsm/vdsm-gencerts.sh.in
M vdsm/vdsmDebugPlugin.py
M vdsm/vm.py
M vdsm/vmChannels.py
54 files changed, 54 insertions(+), 56 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/96/5796/1
--
To view, visit http://gerrit.ovirt.org/5796
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I47ea008d067216a4327c70b76d3583cec5014733
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <danken(a)redhat.com>
11 years, 10 months
Change in vdsm[master]: Replace configure_sysctl with /etc/sysctl.d/vdsm.conf
by wenyi@linux.vnet.ibm.com
Wenyi Gao has uploaded a new change for review.
Change subject: Replace configure_sysctl with /etc/sysctl.d/vdsm.conf
......................................................................
Replace configure_sysctl with /etc/sysctl.d/vdsm.conf
To be simple, replace configure_sysctl in vdsmd.init with
/etc/sysctl.d/vdsm.conf
Change-Id: I4fcf28d63715ceb6e77d3b93cea4a55c192a777e
Signed-off-by: Wenyi Gao <wenyi(a)linux.vnet.ibm.com>
---
M vdsm.spec.in
M vdsm/Makefile.am
A vdsm/vdsm-sysctl.conf
M vdsm/vdsmd.init.in
4 files changed, 24 insertions(+), 14 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/63/5763/1
--
To view, visit http://gerrit.ovirt.org/5763
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4fcf28d63715ceb6e77d3b93cea4a55c192a777e
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Wenyi Gao <wenyi(a)linux.vnet.ibm.com>
11 years, 10 months
Change in vdsm[master]: Degrade sanlock-python to 1.8 in the BuildRequires
by Jarod.w
Jarod.w has uploaded a new change for review.
Change subject: Degrade sanlock-python to 1.8 in the BuildRequires
......................................................................
Degrade sanlock-python to 1.8 in the BuildRequires
Some OSes are still using sanlock-python 1.8 such as centos 6.2.
After degrading sanlock-python, it passes when building and
testing vdsm.
Change-Id: Ie7bc10b49cb3e3bb3d6997adec5b17ca8a27b4e2
Signed-off-by: jarod.w <work.iec23801(a)gmail.com>
---
M vdsm.spec.in
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/05/5705/1
--
To view, visit http://gerrit.ovirt.org/5705
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie7bc10b49cb3e3bb3d6997adec5b17ca8a27b4e2
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Jarod.w <work.iec23801(a)gmail.com>
11 years, 10 months
Change in vdsm[master]: rest-api: Model StoragePools
by agl@us.ibm.com
Adam Litke has uploaded a new change for review.
Change subject: rest-api: Model StoragePools
......................................................................
rest-api: Model StoragePools
API Implemented:
----------------
/api/storagepools
* Create/connect new storage pool and manipulate connected pools
Actions:
/api/storagepools/create
- Create a new storage pool
/api/storagepools/connect
- Connect a storage pool
* The vdsm API does not maintain information about disconnected storage
pools so our API must deviate from REST norms by placing the connect verb
at the collection level instead of the resource level.
/api/storagepools/<id>/destroy
- Destroy a connected storage pool
/api/storagepools/<id>/disconnect
- Disconnect a storage pool
/api/storagepools/<id>/spmstart
- Start the SPM role on this host
/api/storagepools/<id>/spmstop
- Stop the SPM role on this host
Change-Id: Ica772c367b7d80e559a816ad7b40331b2ae81ac2
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/storagepool.json.x
A vdsm/rest/templates/storagepool.xml.x
A vdsm/rest/templates/storagepools.json.x
A vdsm/rest/templates/storagepools.xml.x
10 files changed, 512 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/55/3755/1
--
To view, visit http://gerrit.ovirt.org/3755
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ica772c367b7d80e559a816ad7b40331b2ae81ac2
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <agl(a)us.ibm.com>
11 years, 10 months
Change in vdsm[master]: rest-api: Model Tasks
by agl@us.ibm.com
Adam Litke has uploaded a new change for review.
Change subject: rest-api: Model Tasks
......................................................................
rest-api: Model Tasks
API Implemented:
----------------
/api/tasks : Asynchronous tasks
* View and manage information about ongoing and completed operations
Actions:
/api/tasks/<id>/clear
- Clear the information about a completed task
/api/tasks/<id>/stop
- Stop a running task
/api/tasks/<id>/revert
- Rollback a running operation
Change-Id: Ic555cacd0b1bf1cb14545badd567c075b769a347
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/task.json.x
A vdsm/rest/templates/task.xml.x
A vdsm/rest/templates/tasks.json.x
A vdsm/rest/templates/tasks.xml.x
10 files changed, 253 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/54/3754/1
--
To view, visit http://gerrit.ovirt.org/3754
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic555cacd0b1bf1cb14545badd567c075b769a347
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <agl(a)us.ibm.com>
11 years, 10 months
Change in vdsm[master]: rest-api: Model volumes
by agl@us.ibm.com
Adam Litke has uploaded a new change for review.
Change subject: rest-api: Model volumes
......................................................................
rest-api: Model volumes
API Implemented:
----------------
/api/storagedomains/<sdUUID>/volumes
* Manipulate all volumes associated with a storage domain
/api/storagedomains/<sdUUID>/images/<imgUUID/volumes
* Manipulate all volumes associated with an image
Actions:
.../volumes/create
- Create a new volume
.../volumes/<id>/delete
- Delete a volume
Not all available functionality is implemented yet (eg. creating child volumes.)
Remaining functionality can be added in subsequent patches.
Change-Id: Ic5a34e02c84c3668dff883b3a618d420edcf60be
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/rsdl.xml
A vdsm/rest/templates/volume.json.x
A vdsm/rest/templates/volume.xml.x
A vdsm/rest/templates/volumes.json.x
A vdsm/rest/templates/volumes.xml.x
8 files changed, 402 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/53/3753/1
--
To view, visit http://gerrit.ovirt.org/3753
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic5a34e02c84c3668dff883b3a618d420edcf60be
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <agl(a)us.ibm.com>
11 years, 10 months
Change in vdsm[master]: rest-api: Model images
by agl@us.ibm.com
Adam Litke has uploaded a new change for review.
Change subject: rest-api: Model images
......................................................................
rest-api: Model images
API Implemented:
----------------
/api/storagedomains/<sdUUID>/images
* Provide information about images associated with a storage domain
Actions:
/api/storagedomains/<sdUUID>/images/<imgUUID>/delete
- Delete an image and all of its volumes
* Note: Images are implicitly created during volume creation process
Not all available operations are currently supported in the API. Work continues
to complete the API and that can be submitted as follow-up patches.
Change-Id: Iaf7819833ad8b190eb5483a98f9194c69b222049
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
A vdsm/rest/templates/image.json.x
A vdsm/rest/templates/image.xml.x
A vdsm/rest/templates/images.json.x
A vdsm/rest/templates/images.xml.x
M vdsm/rest/templates/rsdl.xml
8 files changed, 161 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/52/3752/1
--
To view, visit http://gerrit.ovirt.org/3752
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaf7819833ad8b190eb5483a98f9194c69b222049
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <agl(a)us.ibm.com>
11 years, 10 months
Change in vdsm[master]: rest-api: Model StorageDomains
by agl@us.ibm.com
Adam Litke has uploaded a new change for review.
Change subject: rest-api: Model StorageDomains
......................................................................
rest-api: Model StorageDomains
API Implemented:
----------------
/api/storagedomains : Manipulate Storage Domains
* Provide comprehensive information about known domains
Actions:
/api/storagedomains/create
- Create a new storage domain
/api/storagedomains/<id>/format
- Remove and erase a storage domain
/api/storagedomains/<id>/attach
- Attach a storage domain to a storage pool
/api/storagedomains/<id>/detach
- Detach a storage domain from a storage pool
/api/storagedomains/<id>/activate
- Activate an inactive, attached storage domain
/api/storagedomains/<id>/deactivate
- Deactivate an active storage domain
Change-Id: I85060179416dc7c4a1a33ef6f8262ce31e908c26
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/storagedomain.json.x
A vdsm/rest/templates/storagedomain.xml.x
A vdsm/rest/templates/storagedomains.json.x
A vdsm/rest/templates/storagedomains.xml.x
10 files changed, 441 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/51/3751/1
--
To view, visit http://gerrit.ovirt.org/3751
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I85060179416dc7c4a1a33ef6f8262ce31e908c26
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <agl(a)us.ibm.com>
11 years, 10 months
Change in vdsm[master]: rest-api: Model storage connections
by agl@us.ibm.com
Adam Litke has uploaded a new change for review.
Change subject: rest-api: Model storage connections
......................................................................
rest-api: Model storage connections
API Implemented:
----------------
/api/storageconnections
* list, acquire, and release storage connections
Actions:
/api/storageconnections/acquire
- Add a new managed connection
/api/storageconnections/<id>/release
- Remove a managed connection
Change-Id: I584ca5f160d44b85cbdf414c523c948c1f25d6a9
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/storageconnection.json.x
A vdsm/rest/templates/storageconnection.xml.x
A vdsm/rest/templates/storageconnections.json.x
A vdsm/rest/templates/storageconnections.xml.x
10 files changed, 335 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/50/3750/1
--
To view, visit http://gerrit.ovirt.org/3750
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I584ca5f160d44b85cbdf414c523c948c1f25d6a9
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <agl(a)us.ibm.com>
11 years, 10 months
Change in vdsm[master]: rest-api: Allow optional data in DELETE request bodies
by agl@us.ibm.com
Adam Litke has uploaded a new change for review.
Change subject: rest-api: Allow optional data in DELETE request bodies
......................................................................
rest-api: Allow optional data in DELETE request bodies
By default, cherrypy does not allow data in DELETE HTTP requests. In our
API, we would like to pass parameters to some DELETE requests. We
accomplish this by configuring two things:
1) Set request.methods_with_bodies to include DELETE. This tells cherrypy
that we should process the body of DELETE requests too.
2) Create a hook to enable body processing only for DELETE requests with an
appropriate decorator. This makes a request body optional for the
indicated functions.
Signed-off-by: Adam Litke <agl(a)us.ibm.com>
Change-Id: I65466894358029c7fe5f0ef46a32492682975761
---
M vdsm/rest/BindingREST.py
M vdsm/rest/Controller.py
2 files changed, 22 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/49/5049/1
--
To view, visit http://gerrit.ovirt.org/5049
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I65466894358029c7fe5f0ef46a32492682975761
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <agl(a)us.ibm.com>
11 years, 10 months