Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
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 2Richard W.M. Jones
2014-10-21 15:41:23 UTC
Comment 3Richard 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 4Richard 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 6Richard 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 9Richard W.M. Jones
2015-04-20 14:40:03 UTC
Can't move on this one until Cinder adds support.
Comment 12Richard W.M. Jones
2016-06-22 13:02:12 UTC
Comment 14Richard 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