Hello,
I have here an older server, one host with external engine, 4.4.4-1.el8
installation, with a slow 2Gbit nfs storage. When I export OVAs from
smaller VMs (under 40GB) it works but with bigger one, around 95GB I
have problems.
I have already change the export target to a local folder, which makes
the process faster and the GUI shows no errors, but when I extract the
vm.ovf file, from the exported archive, it is not complete. It missing a
closing part from the xml definition. The end stops here: *</ovf:E*
By my test before, I was able to add the closing part by hand and import
the OVA, but then the VM had no disk attached. I don't know if the size
is the problem, my backup script which export the VMs to the export
domain works normal. I only know, that the error I can reproduce on
minimum 2 VMs.
The last part of the export log looks like:
/var/log/ovirt-engine/ansible-runner-service.log:2020-12-19
12:02:52,610 - runner_service.services.playbook - DEBUG -
cb_event_handler event_data={'uuid':
'2ac62a85-7efa-4d14-a941-c1880bd016fd', 'counter': 35,
'stdout':
'changed: [onode-2.example.org]', 'start_line': 34,
'end_line': 35,
'runner_ident': '9ac880ce-4219-11eb-bfd8-5254000e4c2c',
'event':
'runner_on_ok', 'pid': 1039034, 'created':
'2020-12-19T17:02:52.606639', 'parent_uuid':
'5254000e-4c2c-ed4e-fdf7-000000000022', 'event_data':
{'playbook':
'ovirt-ova-export.yml', 'playbook_uuid':
'ee4a698c-f639-49c8-8fa9-af2778f0862d', 'play': 'all',
'play_uuid':
'5254000e-4c2c-ed4e-fdf7-000000000007', 'play_pattern':
'all',
'task': 'Rename the OVA file', 'task_uuid':
'5254000e-4c2c-ed4e-fdf7-000000000022', 'task_action':
'command',
'task_args': '', 'task_path':
'/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-ova-export-post-pack/tasks/main.yml:2',
'role': 'ovirt-ova-export-post-pack', 'host':
'onode-2.discovery.intern', 'remote_addr':
'onode-2.discovery.intern', 'res': {'cmd': ['mv',
'/mnt/intern/win2016-01.ova.tmp', '/mnt/intern/win2016-01.ova'],
'stdout': '', 'stderr': '', 'rc': 0,
'start': '2020-12-19
12:02:52.560917', 'end': '2020-12-19 12:02:52.572358',
'delta':
'0:00:00.011441', 'changed': True, 'invocation':
{'module_args':
{'_raw_params': 'mv "/mnt/intern/win2016-01.ova.tmp"
"/mnt/intern/win2016-01.ova"', 'warn': True,
'_uses_shell': False,
'stdin_add_newline': True, 'strip_empty_ends': True, 'argv':
None,
'chdir': None, 'executable': None, 'creates': None,
'removes': None,
'stdin': None}}, 'stdout_lines': [], 'stderr_lines': [],
'_ansible_no_log': False}, 'start':
'2020-12-19T17:02:51.954144',
'end': '2020-12-19T17:02:52.605820', 'duration': 0.651676,
'event_loop': None, 'uuid':
'2ac62a85-7efa-4d14-a941-c1880bd016fd'}}
Any ideas?
Best regards
Jonathan