On Fri, May 10, 2019 at 1:53 PM Andreas Elvers <andreas.elvers+ovirtforum@solutions.work> wrote:
I'm having a problem with restore. It fails while "Wait for OVF_STORE disk content". Looking at the ansible output and at the bug report https://bugzilla.redhat.com/show_bug.cgi?id=1644748 isn't the original value of 60 minutes for OvfUpdateIntervalInMinutes restored too early?


No, unfortunately the issue is not there. 
The new value of OvfUpdateIntervalInMinutes will not be consumed until the engine will restart reloading it but in our case it's not restarting in the middle so it's still 1 minute.

Can you please share engine.log from your bootstrap VM?
I fear that in the DB you are trying to restore there is some dirty value that cause the engine to fail serializing the OVF_STORE.
 
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch host SPM_ID]
[ INFO  ] changed: [localhost -> engine.infra.solutions.work]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Parse host SPM_ID]
[ INFO  ] ok: [localhost -> engine.infra.solutions.work]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Restore original DisableFenceAtStartupInSec]
[ INFO  ] changed: [localhost -> engine.infra.solutions.work]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Remove DisableFenceAtStartupInSec temporary file]
[ INFO  ] changed: [localhost -> engine.infra.solutions.work]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Restore original OvfUpdateIntervalInMinutes]
[ INFO  ] changed: [localhost -> engine.infra.solutions.work]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Remove OvfUpdateIntervalInMinutes temporary file]
[ INFO  ] changed: [localhost -> engine.infra.solutions.work]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Removing temporary value]
[ INFO  ] changed: [localhost -> engine.infra.solutions.work]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Restoring original value]
[ INFO  ] changed: [localhost -> engine.infra.solutions.work]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Remove temporary directory for ansible as postgres user]
[ INFO  ] changed: [localhost -> engine.infra.solutions.work]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fail if he_force_ip4 and he_force_ip6 are set at the same time]
[ INFO  ] skipping: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Prepare getent key]
[ INFO  ] skipping: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Trigger hosted engine OVF update and enable the serial console]
[ INFO  ] changed: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Wait until OVF update finishes]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Parse OVF_STORE disk list]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Check OVF_STORE volume status]
[ INFO  ] changed: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Wait for OVF_STORE disk content]
[ ERROR ] {u'_ansible_parsed': True, u'stderr_lines': [u'20+0 records in', u'20+0 records out', u'10240 bytes (10 kB) copied, 0.000164261 s, 62.3 MB/s', u'tar: 1e74609b-51e1-45c8-9106-2596ee59ba3a.ovf: Not found in archive', u'tar: Exiting with failure status due to previous errors'], u'changed': True, u'end': u'2019-05-10 12:57:57.610068', u'_ansible_item_label': {u'image_id': u'59d16f28-64ed-4c3f-aaad-7d98e2718f53', u'name': u'OVF_STORE', u'id': u'98bd5cfc-809d-4d40-83e0-98e379af5f97'}, u'stdout': u'', u'failed': True, u'_ansible_item_result': True, u'msg': u'non-zero return code', u'rc': 2, u'start': u'2019-05-10 12:57:56.928294', u'attempts': 12, u'cmd': u"vdsm-client Image prepare storagepoolID=597f329c-0296-03af-0369-000000000139 storagedomainID=8f115ea6-91ec-4e10-9240-bc8eda47b7ff imageID=98bd5cfc-809d-4d40-83e0-98e379af5f97 volumeID=59d16f28-64ed-4c3f-aaad-7d98e2718f53 | grep path | awk '{ print $2 }' | xargs -I{} sudo -u vdsm dd if={} | tar -tvf - 1e74609b-51e1-45c8-9106-259
 6ee59ba3a.ovf", u'item': {u'image_id': u'59d16f28-64ed-4c3f-aaad-7d98e2718f53', u'name': u'OVF_STORE', u'id': u'98bd5cfc-809d-4d40-83e0-98e379af5f97'}, u'delta': u'0:00:00.681774', u'invocation': {u'module_args': {u'warn': False, u'executable': None, u'_uses_shell': True, u'_raw_params': u"vdsm-client Image prepare storagepoolID=597f329c-0296-03af-0369-000000000139 storagedomainID=8f115ea6-91ec-4e10-9240-bc8eda47b7ff imageID=98bd5cfc-809d-4d40-83e0-98e379af5f97 volumeID=59d16f28-64ed-4c3f-aaad-7d98e2718f53 | grep path | awk '{ print $2 }' | xargs -I{} sudo -u vdsm dd if={} | tar -tvf - 1e74609b-51e1-45c8-9106-2596ee59ba3a.ovf", u'removes': None, u'argv': None, u'creates': None, u'chdir': None, u'stdin': None}}, u'stdout_lines': [], u'stderr': u'20+0 records in\n20+0 records out\n10240 bytes (10 kB) copied, 0.000164261 s, 62.3 MB/s\ntar: 1e74609b-51e1-45c8-9106-2596ee59ba3a.ovf: Not found in archive\ntar: Exiting with failure status due to previous errors', u'_ansible_no_log': False}
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@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/HJ272VCIHH5NIVDHJWP4HRQLV7BYQJHI/


--

Simone Tiraboschi

He / Him / His

Principal Software Engineer

Red Hat

stirabos@redhat.com