[ovirt-users] Disk image upload pausing

Nir Soffer nsoffer at redhat.com
Wed Feb 21 08:48:13 UTC 2018


The vdsm and ovirt-imageio-daemon logs on the host selected for the upload
can help to understand this issue.

Nir

בתאריך יום ד׳, 21 בפבר׳ 2018, 7:10, מאת Idan Shaby ‏<ishaby at redhat.com>:

> On Tue, Feb 20, 2018 at 3:33 PM, <spfma.tech at e.mail.fr> wrote:
>
>> Hi,
>>
>> Here are lines I have found for my last faulty try :
>>
>> ENGINE
>> 2018-02-19 17:52:27,283+01 INFO
>> [org.ovirt.engine.core.bll.storage.disk.image.TransferImageStatusCommand]
>> (EE-ManagedThreadFactory-engineScheduled-Thread-3) [1320afb0] Running
>> command: TransferImageStatusCommand internal: true. Entities affected :
>> ID: aaa00000-0000-0000-0000-123456789aaa Type: SystemAction group
>> CREATE_DISK with role type USER
>> 2018-02-19 17:52:27,290+01 INFO
>> [org.ovirt.engine.core.bll.storage.disk.image.TransferImageStatusCommand]
>> (EE-ManagedThreadFactory-engineScheduled-Thread-3) [1320afb0] Lock freed to
>> object 'EngineLock:{exclusiveLocks='', sharedLocks='[]'}'
>> 2018-02-19 17:52:28,658+01 INFO
>> [org.ovirt.engine.core.bll.storage.disk.image.TransferImageStatusCommand]
>> (default task-14) [32ba50ad-f7cd-4b7e-87b9-f7ad8a73a946] Running command:
>> TransferImageStatusCommand internal: false. Entities affected :  ID:
>> aaa00000-0000-0000-0000-123456789aaa Type: SystemAction group CREATE_DISK
>> with role type USER
>> 2018-02-19 17:52:28,659+01 INFO
>> [org.ovirt.engine.core.bll.storage.disk.image.ImageTransferUpdater]
>> (default task-14) [32ba50ad-f7cd-4b7e-87b9-f7ad8a73a946] Updating image
>> transfer 1c55d561-45bf-4e57-b3b6-8fcbf3734a28 (image
>> af5997c5-ae69-4677-9d86-30a978cf83a5) phase to Paused by System (message:
>> 'Sent 405200MB')
>> 2018-02-19 17:52:28,665+01 WARN
>> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
>> (default task-14) [32ba50ad-f7cd-4b7e-87b9-f7ad8a73a946] EVENT_ID:
>> UPLOAD_IMAGE_NETWORK_ERROR(1,038), Unable to upload image to disk
>> af5997c5-ae69-4677-9d86-30a978cf83a5 due to a network error. Make sure
>> ovirt-imageio-proxy service is installed and configured, and ovirt-engine's
>> certificate is registered as a valid CA in the browser. The certificate can
>> be fetched from https://
>> <engine_url>/ovirt-engine/services/pki-resource?resource=ca-certificate&format=X509-PEM-CA
>> 2018-02-19 17:52:32,624+01 INFO
>> [org.ovirt.engine.core.bll.storage.disk.image.TransferImageStatusCommand]
>> (default task-28) [0eba65e6-cca8-46ee-9038-fb29838ead47] Running command:
>> TransferImageStatusCommand internal: false. Entities affected :  ID:
>> aaa00000-0000-0000-0000-123456789aaa Type: SystemAction group CREATE_DISK
>> with role type USER
>> 2018-02-19 17:52:36,679+01 INFO
>> [org.ovirt.engine.core.bll.storage.disk.image.TransferImageStatusCommand]
>> (default task-16) [5d662615-a4e7-412b-8ecf-45be03c7e49f] Running command:
>> TransferImageStatusCommand internal: false. Entities affected :  ID:
>> aaa00000-0000-0000-0000-123456789aaa Type: SystemAction group CREATE_DISK
>> with role type USER
>> 2018-02-19 17:52:37,304+01 INFO
>> [org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand]
>> (EE-ManagedThreadFactory-engineScheduled-Thread-40)
>> [6f21de96-d3bd-4cf0-b922-394be7389d3b] Transfer was paused by system.
>> Upload disk 'pfm-serv-pdc_Disk1' (id '00000000-0000-0000-0000-000000000000')
>>
>> PROXY
>> (Thread-4087) ERROR 2018-02-19 17:52:28,644
>> images:143:root:(make_imaged_request) Failed communicating with host: A
>> Connection error occurred.
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/images.py",
>> line 134, in make_imaged_request
>>     timeout=timeout, stream=stream)
>>   File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 576,
>> in send
>>     r = adapter.send(request, **kwargs)
>>   File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 415,
>> in send
>>     raise ConnectionError(err, request=request)
>> ConnectionError: ('Connection aborted.', error(32, 'Broken pipe'))
>> (Thread-4087) ERROR 2018-02-19 17:52:28,645 web:112:web:(log_error) ERROR
>> [10.100.0.184] PUT /images/f64acb43-d153-485d-b441-9f5d42773a03: [503]
>> Failed communicating with host: A Connection error occurred. (0.01s)
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.7/site-packages/ovirt_imageio_common/web.py",
>> line 64, in __call__
>>     resp = self.dispatch(request)
>>   File "/usr/lib/python2.7/site-packages/ovirt_imageio_common/web.py",
>> line 91, in dispatch
>>     return method(*match.groups())
>>   File
>> "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/http_helper.py", line
>> 104, in wrapper
>>     return func(self, *args)
>>   File
>> "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/http_helper.py", line
>> 60, in wrapper
>>     ret = func(self, *args)
>>   File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/images.py",
>> line 97, in put
>>     self.request.method, imaged_url, headers, body, stream)
>>   File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/images.py",
>> line 144, in make_imaged_request
>>     raise exc.HTTPServiceUnavailable(s)
>>
>> I saw new updates so I applied them to the whole cluster and the engine
>> VM, and finally rebooted everything.
>>
>> My new try this morning was OK.
>>
>> Maybe one service just needed a restart ?
>>
> I am not sure.
> If it happens again, please attach the full logs so we can investigate and
> understand what happened there.
>
>>
>> Regards
>>
>>
>>
>>
>>
>> Le 20-Feb-2018 06:54:49 +0100, ishaby at redhat.com a écrit:
>>
>>
>> Hi,
>>
>> Can you please attach the engine, vdsm, daemon and proxy logs?
>>
>>
>> Regards,
>> Idan
>>
>> On Mon, Feb 19, 2018 at 11:17 AM, <spfma.tech at e.mail.fr> wrote:
>>
>>>
>>> Hi,
>>> I am trying to build a new vm based on a vhd image coming from a windows
>>> machine. I converted the image to raw, and I am now trying to import it in
>>> the engine.
>>> After setting up the CA in my browser, the import process starts but
>>> stops after a while with "paused by system" status. I can resume it, but it
>>> pauses without transferring more.
>>> The engine logs don't explain much, I see a line for the start and the
>>> next one for the pause.
>>> My network seems to work correctly, and I have plenty of space in the
>>> storage domain.
>>> What can cause the process to pause ?
>>> Regards
>>>
>>> ------------------------------
>>> FreeMail powered by mail.fr
>>> _______________________________________________
>>> Users mailing list
>>> Users at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>> ------------------------------
>> FreeMail powered by mail.fr
>>
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180221/91d53567/attachment.html>


More information about the Users mailing list