[node-patches] Change in ovirt-node[master]: installer: Use different size source

fabiand at redhat.com fabiand at redhat.com
Mon Jan 5 11:35:03 UTC 2015


Fabian Deutsch has submitted this change and it was merged.

Change subject: installer: Use different size source
......................................................................


installer: Use different size source

Previously sfdisk was used to determin the size of disks. This could
fail if the disk contained a GPT label (sfdisk does not support GPT),
this does actually not matter (what label is used) because we only need
the size of the disk, but we still used sfdisk.
Now lsblk is used, which only looks at the disk itself, and does not
take the label into account.

Change-Id: I913ee34a50f9a79e51d4a8b073318c4966576dd3
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1174146
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirtnode/storage.py
1 file changed, 9 insertions(+), 2 deletions(-)

Approvals:
  Fabian Deutsch: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/36365
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I913ee34a50f9a79e51d4a8b073318c4966576dd3
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the node-patches mailing list