RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1155229 - RFE: Allow uploading virt-v2v converted images directly to Cinder
Summary: RFE: Allow uploading virt-v2v converted images directly to Cinder
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libguestfs
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard: V2V
Depends On:
Blocks: 1288337
TreeView+ depends on / blocked
 
Reported: 2014-10-21 15:37 UTC by Marko Myllynen
Modified: 2018-08-02 09:50 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-02 09:50:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Marko Myllynen 2014-10-21 15:37:07 UTC
Description of problem:
Recent virt-v2v versions can upload converted OS images to Glance [1] but in some cases they are images from which one wants to run the OS from instead of creating several instances, it would be more optimal if Cinder would allow uploading them into it directly.

Quoting Richard W.M. Jones:

I was chatting to people on #openstack-cinder about this.  There doesn't appear to be any philosophical reason not to do it, although some concerns over whether the current API could handle large images being uploaded.

1) http://libguestfs.org/virt-v2v.1.html#convert-disk-image-to-openstack-glance

Comment 2 Richard W.M. Jones 2014-10-21 15:41:23 UTC
For reference, virt-v2v uploads to *glance* presently by running
the 'glance image-upload' command.  See:
https://github.com/libguestfs/libguestfs/blob/master/v2v/output_glance.ml#L63

Comment 3 Richard W.M. Jones 2014-10-21 15:42:27 UTC
Sergey: I think you are involved in Cinder?  Any comments on how
hard it would be to add support for a way to upload directly?

Comment 4 Richard W.M. Jones 2014-10-21 15:44:02 UTC
(In reply to Richard W.M. Jones from comment #2)
> For reference, virt-v2v uploads to *glance* presently by running
> the 'glance image-upload' command.  See:

Bleah, I mean 'glance image-create'.

Comment 6 Richard W.M. Jones 2014-12-18 23:43:14 UTC
We had an off-bug discussion about this, which I'll briefly
summarize here:

- Glance had a Cinder backend, which would have meant that we could
  just use Glance to access Cinder, however it was deprecated and
  removed upstream: https://review.openstack.org/#/c/137296/

- Having Glance write to Cinder is fragile.

- Upstream opposition to changing the Cinder API to allow direct
  uploads, because the API is not designed for this.

- Can create images in Glance and then transfer them to Cinder
  [we knew this already -- it's slow and requires redundant storage]

Comment 9 Richard W.M. Jones 2015-04-20 14:40:03 UTC
Can't move on this one until Cinder adds support.

Comment 12 Richard W.M. Jones 2016-06-22 13:02:12 UTC
I have included this documentation patch in RHEL 7.3:

https://github.com/libguestfs/libguestfs/commit/68fc25e1d54bfeff8d7a7d40ae9b061f800406d7

However we're not any closer to fixing this properly, so I
will move this to 7.4.

Comment 13 Richard W.M. Jones 2017-02-16 13:40:59 UTC
Moving to RHEL 7.5 per comment 12.

Comment 14 Richard W.M. Jones 2018-08-02 09:50:02 UTC
There's now a project to add openstack support to virt-v2v
which will solve this.  Please follow the upstream mailing
list and openstack development branch.

I am closing this bug because uploading images to Cinder
will not be required as a separate step and tracking it in
this bug is not useful.

See:
https://www.redhat.com/archives/libguestfs/2018-July/msg00068.html


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