Please forgive the duplicate message, I forgot to attach the log!
----
Hello,
I'm trying to use the "Make Templates" built in sealing functionality for a
CentOS 7 VM, and virt-sysprep returns this error:
vdsm[3221]: vdsm root ERROR Job u'131c7faf-47fd-42fc-80d9-9e9874f7625e'
failed
Traceback (most
recent call last):
File
"/usr/lib/python2.7/site-packages/vdsm/jobs.py", line 154, in run
self._run()
File
"/usr/lib/python2.7/site-packages/vdsm/virt/jobs/seal.py", line 73, in _run
virtsysprep.sysprep(vol_paths)
File
"/usr/lib/python2.7/site-packages/vdsm/virtsysprep.py", line 44, in sysprep
raise
cmdutils.Error(cmd, rc, out, err)
Error: Command
['/usr/bin/virt-sysprep', '-a',
u'/rhev/data-center/e12ecece-e334-42e7-a4f5-1ecd7ef26fa9/064dbb63-dd7e-41c3-adeb-61daa761aa61/images/aa0061f6-d461-475c-bcf9-8c48d9cf109a/8c2b0339-7339-4890-bc7b-0313948f5352']
failed with rc=1 out=['[ 0.0] Examining the guest ...'] err=["libvirt:
XML-RPC error : Cannot create user runtime directory '//.cache/libvirt':
Permission denied", 'virt-sysprep: error: libguestfs error: could not
connect to libvirt (URI = ', "qemu:///session): Cannot create user runtime
directory '//.cache/libvirt': ", 'Permission denied [code=38
int1=13]', '',
'If reporting bugs, run virt-sysprep with debugging enabled and include the
', 'complete output:', '', ' virt-sysprep -v -x [...]']