Bug 1140156 - RFE: Export to RHEV data domain
Summary: RFE: Export to RHEV data domain
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-10 11:42 UTC by Shahar Havivi
Modified: 2014-09-21 12:28 UTC (History)
8 users (show)

Fixed In Version: libguestfs-1.27.45-1.1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-14 14:11:54 UTC
Embargoed:


Attachments (Terms of Use)

Description Shahar Havivi 2014-09-10 11:42:36 UTC
Exporting to RHEV data domain (similar to export domain),
Expected something like:

v2v ... -o rhev -os rhev.nfs:/data_domain --rhev-image-uuid <GUID> --rhev-vol-uuid <GUID> --rhev-vm-uuid <GUID>

Unlike export domain, data domain is not needed to create the volume structure since the caller (RHEVM) will be responsible for that.

Comment 1 Richard W.M. Jones 2014-09-10 13:00:14 UTC
Not quite sure I understand the bug.  Is there something virt-v2v
should be doing which it doesn't do already?

Comment 2 Shahar Havivi 2014-09-10 13:53:38 UTC
Its a general RFE bug,
Two main issues that v2v need to address:
1. not create any dir on data domain (in export domain it does create the directory structure) - maybe a new flag to indicate export/domain...
2. add estimated size to each disk when calling v2v with --no-copy

Comment 3 Richard W.M. Jones 2014-09-11 19:06:47 UTC
Just a note that in 1.27.43, there is a new -o vdsm mode, and
all the --rhev* flags have been renamed to --vdsm* (but otherwise
are unchanged).

This is a development release so we're allowed to make significant
changes to unreleased code like this.

Comment 4 Richard W.M. Jones 2014-09-14 14:11:54 UTC
In 1.27.45, the ovf:actual_size field is an estimate when --no-copy
is used.

https://github.com/libguestfs/libguestfs/commit/88dea548031db0eaccc08b63c4ee1e3644cd0e83

Comment 5 Itamar Heim 2014-09-21 10:38:38 UTC
(In reply to Richard W.M. Jones from comment #3)
> Just a note that in 1.27.43, there is a new -o vdsm mode, and
> all the --rhev* flags have been renamed to --vdsm* (but otherwise
> are unchanged).
> 
> This is a development release so we're allowed to make significant
> changes to unreleased code like this.

I think --ovirt* would make more sense?

Comment 6 Richard W.M. Jones 2014-09-21 12:28:38 UTC
Pretty sure --vdsm* makes more sense, since these flags are only
used when under the control of VDSM.


Note You need to log in before you can comment on or make changes to this bug.