<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">Hey Martin,<br>
      <br>
      Thanks for suggestions. Checked the details from [1] and seems to
      be as it should.<br>
      <br>
      libvirt.log shows:<br>
      <br>
      2013-10-16 19:48:08.121+0000: 8722: error : qemuMonitorIORead:522
      : Unable to read from monitor: Connection reset by peer<br>
      <br>
      and /var/log/libvirt/qemu/one-172.log shows:<br>
      <br>
      2013-10-16 19:47:54.709+0000: starting up<br>
      LC_ALL=C <br>
      PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
      <br>
      HOME=/root <br>
      USER=root <br>
      LOGNAME=root <br>
      QEMU_AUDIO_DRV=none /usr/bin/kvm -S -M pc-1.1 -enable-kvm -m 512
      -smp 1,<br>
      sockets=1,<br>
      cores=1,<br>
      threads=1 -name one-172 -uuid 9aa233d8-51c5-f8ea-39a4-62fe7c3e71de
      -no-user-config -nodefaults -chardev socket,<br>
      id=charmonitor,<br>
      path=/var/lib/libvirt/qemu/one-172.monitor,<br>
      server,<br>
      nowait -mon chardev=charmonitor,<br>
      id=monitor,<br>
      mode=control -rtc base=utc -no-shutdown -device piix3-usb-uhci,<br>
      id=usb,<br>
      bus=pci.0,<br>
      addr=0x1.0x2 -drive file=/var/lib/one//datastores/0/172/disk.0,<br>
      if=none,<br>
      id=drive-virtio-disk0,<br>
      format=qcow2,<br>
      cache=none -device virtio-blk-pci,scsi=off,<br>
      bus=pci.0,<br>
      addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,<br>
      bootindex=1 -drive file=/var/lib/one//datastores/0/172/disk.2,<br>
      if=none,<br>
      id=drive-ide0-0-0,<br>
      readonly=on,<br>
      format=raw -device ide-cd,<br>
      bus=ide.0,<br>
      unit=0,<br>
      drive=drive-ide0-0-0,<br>
      id=ide0-0-0 -drive file=/var/lib/one//datastores/0/172/disk.1,<br>
      if=none,<br>
      id=drive-ide0-0-1,<br>
      format=raw,<br>
      cache=none -device ide-hd,<br>
      bus=ide.0,<br>
      unit=1,<br>
      drive=drive-ide0-0-1,<br>
      id=ide0-0-1 -netdev tap,<br>
      fd=34,<br>
      id=hostnet0 -device rtl8139,<br>
      netdev=hostnet0,<br>
      id=net0,<br>
      mac=02:00:0a:c2:00:05,<br>
      bus=pci.0,<br>
      addr=0x3 -vnc 10.255.254.2:172 -vga cirrus -device
      virtio-balloon-pci,<br>
      id=balloon0,<br>
      bus=pci.0,<br>
      addr=0x5<br>
      kvm: -drive file=/var/lib/one//datastores/0/172/disk.0,<br>
      if=none,<br>
      id=drive-virtio-disk0,<br>
      format=qcow2,<br>
      cache=none: could not open disk image
      /var/lib/one//datastores/0/172/disk.0: Invalid argument<br>
      2013-10-16 19:48:08.122+0000: shutting down<br>
      <br>
      Have no idea what next. :-/<br>
      <br>
      <br>
      On 10/16/2013 04:49 PM, Carlos Martín Sánchez wrote:<br>
    </div>
    <blockquote
cite="mid:CAEPYvFJHkR1Mog7Yg8kfPWOBzacTw2L=v4z9uLGhbS9EpFu74A@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>First make sure the required configuration [1] is in place.</div>
        <div>Then take a look at the libvirt log files, they may contain
          more information: /var/log/libvirt/libvirtd.log and
          /var/log/libvirt/qemu/one-<id>.log</div>
        <div><br>
        </div>
        <div>Regards</div>
        <div><br>
        </div>
        <div>[1] <a moz-do-not-send="true"
            href="http://opennebula.org/documentation:rel4.2:kvmg#configuration"
            target="_blank">http://opennebula.org/documentation:rel4.2:kvmg#configuration</a><br>
        </div>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div dir="ltr">--<br>
            <div>Carlos Martín, MSc<br>
              Project Engineer</div>
            <div>OpenNebula - Flexible Enterprise Cloud Made Simple<br>
              <div><span
style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a
                    moz-do-not-send="true"
                    href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a>
                  | <a moz-do-not-send="true"
                    href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>
                  | <a moz-do-not-send="true"
                    href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span
style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"></span></div>
            </div>
          </div>
        </div>
        <br>
        <br>
        <div class="gmail_quote">On Tue, Oct 15, 2013 at 7:58 PM, Marius
          Corici <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:marius@corici.ro" target="_blank">marius@corici.ro</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Hi everybody,<br>
              <br>
              I'm new here and you're my "The Last Stand" solution.
              What's the story:<br>
              <br>
              When I try to create a VM from my app, I receive this
              error:<br>
              <br>
              <br>
              <blockquote>Tue Oct 15 16:00:22 2013 [DiM][I]: New VM
                state is ACTIVE.<br>
                Tue Oct 15 16:00:22 2013 [LCM][I]: New VM state is
                PROLOG.<br>
                Tue Oct 15 16:00:25 2013 [LCM][I]: New VM state is BOOT<br>
                Tue Oct 15 16:00:25 2013 [VMM][I]: Generating deployment
                file: /var/lib/one/vms/169/deployment.0<br>
                Tue Oct 15 16:00:25 2013 [VMM][I]: ExitCode: 0<br>
                Tue Oct 15 16:00:25 2013 [VMM][I]: Successfully execute
                network driver operation: pre.<br>
                Tue Oct 15 16:00:38 2013 [VMM][I]: Command execution
                fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy
                '/var/lib/one//datastores/0/169/deployment.0' '<a
                  moz-do-not-send="true" href="http://domain.com"
                  target="_blank">domain.com</a>' 169 <a
                  moz-do-not-send="true" href="http://domain.com"
                  target="_blank">domain.com</a><br>
                Tue Oct 15 16:00:38 2013 [VMM][I]: error: Failed to
                create domain from
                /var/lib/one//datastores/0/169/deployment.0<br>
                Tue Oct 15 16:00:38 2013 [VMM][I]: error: Unable to read
                from monitor: Connection reset by peer<br>
                <span>Tue Oct 15 16:00:38 2013 [VMM][E]: Could not
                  create domain from
                  /var/lib/one//datastores/0/169/deployment.0</span><br>
                Tue Oct 15 16:00:38 2013 [VMM][I]: ExitCode: 255<br>
                Tue Oct 15 16:00:38 2013 [VMM][I]: Failed to execute
                virtualization driver operation: deploy.<br>
                <span>Tue Oct 15 16:00:38 2013 [VMM][E]: Error deploying
                  virtual machine: Could not create domain from
                  /var/lib/one//datastores/0/169/deployment.0</span><br>
                Tue Oct 15 16:00:41 2013 [DiM][I]: New VM state is
                FAILED<br>
                <br>
              </blockquote>
              I have OpenNebula 4.2 on Debian, and I don't know where
              else to look for an answer. <br>
              <br>
              Thank you<span class="HOEnZb"><font color="#888888"><br>
                  <br>
                  Marius<br>
                </font></span></div>
            <br>
            _______________________________________________<br>
            Users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org"
              target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>