[libvirt] W/ commit 9e159b5: error from service: CreateMachine: Machine 'qemu-foo' already exists

Guido Günther agx at sigxcpu.org
Mon Sep 29 06:17:11 UTC 2014


On Mon, Sep 29, 2014 at 07:12:29AM +0530, Kashyap Chamarthy wrote:
> Applied it:
> 
>     $ git log | head -5
>     commit da0a33c3f286ff69b910bc2a84e9ec3a844e3ce8
>     Author: Guido Günther <agx at sigxcpu.org>
>     Date:   Thu Sep 25 14:30:42 2014 +0200
>     
>         qemu: use systemd's TerminateMachine to kill all processes
> 
> And tested (by building RPMs, restarting libvirtd and attempting to
> start the guest again, still no luck:
> 
>     $ sudo systemctl restart libvirtd
>     $ sudo systemctl daemon-reload

Did you reboot in between? The patch fixes the _stopping_ of the
vm. Once the vm is in the state you describe the patch won't help.

An alternative to rebooting is to remove related processes manually, see:

 http://bugs.debian.org/761521

Cheers,
 -- Guido

> 
>     $ virsh start ostack-controller
>     error: Failed to start domain ostack-controller
>     error: error from service: CreateMachine: Machine 'qemu-ostack-controller' already exists
>  
> That's the version of systemd I'm using: systemd-210-7.fc21.x86_64. 
> 
> -- 
> /kashyap
> 




More information about the libvir-list mailing list