On January 20, 2020 10:48:08 AM GMT+02:00, [email protected] wrote: >Hi there, > > > >My oVirt engine is failing to create a template from a Centos 7 VM, the >/var/log/vdsm/vdsm.log is as follows: > > > >) > >2020-01-20 19:39:07,332+1100 ERROR (virt/875f8036) [root] Job >u'875f8036-e28a-4741-b3a3-046cc711d252' failed (jobs:221) > >Traceback (most recent call last): > > File "/usr/lib/python2.7/site-packages/vdsm/jobs.py", line 157, in run > > self._run() > >File "/usr/lib/python2.7/site-packages/vdsm/virt/jobs/seal.py", line >74, >in _run > > virtsysprep.sysprep(vol_paths) > >File "/usr/lib/python2.7/site-packages/vdsm/virtsysprep.py", line 39, >in >sysprep > > commands.run(cmd) > >File "/usr/lib/python2.7/site-packages/vdsm/common/commands.py", line >110, >in run > > raise cmdutils.Error(args, p.returncode, out, err) > >Error: Command ['/usr/bin/virt-sysprep', '-a', >u'/rhev/data-center/mnt/xxxxx.xxxxx.net:_storage_host__storage/eb8ba7f9-27d5 >-44c0-a744-9027be39a756/images/3ac44e69-ae82-4d79-8b58-0f3ef4cf60db/f4631212 >-4b1e-4c65-b19b-47215e9aca55'] failed with rc=1 out='[ 0.0] Examining >the >guest ...\n' err="libvirt: XML-RPC error : Cannot create user runtime >directory '//.cache/libvirt': Permission denied\nvirt-sysprep: error: >libguestfs error: could not connect to libvirt (URI = >\nqemu:///session): >Cannot create user runtime directory '//.cache/libvirt': \nPermission >denied >[code=38 int1=13]\n\nIf reporting bugs, run virt-sysprep with debugging >enabled and include the \ncomplete output:\n\n virt-sysprep -v -x >[...]\n" > > > >The template saves fine if I do not have 'Seal Template' selected. > > > >
Check the folder's permissions and the groups of the vdsm user. Best Regards, Strahil Nikolov _______________________________________________ Users mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected]/message/UTATXO2RB5DP5H2S2YPMJDDLWXIKOSOK/

