On Sun, Oct 14, 2018 at 7:02 AM Eyal Shenitzky <eshenitz(a)redhat.com> wrote:
Adding Daniel and Nir.
Can you please take a look?
On Sat, Oct 13, 2018 at 8:48 PM Aleksey Maksimov <
aleksey.i.maksimov(a)yandex.ru> wrote:
> Hello, oVirt Team
>
> I have oVirt Hosted Engine 4.2.6.4-1.el7
>
> I cannot upload a QCOW2 disk image via oVirt Administration Portal
> (Storage\Disks\Upload).
> "Test Connection" in upload disk dialog works but the upload is changed
> to "Paused by System" after upload ~8GB from 30GB disk
>
, introduced in 4.2.6.
Should be fixed in 4.2.7.
As a workaround, you can use upload_disk.py example from ovirt SDK instead
of the UI.
1. Install the ovirt SDK
yum install python-ovirt-engine-sdk4
2. download the upload_disk.py example
curl
3. modify the script with your engine address, user and password, storage
domain etc.
4. copy the ovirt engine certificate on the host running this script
on a host, you can use /etc/pki/vdsm/certs/cacert.pem
5. upload:
python upload_disk.py --direct /path/to/disk.qcow2
This way is also faster compared the UI.
Nir
-------------------------------------------------
> Log from Hosted Engine:
>
> [root@KOM-OVIRT1 ~]# tail -f /var/log/ovirt-imageio-proxy/image-proxy.log
>
> (MainThread) INFO 2018-10-13 19:15:49,379 image_proxy:35:root:(main)
> Server shut down, exiting
> (MainThread) INFO 2018-10-13 19:15:50,807 image_proxy:26:root:(main)
> Server started, successfully notified systemd
> (Thread-2 ) INFO 2018-10-13 19:56:11,121
> auth:187:auth2:(add_signed_ticket) Adding new ticket: <Ticket
> id=u'5438fcde-a614-4123-a2d5-f4fb067c6453', url=u'
>
https://kom-vm14.holding.com:54322' timeout=35997.87838792801 at
> 0x7fa43b30e410>
> (Thread-3 ) INFO 2018-10-13 19:56:14,160
> connectionpool:735:requests.packages.urllib3.connectionpool:(_new_conn)
> Starting new HTTPS connection (1):
kom-vm14.holding.com
> (Thread-4 ) INFO 2018-10-13 19:56:18,209
> connectionpool:735:requests.packages.urllib3.connectionpool:(_new_conn)
> Starting new HTTPS connection (1):
kom-vm14.holding.com
> ...
> <cut>
> ...
> (Thread-102) INFO 2018-10-13 20:02:26,311
> connectionpool:735:requests.packages.urllib3.connectionpool:(_new_conn)
> Starting new HTTPS connection (1):
kom-vm14.holding.com
> (Thread-103) INFO 2018-10-13 20:02:26,339
> connectionpool:735:requests.packages.urllib3.connectionpool:(_new_conn)
> Starting new HTTPS connection (1):
kom-vm14.holding.com
> (Thread-103) ERROR 2018-10-13 20:02:26,357 web:136:web:(log_error) ERROR
> [10.160.0.142] PUT /images/5438fcde-a614-4123-a2d5-f4fb067c6453 [500]
> Failed response from host: 500 {"explanation": "The server has either
erred
> or is incapable of performing the requested operation.", "code": 500,
> "detail": "[Errno 22] Invalid argument", "title":
"Internal Server Error"}
> [request=0.027293]
> Traceback (most recent call last):
> File "/usr/lib64/python2.7/site-packages/ovirt_imageio_common/web.py",
> line 99, in __call__
> resp = self.dispatch(request, clock)
> File "/usr/lib64/python2.7/site-packages/ovirt_imageio_common/web.py",
> line 128, in dispatch
> return method(*match.groups())
> File
> "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/http_helper.py",
line
> 86, in wrapper
> return func(self, *args)
> File
> "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/http_helper.py",
line
> 59, in wrapper
> ret = func(self, *args)
> File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/images.py",
> line 153, in put
> read_timeout=self.config.imaged_read_timeout_sec)
> File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/images.py",
> line 239, in make_imaged_request
> raise exc.status_map[imaged_resp.status_code](s)
> HTTPInternalServerError: Failed response from host: 500 {"explanation":
> "The server has either erred or is incapable of performing the requested
> operation.", "code": 500, "detail": "[Errno 22] Invalid
argument", "title":
> "Internal Server Error"}
> (Thread-104) INFO 2018-10-13 20:02:29,463
> connectionpool:735:requests.packages.urllib3.connectionpool:(_new_conn)
> Starting new HTTPS connection (1):
kom-vm14.holding.com
> (Thread-104) ERROR 2018-10-13 20:02:29,475 web:136:web:(log_error) ERROR
> [10.160.0.142] PUT /images/5438fcde-a614-4123-a2d5-f4fb067c6453 [500]
> Failed response from host: 500 {"explanation": "The server has either
erred
> or is incapable of performing the requested operation.", "code": 500,
> "detail": "[Errno 22] Invalid argument", "title":
"Internal Server Error"}
> [request=0.013473]
> Traceback (most recent call last):
> File "/usr/lib64/python2.7/site-packages/ovirt_imageio_common/web.py",
> line 99, in __call__
> resp = self.dispatch(request, clock)
> File "/usr/lib64/python2.7/site-packages/ovirt_imageio_common/web.py",
> line 128, in dispatch
> return method(*match.groups())
> File
> "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/http_helper.py",
line
> 86, in wrapper
> return func(self, *args)
> File
> "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/http_helper.py",
line
> 59, in wrapper
> ret = func(self, *args)
> File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/images.py",
> line 153, in put
> read_timeout=self.config.imaged_read_timeout_sec)
> File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/images.py",
> line 239, in make_imaged_request
> raise exc.status_map[imaged_resp.status_code](s)
> HTTPInternalServerError: Failed response from host: 500 {"explanation":
> "The server has either erred or is incapable of performing the requested
> operation.", "code": 500, "detail": "[Errno 22] Invalid
argument", "title":
> "Internal Server Error"}
> ...
>
> -------------------------------------------------
> Log from Host (
kom-vm14.holding.com):
>
> [root@KOM-VM14 ~]# tail -f /var/log/ovirt-imageio-daemon/daemon.log
>
> 2018-09-20 15:28:24,885 INFO (MainThread) [server] Starting (pid=1311,
> version=1.4.4)
> 2018-09-20 15:28:24,892 INFO (MainThread) [server] Ready for requests
> 2018-10-13 19:56:10,761 INFO (Thread-1) [tickets] [local] ADD
> ticket={u'uuid': u'5438fcde-a614-4123-a2d5-f4fb067c6453',
u'ops':
> [u'write'], u'url':
>
u'file:///rhev/data-center/mnt/blockSD/45f06588-a77e-4410-9171-9bf3e0d1077f/images/7829f2e9-8550-40a7-ba2c-3045df7e221d/59775a69-4284-45b6-8d8b-eadc7221aab7',
> u'sparse': False, u'timeout': 300, u'size': 32212254720}
> 2018-10-13 19:56:14,203 INFO (Thread-3) [images] [10.1.1.40] WRITE
> size=104857600 offset=0 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:56:18,220 INFO (Thread-5) [images] [10.1.1.40] WRITE
> size=104857600 offset=104857600 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:56:22,457 INFO (Thread-6) [images] [10.1.1.40] WRITE
> size=104857600 offset=209715200 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:56:26,729 INFO (Thread-8) [images] [10.1.1.40] WRITE
> size=104857600 offset=314572800 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:56:30,744 INFO (Thread-9) [images] [10.1.1.40] WRITE
> size=104857600 offset=419430400 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:56:34,771 INFO (Thread-10) [images] [10.1.1.40] WRITE
> size=104857600 offset=524288000 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:56:38,891 INFO (Thread-12) [images] [10.1.1.40] WRITE
> size=104857600 offset=629145600 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:56:42,979 INFO (Thread-13) [images] [10.1.1.40] WRITE
> size=104857600 offset=734003200 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:56:47,049 INFO (Thread-15) [images] [10.1.1.40] WRITE
> size=104857600 offset=838860800 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:56:51,020 INFO (Thread-16) [images] [10.1.1.40] WRITE
> size=104857600 offset=943718400 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:56:55,182 INFO (Thread-17) [images] [10.1.1.40] WRITE
> size=104857600 offset=1048576000 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:56:59,231 INFO (Thread-19) [images] [10.1.1.40] WRITE
> size=104857600 offset=1153433600 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:57:03,347 INFO (Thread-20) [images] [10.1.1.40] WRITE
> size=104857600 offset=1258291200 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:57:07,456 INFO (Thread-22) [images] [10.1.1.40] WRITE
> size=104857600 offset=1363148800 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:57:11,615 INFO (Thread-23) [images] [10.1.1.40] WRITE
> size=104857600 offset=1468006400 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:57:15,847 INFO (Thread-24) [images] [10.1.1.40] WRITE
> size=104857600 offset=1572864000 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:57:15,920 INFO (Thread-25) [tickets] [local] EXTEND
> timeout=300 ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:57:20,246 INFO (Thread-27) [images] [10.1.1.40] WRITE
> size=104857600 offset=1677721600 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:57:24,246 INFO (Thread-28) [images] [10.1.1.40] WRITE
> size=104857600 offset=1782579200 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:57:28,303 INFO (Thread-30) [images] [10.1.1.40] WRITE
> size=104857600 offset=1887436800 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:57:32,390 INFO (Thread-31) [images] [10.1.1.40] WRITE
> size=104857600 offset=1992294400 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:57:36,551 INFO (Thread-33) [images] [10.1.1.40] WRITE
> size=104857600 offset=2097152000 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:57:40,341 INFO (Thread-34) [images] [10.1.1.40] WRITE
> size=104857600 offset=2202009600 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:57:44,389 INFO (Thread-35) [images] [10.1.1.40] WRITE
> size=104857600 offset=2306867200 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:57:48,510 INFO (Thread-37) [images] [10.1.1.40] WRITE
> size=104857600 offset=2411724800 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:57:52,569 INFO (Thread-38) [images] [10.1.1.40] WRITE
> size=104857600 offset=2516582400 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:57:56,826 INFO (Thread-40) [images] [10.1.1.40] WRITE
> size=104857600 offset=2621440000 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:58:00,889 INFO (Thread-41) [images] [10.1.1.40] WRITE
> size=104857600 offset=2726297600 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:58:04,988 INFO (Thread-42) [images] [10.1.1.40] WRITE
> size=104857600 offset=2831155200 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:58:09,057 INFO (Thread-44) [images] [10.1.1.40] WRITE
> size=104857600 offset=2936012800 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:58:13,171 INFO (Thread-45) [images] [10.1.1.40] WRITE
> size=104857600 offset=3040870400 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:58:16,412 INFO (Thread-46) [tickets] [local] EXTEND
> timeout=300 ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:58:17,351 INFO (Thread-48) [images] [10.1.1.40] WRITE
> size=104857600 offset=3145728000 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:58:21,520 INFO (Thread-49) [images] [10.1.1.40] WRITE
> size=104857600 offset=3250585600 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:58:25,464 INFO (Thread-50) [images] [10.1.1.40] WRITE
> size=104857600 offset=3355443200 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:58:29,719 INFO (Thread-52) [images] [10.1.1.40] WRITE
> size=104857600 offset=3460300800 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:58:33,784 INFO (Thread-53) [images] [10.1.1.40] WRITE
> size=104857600 offset=3565158400 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:58:37,980 INFO (Thread-55) [images] [10.1.1.40] WRITE
> size=104857600 offset=3670016000 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:58:42,043 INFO (Thread-56) [images] [10.1.1.40] WRITE
> size=104857600 offset=3774873600 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:58:46,186 INFO (Thread-57) [images] [10.1.1.40] WRITE
> size=104857600 offset=3879731200 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:58:50,244 INFO (Thread-59) [images] [10.1.1.40] WRITE
> size=104857600 offset=3984588800 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:58:54,433 INFO (Thread-60) [images] [10.1.1.40] WRITE
> size=104857600 offset=4089446400 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:58:58,573 INFO (Thread-62) [images] [10.1.1.40] WRITE
> size=104857600 offset=4194304000 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:59:02,788 INFO (Thread-63) [images] [10.1.1.40] WRITE
> size=104857600 offset=4299161600 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:59:06,947 INFO (Thread-65) [images] [10.1.1.40] WRITE
> size=104857600 offset=4404019200 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:59:11,055 INFO (Thread-66) [images] [10.1.1.40] WRITE
> size=104857600 offset=4508876800 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:59:15,145 INFO (Thread-67) [images] [10.1.1.40] WRITE
> size=104857600 offset=4613734400 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:59:16,824 INFO (Thread-68) [tickets] [local] EXTEND
> timeout=300 ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:59:19,430 INFO (Thread-70) [images] [10.1.1.40] WRITE
> size=104857600 offset=4718592000 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:59:23,517 INFO (Thread-71) [images] [10.1.1.40] WRITE
> size=104857600 offset=4823449600 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:59:27,618 INFO (Thread-73) [images] [10.1.1.40] WRITE
> size=104857600 offset=4928307200 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:59:31,826 INFO (Thread-74) [images] [10.1.1.40] WRITE
> size=104857600 offset=5033164800 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:59:35,965 INFO (Thread-75) [images] [10.1.1.40] WRITE
> size=104857600 offset=5138022400 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:59:40,199 INFO (Thread-77) [images] [10.1.1.40] WRITE
> size=104857600 offset=5242880000 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:59:44,332 INFO (Thread-78) [images] [10.1.1.40] WRITE
> size=104857600 offset=5347737600 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:59:48,475 INFO (Thread-80) [images] [10.1.1.40] WRITE
> size=104857600 offset=5452595200 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:59:52,557 INFO (Thread-81) [images] [10.1.1.40] WRITE
> size=104857600 offset=5557452800 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 19:59:56,721 INFO (Thread-82) [images] [10.1.1.40] WRITE
> size=104857600 offset=5662310400 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:00:00,737 INFO (Thread-84) [images] [10.1.1.40] WRITE
> size=104857600 offset=5767168000 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:00:04,711 INFO (Thread-85) [images] [10.1.1.40] WRITE
> size=104857600 offset=5872025600 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:00:08,839 INFO (Thread-87) [images] [10.1.1.40] WRITE
> size=104857600 offset=5976883200 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:00:12,868 INFO (Thread-88) [images] [10.1.1.40] WRITE
> size=104857600 offset=6081740800 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:00:16,977 INFO (Thread-89) [images] [10.1.1.40] WRITE
> size=104857600 offset=6186598400 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:00:17,445 INFO (Thread-90) [tickets] [local] EXTEND
> timeout=300 ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:00:21,011 INFO (Thread-92) [images] [10.1.1.40] WRITE
> size=104857600 offset=6291456000 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:00:24,968 INFO (Thread-93) [images] [10.1.1.40] WRITE
> size=104857600 offset=6396313600 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:00:28,931 INFO (Thread-95) [images] [10.1.1.40] WRITE
> size=104857600 offset=6501171200 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:00:32,958 INFO (Thread-96) [images] [10.1.1.40] WRITE
> size=104857600 offset=6606028800 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:00:37,043 INFO (Thread-97) [images] [10.1.1.40] WRITE
> size=104857600 offset=6710886400 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:00:41,191 INFO (Thread-99) [images] [10.1.1.40] WRITE
> size=104857600 offset=6815744000 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:00:45,232 INFO (Thread-100) [images] [10.1.1.40] WRITE
> size=104857600 offset=6920601600 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:00:49,336 INFO (Thread-102) [images] [10.1.1.40] WRITE
> size=104857600 offset=7025459200 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:00:53,335 INFO (Thread-103) [images] [10.1.1.40] WRITE
> size=104857600 offset=7130316800 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:00:57,543 INFO (Thread-104) [images] [10.1.1.40] WRITE
> size=104857600 offset=7235174400 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:01:01,652 INFO (Thread-106) [images] [10.1.1.40] WRITE
> size=104857600 offset=7340032000 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:01:05,487 INFO (Thread-107) [images] [10.1.1.40] WRITE
> size=104857600 offset=7444889600 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:01:09,571 INFO (Thread-109) [images] [10.1.1.40] WRITE
> size=104857600 offset=7549747200 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:01:13,727 INFO (Thread-110) [images] [10.1.1.40] WRITE
> size=104857600 offset=7654604800 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:01:17,873 INFO (Thread-111) [tickets] [local] EXTEND
> timeout=300 ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:01:17,995 INFO (Thread-113) [images] [10.1.1.40] WRITE
> size=104857600 offset=7759462400 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:01:22,113 INFO (Thread-114) [images] [10.1.1.40] WRITE
> size=104857600 offset=7864320000 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:01:26,041 INFO (Thread-115) [images] [10.1.1.40] WRITE
> size=104857600 offset=7969177600 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:01:30,196 INFO (Thread-117) [images] [10.1.1.40] WRITE
> size=104857600 offset=8074035200 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:01:34,308 INFO (Thread-118) [images] [10.1.1.40] WRITE
> size=104857600 offset=8178892800 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:01:38,364 INFO (Thread-120) [images] [10.1.1.40] WRITE
> size=104857600 offset=8283750400 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:01:42,511 INFO (Thread-121) [images] [10.1.1.40] WRITE
> size=104857600 offset=8388608000 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:01:46,589 INFO (Thread-122) [images] [10.1.1.40] WRITE
> size=104857600 offset=8493465600 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:01:50,724 INFO (Thread-124) [images] [10.1.1.40] WRITE
> size=104857600 offset=8598323200 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:01:54,783 INFO (Thread-125) [images] [10.1.1.40] WRITE
> size=104857600 offset=8703180800 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:01:58,897 INFO (Thread-127) [images] [10.1.1.40] WRITE
> size=104857600 offset=8808038400 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:02:03,043 INFO (Thread-128) [images] [10.1.1.40] WRITE
> size=104857600 offset=8912896000 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:02:07,313 INFO (Thread-129) [images] [10.1.1.40] WRITE
> size=104857600 offset=9017753600 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:02:11,440 INFO (Thread-131) [images] [10.1.1.40] WRITE
> size=104857600 offset=9122611200 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:02:15,725 INFO (Thread-132) [images] [10.1.1.40] WRITE
> size=104857600 offset=9227468800 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:02:18,333 INFO (Thread-133) [tickets] [local] EXTEND
> timeout=300 ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:02:19,904 INFO (Thread-135) [images] [10.1.1.40] WRITE
> size=104857600 offset=9332326400 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:02:24,040 INFO (Thread-136) [images] [10.1.1.40] WRITE
> size=52625408 offset=9437184000 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:02:26,165 INFO (Thread-137) [images] [10.1.1.40] WRITE
> size=0 offset=9542041600 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:02:26,201 INFO (Thread-138) [images] [10.1.1.40] WRITE
> size=0 offset=9646899200 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:02:26,219 INFO (Thread-139) [images] [10.1.1.40] WRITE
> size=0 offset=9751756800 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:02:26,237 INFO (Thread-140) [images] [10.1.1.40] WRITE
> size=0 offset=9856614400 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:02:26,253 INFO (Thread-141) [images] [10.1.1.40] WRITE
> size=0 offset=9961472000 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:02:26,269 INFO (Thread-142) [images] [10.1.1.40] WRITE
> size=0 offset=10066329600 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:02:26,286 INFO (Thread-143) [images] [10.1.1.40] WRITE
> size=0 offset=10171187200 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:02:26,302 INFO (Thread-144) [images] [10.1.1.40] WRITE
> size=0 offset=10276044800 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:02:26,317 INFO (Thread-145) [images] [10.1.1.40] WRITE
> size=0 offset=10380902400 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:02:26,353 INFO (Thread-146) [images] [10.1.1.40] WRITE
> size=0 offset=10485760000 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:02:26,353 ERROR (Thread-146) [web] ERROR [10.1.1.40] PUT
> /images/5438fcde-a614-4123-a2d5-f4fb067c6453 [500] [Errno 22] Invalid
> argument [request=0.001157, operation=0.000433, sync=0.000192]
> Traceback (most recent call last):
> File "/usr/lib64/python2.7/site-packages/ovirt_imageio_common/web.py",
> line 99, in __call__
> resp = self.dispatch(request, clock)
> File "/usr/lib64/python2.7/site-packages/ovirt_imageio_common/web.py",
> line 128, in dispatch
> return method(*match.groups())
> File "/usr/lib/python2.7/site-packages/ovirt_imageio_daemon/server.py",
> line 258, in put
> ticket.run(op)
> File
> "/usr/lib/python2.7/site-packages/ovirt_imageio_daemon/tickets.py", line
> 107, in run
> operation.run()
> File
> "/usr/lib64/python2.7/site-packages/ovirt_imageio_common/directio.py",
line
> 81, in run
> self._run()
> File
> "/usr/lib64/python2.7/site-packages/ovirt_imageio_common/directio.py",
line
> 176, in _run
> remaining = self._seek_before_first_block(dst)
> File
> "/usr/lib64/python2.7/site-packages/ovirt_imageio_common/directio.py",
line
> 195, in _seek_before_first_block
> dst.seek(self._offset)
> File
> "/usr/lib64/python2.7/site-packages/ovirt_imageio_common/directio.py",
line
> 445, in seek
> return self._fio.seek(pos, how)
> IOError: [Errno 22] Invalid argument
> 2018-10-13 20:02:29,470 INFO (Thread-148) [images] [10.1.1.40] WRITE
> size=0 offset=10485760000 flush=True
> ticket=5438fcde-a614-4123-a2d5-f4fb067c6453
> 2018-10-13 20:02:29,471 ERROR (Thread-148) [web] ERROR [10.1.1.40] PUT
> /images/5438fcde-a614-4123-a2d5-f4fb067c6453 [500] [Errno 22] Invalid
> argument [request=0.001175, operation=0.000453, sync=0.000210]
> Traceback (most recent call last):
> File "/usr/lib64/python2.7/site-packages/ovirt_imageio_common/web.py",
> line 99, in __call__
> resp = self.dispatch(request, clock)
> File "/usr/lib64/python2.7/site-packages/ovirt_imageio_common/web.py",
> line 128, in dispatch
> return method(*match.groups())
> File "/usr/lib/python2.7/site-packages/ovirt_imageio_daemon/server.py",
> line 258, in put
> ticket.run(op)
> File
> "/usr/lib/python2.7/site-packages/ovirt_imageio_daemon/tickets.py", line
> 107, in run
> operation.run()
> File
> "/usr/lib64/python2.7/site-packages/ovirt_imageio_common/directio.py",
line
> 81, in run
> self._run()
> File
> "/usr/lib64/python2.7/site-packages/ovirt_imageio_common/directio.py",
line
> 176, in _run
> remaining = self._seek_before_first_block(dst)
> File
> "/usr/lib64/python2.7/site-packages/ovirt_imageio_common/directio.py",
line
> 195, in _seek_before_first_block
> dst.seek(self._offset)
> File
> "/usr/lib64/python2.7/site-packages/ovirt_imageio_common/directio.py",
line
> 445, in seek
> return self._fio.seek(pos, how)
> IOError: [Errno 22] Invalid argument
> ...
>
> -------------------------------------------------
> QCOW2 disk image was converted from VHDX disk on Windows Server 2012 R2
> with qemu-img tool (
https://cloudbase.it/qemu-img-windows/)
>
> C:\>C:\Tools\qemu-img\win-x64\2.3.0\qemu-img.exe info
> "C:\Temp\KOM-PBX01\KOM-PBX01_disk1.qcow2"
>
> image: C:\Temp\KOM-PBX01\KOM-PBX01_disk1.qcow2
> file format: qcow2
> virtual size: 30G (32212254720 bytes)
> disk size: 8.8G
> cluster_size: 65536
> Format specific information:
> compat: 1.1
> lazy refcounts: false
> refcount bits: 16
> corrupt: false
>
>
> -------------------------------------------------
> It appears that the disk image upload is interrupted by the "disk size"
> value (~8GB).
> The upload process looks as if oVirt is trying to load a full disk with
> the size "virtual size" (30GB).
>
> How can I upload the disk?
> The problem for us is urgent, because we need to create a virtual machine
> with a disk that we can not upload.
> Please help to solve the problem.
> _______________________________________________
> Users mailing list -- users(a)ovirt.org
> To unsubscribe send an email to users-leave(a)ovirt.org
> Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
>
https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
>
https://lists.ovirt.org/archives/list/users@ovirt.org/message/55I2YWQ5VSI...
>
--
Regards,
Eyal Shenitzky