search for: image_transfer

Displaying 7 results from an estimated 7 matches for "image_transfer".

2018 Dec 09
2
v2v: -o rhv-upload: Upload via NBD
...Here is how rhv-upload can work using NBD: 1. rhv-upload plugin separated to pre and post scripts - pre - prepare disk and start image transfer - post - finialize image transfer, create vm, etc. 2. rhr-upload-pre plugin create a transfer with transport="nbd" POST /imagetransfers <image_transfer> <disk id="123"/> <direction>upload</direction> <format>raw</format> <transport>nbd</transport> </image_transfer> Engine does not implement <transport> yet, but this should be an easy change. This will use the new...
2020 Aug 06
4
[PATCH nbdkit] plugins: python: Add imageio plugin example
...+# Upload and download images to oVirt with nbdkit and qemu-img. +# +# Install ovirt-imageio-client +# +# dnf copr enable nsoffer/ovirt-imageio-preview +# dnf install ovirt-imageio-client +# +# To upload or download images, you need to start an image transfer. The +# easiest way is using oVirt image_transfer.py example: +# +# /usr/share/doc/python3-ovirt-enigne-sdk4/eamples/image_transfer.py \ +# --engine-url https://my.engine \ +# --username admin@internal \ +# --password-file password \ +# --cafile my.engine.pem \ +# upload disk-uuid +# +# This will print the trasnfer URL fo...
2018 Dec 10
0
Re: v2v: -o rhv-upload: Upload via NBD
...1. rhv-upload plugin separated to pre and post scripts > > - pre - prepare disk and start image transfer > - post - finialize image transfer, create vm, etc. > > 2. rhr-upload-pre plugin create a transfer with transport="nbd" > > POST /imagetransfers > > <image_transfer> > <disk id="123"/> > <direction>upload</direction> > <format>raw</format> > <transport>nbd</transport> > </image_transfer> > > Engine does not implement <transport> yet, but this should be an e...
2020 Aug 08
0
Re: [PATCH nbdkit] plugins: python: Add imageio plugin example
...; +# Install ovirt-imageio-client > +# > +# dnf copr enable nsoffer/ovirt-imageio-preview > +# dnf install ovirt-imageio-client Even after running these steps,... > +# > +# To upload or download images, you need to start an image transfer. The > +# easiest way is using oVirt image_transfer.py example: > +# > +# /usr/share/doc/python3-ovirt-enigne-sdk4/eamples/image_transfer.py \ ...I do not have a /usr/share/doc/python3-ovirt-* directory at all. Where am I supposed to get it from? Also, I suspect you want s/enigne/engine/; s/eamples/examples/ > +# --engine-url http...
2020 Aug 06
0
Re: [PATCH nbdkit] plugins: python: Add imageio plugin example
...with nbdkit and qemu-img. > +# > +# Install ovirt-imageio-client > +# > +# dnf copr enable nsoffer/ovirt-imageio-preview > +# dnf install ovirt-imageio-client > +# > +# To upload or download images, you need to start an image transfer. The > +# easiest way is using oVirt image_transfer.py example: > +# > +# /usr/share/doc/python3-ovirt-enigne-sdk4/eamples/image_transfer.py \ > +# --engine-url https://my.engine \ > +# --username admin@internal \ > +# --password-file password \ > +# --cafile my.engine.pem \ > +# upload disk-uuid > +...
2020 Aug 08
1
[PATCH nbdkit] plugins: python: Fix imageio example instructions
...-master.rpm +# +# Install required packages: +# +# dnf install ovirt-imageio-client python3-ovirt-engine-sdk4 +# +# Note: python3-ovirt-engine-sdk4 is not available yet for Fedora 31 and 32. # # To upload or download images, you need to start an image transfer. The # easiest way is using oVirt image_transfer.py example: @@ -33,7 +41,7 @@ # # To upload an image run: # -# qemu-img convert -n -f raw -O raw disk.img \ +# qemu-img convert -n -f raw -O raw -W disk.img \ # nbd+unix:///\?socket=/tmp/nbd.sock # # Downloading image is not efficient with this version, since we don't report --...
2019 Nov 19
5
[PATCH 0/2] rhv-upload: Complete refactoring
Fix NameError introduced by inocomplete change to extract create_transfer() by extracting cancel_transfer() function. Finally extract finallize_transfer() function, dealing with the poorly documented and over complicated oVirt SDK. Tested with: libguestfs-1.40.2-4.fc30.x86_64 nbdkit-1.12.8-1.fc30.x86_64 Tested flows: - Successful import - Error in close() - by injecting long sleep in vdsm