<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 06/18/2014 04:43 PM, abhishek jain
      wrote:<br>
    </div>
    <blockquote
cite="mid:CA+9-Lvv+_jvzEXQVRVAjEjDuw1==7zUAWvQ4qdJwGE9fO0Tq6A@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hi <br>
          <br>
        </div>
        <div>I'm trying to run VM using libvirt.xml file and getting
          following error...<br>
          <br>
        </div>
        <div>virsh start instance-00000003
        </div>
        <div><br>
          error: Failed to start domain instance-00000003
          <br>
          error: internal error Process exited while reading console log
          output: failed to launch bridge helper
          <br>
          kvm: -netdev bridge,br=qbr1f2191ce-38,id=hostnet0: Device
          'bridge' could not be initialized<br>
        </div>
      </div>
    </blockquote>
    <br>
    1) The qemu "bridge helper" is only used if you are running virsh as
    a non-privileged user (i.e. non-root). Are you sure that's what you
    want to do? If that really is the proper thing to do, the bridge
    device would need to exist in advance of starting the domain, and
    you would have to read up on the qemu bridge helper to learn how to
    setup ACLs such that the uid you are using to start the domain have
    permission to use the bridge helper (not using it myself, I don't
    have a pointer to that info handy, but Google is your friend :-)<br>
    <br>
    2) it looks like this config was generated by OpenStack. Why are you
    starting it via virsh? I don't use OpenStack myself, but am assuming
    that a lot of the objects referenced in an OpenStack-generated
    libvirt domain config are auto-created by some piece of OpenStack
    code just prior to starting the domain. For example, the bridge
    device (there is a separate bridge device created per guest
    interface) and the filter that is applied to that interface
    (likewise). I was of the impression that OpenStack instances needed
    to be started from some sort of OpenStack management app, *not* from
    virsh.<br>
    <br>
    <blockquote
cite="mid:CA+9-Lvv+_jvzEXQVRVAjEjDuw1==7zUAWvQ4qdJwGE9fO0Tq6A@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div><br>
          <br>
        </div>
        <div>Below is the libvirt.xml file..<br>
          <br>
          domain type="kvm">
          <br>
           
          <uuid>d9f007b9-584f-41c8-a706-e096f354575b</uuid>
          <br>
            <name>instance-00000003</name>
          <br>
            <memory>524288</memory>
          <br>
            <vcpu>1</vcpu>
          <br>
            <os>
          <br>
              <type>hvm</type>
          <br>
             
<kernel>/opt/stack/data/nova/instances/d9f007b9-584f-41c8-a706-e096f354575b/kernel</kernel><br>
             
<initrd>/opt/stack/data/nova/instances/d9f007b9-584f-41c8-a706-e096f354575b/ramdisk</initrd><br>
              <cmdline>root=/dev/vda console=tty0
          console=ttyS0</cmdline>
          <br>
            </os>
          <br>
            <features>
          <br>
              <acpi/>
          <br>
              <apic/>
          <br>
            </features>
          <br>
            <clock offset="utc">
          <br>
              <timer name="pit" tickpolicy="delay"/>
          <br>
              <timer name="rtc" tickpolicy="catchup"/>
          <br>
            </clock>
          <br>
            <devices>
          <br>
              <disk type="file" device="disk">
          <br>
                <driver name="qemu" type="qcow2" cache="none"/>
          <br>
                <source
file="/opt/stack/data/nova/instances/d9f007b9-584f-41c8-a706-e096f354575b/disk"/><br>
                <target bus="virtio" dev="vda"/>
          <br>
              </disk>
          <br>
              <interface type="bridge">
          <br>
                <mac address="fa:16:3e:26:55:ff"/>
          <br>
                <model type="virtio"/>
          <br>
                <source bridge="qbr1f2191ce-38"/>
          <br>
                <target dev="tap1f2191ce-38"/>
          <br>
                <filterref
          filter="nova-instance-instance-00000003-fa163e2655ff"/>
          <br>
              </interface>
          <br>
              <serial type="file">
          <br>
                <source
path="/opt/stack/data/nova/instances/d9f007b9-584f-41c8-a706-e096f354575b/console.log"/><br>
              </serial>
          <br>
              <serial type="pty"/>
          <br>
            </devices>
          <br>
          </domain><br>
          <br>
          <br>
        </div>
        <div>Please help regarding this.<br>
        </div>
        <div><br>
        </div>
        <div>Thanks<br>
        </div>
        <div>Abhishek Jain<br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
libvirt-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:libvirt-users@redhat.com">libvirt-users@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/libvirt-users">https://www.redhat.com/mailman/listinfo/libvirt-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>