Displaying 3 results from an estimated 3 matches for "a9e82250".
2019 Nov 26
6
[PATCH v2 0/3] rhv-upload: Support import to qcow2 disk
Add support for qcow2 disk format, enabled by imageio NBD backend in RHV 4.3.
To use this feature manually, you can run virt-v2v with "-of qcow2".
Here is example run:
Source disk:
$ qemu-img info /var/tmp/fedora-30.img
image: /var/tmp/fedora-30.img
file format: raw
virtual size: 6 GiB (6442450944 bytes)
disk size: 1.15 GiB
virt-v2v:
$ ./run virt-v2v \
-v \
-i disk
2019 Nov 26
0
[PATCH v2 1/3] rhv-upload: Log params for easier debugging
...v_cafile': '/etc/pki/vdsm/certs/cacert.pem',
'rhv_cluster': 'fc30', 'rhv_direct': True, 'insecure': True}
---
v2v/rhv-upload-plugin.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/v2v/rhv-upload-plugin.py b/v2v/rhv-upload-plugin.py
index 7ed521f3..a9e82250 100644
--- a/v2v/rhv-upload-plugin.py
+++ b/v2v/rhv-upload-plugin.py
@@ -46,6 +46,7 @@ def config(key, value):
if key == "params":
with builtins.open(value, 'r') as fp:
params = json.load(fp)
+ debug("using params: %s" % params)
els...
2019 Nov 26
0
[PATCH v2 3/3] rhv-upload: Support qcow2 disk format
...utput format ‘raw’ or ‘qcow2’ is supported. If the input is in a different format then force one of these output formats by adding either ‘-of raw’ or ‘-of qcow2’ on the command line.")
target_format in
diff --git a/v2v/rhv-upload-plugin.py b/v2v/rhv-upload-plugin.py
index a9e82250..75e4f404 100644
--- a/v2v/rhv-upload-plugin.py
+++ b/v2v/rhv-upload-plugin.py
@@ -18,6 +18,7 @@
import builtins
import functools
+import inspect
import json
import logging
import socket
@@ -448,6 +449,8 @@ def create_disk(connection):
name = params['disk_name'],...