<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 02/16/2012 09:52 PM, Bo Bo wrote:
    <blockquote
      cite="mid:1329400362.78153.YahooMailNeo@web112305.mail.gq1.yahoo.com"
      type="cite">
      <div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
        255); font-family: times new roman,new york,times,serif;
        font-size: 12pt;">
        <div>Hello group.</div>
        <div><br>
        </div>
        <div>This is my first post here so first of all I'd like to
          greet everybody reading this group.</div>
        <div><br>
        </div>
        <div>Secondly, I have a problem with libvirt used from a perl
          script. I would like to undefine a domain and afterwards
          delete the volume that had been attached to the domain as a
          disk. The volume is a qcow2 file and is placed in a 'dir' type
          pool. I succeed in undefining the domain but trying to delete
          a volume using $vol->delete() crashes the libvirtd. The
          script catches an exception: <br>
        </div>
      </div>
    </blockquote>
    Hi Bogdan,<br>
    The libvirtd works well after using $vol->delete() to delete a
    volume for me,  so I want to know your<br>
    environment such as libvirt, perl-Sys-Virt version and os platform
    etc.<br>
    <br>
    Regards,<br>
    Alex<br>
    <blockquote
      cite="mid:1329400362.78153.YahooMailNeo@web112305.mail.gq1.yahoo.com"
      type="cite">
      <div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
        255); font-family: times new roman,new york,times,serif;
        font-size: 12pt;">
        <div><br>
        </div>
        <div>libvirt error code: 38, message: server closed connection <br>
        </div>
        <div><br>
        </div>
        <div>and the init process echoes an entry to the log:</div>
        <div><br>
        </div>
        <div>init: libvirt-bin main process (6999) killed by ABRT signal</div>
        <div><br>
        </div>
        <div>When I try to list volumes afterwards using virsh, I see
          that not only the volume, but also the pool are missing.
          Moreover the pool that holds a backing storage for the qcow2
          file is also missing. It seems that the delete operation
          actualy succeeds because the file gets deleted from disk as
          well. Fortunately the backing storage file is still present on
          the disk although its  pool in virsh disappears.</div>
        <div><br>
        </div>
        <div>Has anybody come across a similar problem before? Any help
          is highly appreciated.</div>
        <div><br>
        </div>
        <div>Best regards</div>
        <div>Bogdan Katynski</div>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>