Dan Kenigsberg has submitted this change and it was merged.
Change subject: Adding the status field to getDeviceList info.
......................................................................
Adding the status field to getDeviceList info.
This status tries to predict the result of pvcreate on the lun.
By now the reported statuses are:
free: pvcreate --test on this lun succeeded.
used: pvcreate --test on this lun failed.
Caveat emptor: pvcreate on the device can fail even if "force"
flag is passed to createVG in case for example there is a mounted
file system on this lun.
Change-Id: I6af6628a29bb597cf46b57a2b439e1b950bef9ab
Signed-off-by: Eduardo <ewarszaw(a)redhat.com>
---
M vdsm/API.py
M vdsm/BindingXMLRPC.py
M vdsm/storage/devicemapper.py
M vdsm/storage/hsm.py
M vdsm/storage/lvm.py
M vdsm_cli/vdsClient.py
6 files changed, 122 insertions(+), 114 deletions(-)
Approvals:
Dan Kenigsberg: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/5515
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I6af6628a29bb597cf46b57a2b439e1b950bef9ab
Gerrit-PatchSet: 8
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Eduardo <ewarszaw(a)redhat.com>
Gerrit-Reviewer: Ayal Baron <abaron(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Eduardo <ewarszaw(a)redhat.com>
Gerrit-Reviewer: Igor Lvovsky <ilvovsky(a)redhat.com>