Re: [qubes-users] disp-vms were great - if they worked.

2017-03-13 Thread haaber
Update:

>> The DispVM's make me crazy. Last week (with your generous help)
>> finally dispVM with debian template worked. Now --without any change
>> that I am aware of-- it does again not.  I tried to start it within
>> dom0 - that way I get a max of error messages. ("the DVM savefile
>> creation failed" is kind of unspecific).

Jean Quellets hint qvm-ls & qvm-shutdown was not applicable, nothing was
running that I could have shut down...

On 03/13/2017 09:45 AM, Nick Darren wrote:
>in 'dom0', you can check it using:
>
>$ virsh -c xen:/// list
>
>then 'undefine' the dvm template as shown above and try again after >that.=
>
>
>$ virsh -c xen:/// undefine debian-8-dvm

The list contained nothing important to mention here, but the undefine &
retry command worked. Thanks!

That is a strange command to memorise just to start a disp-vm :))  Bernhard

-- 
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/8d986c7a-4d62-27e8-5941-536ad5633815%40web.de.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] disp-vms were great - if they worked.

2017-03-13 Thread Nick Darren
On 03/12/2017 10:47 PM, haaber wrote:
> The DispVM's make me crazy. Last week (with your generous help) finally
> dispVM with debian template worked. Now --without any change that I am
> aware of-- it does again not.  I tried to start it within dom0 - that
> way I get a max of error messages. ("the DVM savefile creation failed"
> is kind of unspecific).
>
>
> [me@dom0 ~]$ echo xterm | /usr/lib/qubes/qfile-daemon-dvm qubes.VMShell
> dom0 DEFAULT red
> time=1489389887.32, qfile-daemon-dvm init
> time=1489389887.32, creating DispVM
> Can't get domid of domain name 'debian-8', maybe this domain does not exist.
> --> Creating volatile image:
> /var/lib/qubes/appvms/debian-8-dvm/volatile.img...
> --> Loading the VM (type = AppVM)...
> Traceback (most recent call last):
>   File "/usr/bin/qvm-start", line 136, in 
> main()
>   File "/usr/bin/qvm-start", line 120, in main
> xid = vm.start(verbose=options.verbose,
> preparing_dvm=options.preparing_dvm, start_guid=not options.noguid,
> notify_function=tray_notify_generic if options.tray else None)
>   File "/usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py",
> line 1942, in start
> self._update_libvirt_domain()
>   File "/usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py",
> line 755, in _update_libvirt_domain
> raise e
> libvirt.libvirtError: operation failed: domain 'debian-8-dvm' already
> exists with uuid 603478e2-2d9f-4b27-c052-2910eaf6819b8
>
>
> So, once again, it is libvirt / virsh. But what is it this time?? Sigh
> of despair! Thank you for helping once more.
>
> Bernhard
>
in 'dom0', you can check it using:

$ virsh -c xen:/// list

then 'undefine' the dvm template as shown above and try again after that.

$ virsh -c xen:/// undefine debian-8-dvm

-- 
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/0c492d84-5f54-03ba-ff96-37d5def98085%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


Re: [qubes-users] disp-vms were great - if they worked.

2017-03-13 Thread Jean-Philippe Ouellet
On Sun, Mar 12, 2017 at 6:47 PM, haaber  wrote:
> [me@dom0 ~]$ echo xterm | /usr/lib/qubes/qfile-daemon-dvm qubes.VMShell
...
> libvirt.libvirtError: operation failed: domain 'debian-8-dvm' already exists 
> with uuid 603478e2-2d9f-4b27-c052-2910eaf6819b8


See if you already have a `debian-8-dvm` vm running (just with no
windows visible).

You can enable "View->Show/Hide Internal VMs" (internal, not just
inactive) in qubes-manager to see it if so.

(or use qvm-ls & qvm-shutdown)

-- 
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/CABQWM_C1i%2BgZe70MPG7BQO-Ew2NbzxMDZ9ZUmr9i%2Bk1Q8S2OZQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] disp-vms were great - if they worked.

2017-03-13 Thread haaber
The DispVM's make me crazy. Last week (with your generous help) finally
dispVM with debian template worked. Now --without any change that I am
aware of-- it does again not.  I tried to start it within dom0 - that
way I get a max of error messages. ("the DVM savefile creation failed"
is kind of unspecific).


[me@dom0 ~]$ echo xterm | /usr/lib/qubes/qfile-daemon-dvm qubes.VMShell
dom0 DEFAULT red
time=1489389887.32, qfile-daemon-dvm init
time=1489389887.32, creating DispVM
Can't get domid of domain name 'debian-8', maybe this domain does not exist.
--> Creating volatile image:
/var/lib/qubes/appvms/debian-8-dvm/volatile.img...
--> Loading the VM (type = AppVM)...
Traceback (most recent call last):
  File "/usr/bin/qvm-start", line 136, in 
main()
  File "/usr/bin/qvm-start", line 120, in main
xid = vm.start(verbose=options.verbose,
preparing_dvm=options.preparing_dvm, start_guid=not options.noguid,
notify_function=tray_notify_generic if options.tray else None)
  File "/usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py",
line 1942, in start
self._update_libvirt_domain()
  File "/usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py",
line 755, in _update_libvirt_domain
raise e
libvirt.libvirtError: operation failed: domain 'debian-8-dvm' already
exists with uuid 603478e2-2d9f-4b27-c052-2910eaf6819b8


So, once again, it is libvirt / virsh. But what is it this time?? Sigh
of despair! Thank you for helping once more.

Bernhard

-- 
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/174c98aa-a590-fd89-553c-8a2b58cb6d30%40web.de.
For more options, visit https://groups.google.com/d/optout.