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

Kashyap Chamarthy kchamart at redhat.com
Mon Sep 29 01:42:29 UTC 2014


On Sun, Sep 28, 2014 at 10:57:11AM +0200, Guido Günther wrote:
> On Sat, Sep 27, 2014 at 08:29:28PM +0530, Kashyap Chamarthy wrote:
> > On Fedora 20 with:
> > 
> >     libvirt RPMs built from git commit: 9e159b521dbf18c6da6976e54e29c8553f831eb6
> >     qemu-2.1.1-1.fc22.x86_64
> > 
> > Just start a guest:
> > -----
> > $ virsh start ostack-controller
> > error: Failed to start domain ostack-controller
> > error: error from service: CreateMachine: Machine 'qemu-ostack-controller' already exists
> > -----
> > 

[. . .]

> Could you check if the patch from 
> 
>     https://www.redhat.com/archives/libvir-list/2014-September/msg01549.html
> 
> helps?

Just tested with the above patch - it doesn't seem to help.

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

    $ 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