-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

I regularly trim my templates after updating them. I don't recall this
process ever being interrupted, but it appears that something got
corrupted once when trimming whonix-ws. What I have already done:

* deleted /var/lib/qubes/appvms/trim-whonix-ws multiple times
* completely uninstalled and reinstalled the whonix templates

Never the less, I get the following error:

Disk usage before:
2574760 /var/lib/qubes/vm-templates/whonix-ws/root.img
Creating temporary VM...
Traceback (most recent call last):
  File "/usr/bin/qvm-trim-template", line 172, in <module>
    main()
  File "/usr/bin/qvm-trim-template", line 115, in main
    fstrim_vm.create_on_disk()
  File "/usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py",
line 1317, in create_on_disk
    self._update_libvirt_domain()
  File "/usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py",
line 764, in _update_libvirt_domain
    raise e
libvirt.libvirtError: operation failed: domain 'trim-whonix-ws' already
exists with uuid 34bfb7d4-b96d-4d8d-9042-53e212761316

It appears that the VM 'trim-whonix-ws' gets created during the trim
operation and that the operation now fails, since the same name is
already registered somewhere. I checked /var/lib/qubes/qubes.xml ...
it's not in there.

Any ideas where to check?

/Sven



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJZ57WCAAoJENpuFnuPVB+2XOgP/RC9i4p+C83XXYDx17HimO2/
LHBJf82TRV6U57SEQ1YNs74X7FZRSRQyVAP9VcxmTrAO7ts2LtUX4a7wdKZjbHU0
zEhlGCbbiybsC87jVz3LpzwOzfv4TWdinjcD9Fjc833j/qkXhmxTBTI7KAyROAco
K7+JEru2VIGLMAsmrVzTUSkDCcN5WY3aTWOiBFip3ECEU5uXdiHevXIaH95zkrkE
AR6URQfsvlS0UM6wqDpHCCyavhrwHMlo6Sft6JcqvFRw9Z1zLVcv3TrTUPGbLWzB
Dfz2CM0E1T0ohGqh4/C933Eb30mN8os6aL92C3HRmzqHPtQuI9uYhef362PDIML6
fiIi8auC42ehF//IQ2jDFvr5mywyhCyoly50A4aTHlIqjOymrbXXe+JtN/LUVqs6
Rreb8JeD28524HSJzRceHgRk1/6WwPa47naOYcN4zXYl/yCmdnLqCdhy5ydr7xaU
fhq5wPBkg0qBBFzuRsBdJ6dEB8w0aLJEN/dTvTBlTD09JtRvy5q6U54crFODsEL8
Js8wpnzo0CAFe98F3tyMchYPfrodWeXf1Dchy7TUJfnRXnv2bEC1/VzsVzB5mKjF
HPzZsV6etkAp2XfPuGpOJTjqZy/VWpFOg2jd/8Ob8WhXOZ4KfmXJRzsY9Vf53riA
3f3boyIUNdJQpYzb08c3
=eCsr
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/a0789d45-07bb-7faa-3433-f1b4bedb795d%40SvenSemmler.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to