Martin Sivák has posted comments on this change.
Change subject: Refactor the storage access and creation and add support for
block devices
......................................................................
Patch Set 2:
Before I properly update the commit message and other docs
The required storage for NFS or iSCSI can be initialized by the following code:
import lib.storage_backends
backend = lib.storage_backends.FilesystemBackend(sd_uuid=<uuid>,
dom_type=<type>)
backend.connect()
backend.create({
"hosted-engine.leases": 1024*1024, # size in B, I do not remember the right one
right now
"hosted-engine.metadata": <size of the file in B>
})
backend.disconnect()
It should work OK if the configuration has all the necesary data and VDSM is
running.
It creates two new logical volumes for iSCSI based storage domain and links
them to the same places we use for NFS.
I was not able to test the lvcreate calls, because my engine failed while
trying to attach iSCSI domain.
--
To view, visit http://gerrit.ovirt.org/25624
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I965642683a663c5655342f06d9f3ac19533ca91b
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: master
Gerrit-Owner: Martin Sivák <[email protected]>
Gerrit-Reviewer: Greg Padgett <[email protected]>
Gerrit-Reviewer: Martin Sivák <[email protected]>
Gerrit-Reviewer: Sandro Bonazzola <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: No
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches