WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] virt-install error

To: Paras pradhan <pradhanparas@xxxxxxxxx>
Subject: Re: [Xen-users] virt-install error
From: Todd Deshane <todd.deshane@xxxxxxx>
Date: Mon, 29 Aug 2011 21:45:17 -0400
Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 29 Aug 2011 18:46:29 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=uySb5PsnJw3r8u1k3Jr1NH0nMt5RvKti0BQZzTsY7ts=; b=wkC+UMg+kY2rN1isJlCdwgJ/wjzZkIWFEoAnBm+gcWFe37AsyO04Q5a0QlK1M++mYY LmRQJUdgGZv3lviBOQHf26unblDghF0ug7wJOxtr7EOGwI909T41s+VgqjqnRVGiDGDx c9B+yoYY9rwCVlBi+mWODH1n0Jnd0vmHXNqrk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CADyt5gmQW8DWL+AzcA2G6SVGzqUrg79E+0sLEgKbzGBxLBRQDw@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <CADyt5gmQW8DWL+AzcA2G6SVGzqUrg79E+0sLEgKbzGBxLBRQDw@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Aug 29, 2011 at 6:10 PM, Paras pradhan <pradhanparas@xxxxxxxxx> wrote:
> Hi,
>
> In one of my nodes I am getting libvirt error.
>
> --
> ERROR    Unknown failure
> Traceback (most recent call last):
>  File "/usr/sbin/virt-install", line 895, in ?
>    main()
>  File "/usr/sbin/virt-install", line 677, in main
>    options.sparse, options.nodisks, guest, ishvm, conn)
>  File "/usr/sbin/virt-install", line 239, in get_disks
>    is_file_path), disk, size)
>  File "/usr/sbin/virt-install", line 239, in <lambda>
>    is_file_path), disk, size)
>  File "/usr/sbin/virt-install", line 202, in get_disk
>    d = cli.disk_prompt(None, kwargs)
>  File "/usr/lib/python2.4/site-packages/virtinst/cli.py", line 277,
> in disk_prompt
>    if dev.is_conflict_disk(conn) is True:
>  File "/usr/lib/python2.4/site-packages/virtinst/VirtualDisk.py",
> line 890, in is_conflict_disk
>    xml = vm.XMLDesc(0)
>  File "/usr/lib64/python2.4/site-packages/libvirt.py", line 247, in XMLDesc
>    if ret is None: raise libvirtError ('virDomainGetXMLDesc()
> failed', dom=self)

Based on the traceback it looks like it is either a strange XML error
or some sort of conflict with the disk.

These scripts are all python, so you could read them to track down the
issue a bit more. You may also want to check with the libvirt users
mailing list (https://www.redhat.com/mailman/listinfo/libvirt-users)
so see if they can more easily spot the issue.



> libvirtError: Unknown failure
> --
>
>
> command used:
>
> virt-install --nographics --paravirt --name dora --ram 2048 --file
> /dora.img --file-size 153 --location
> nfs://mydom:/distributions/redhat60/x86_64/ -x
> "ks=http://mydom/ks/redhat60-dora.ks ip=x.x.x.x netmask=255.255.255.0
> dns=x.x.x.x gateway=x.x.x.x" -b xenbr0
>
> Ideas?
>

I wonder if it is an issue with one or more of the options that you
pass to virt-install? Nothing is jumping out at me, but maybe someone
else on the list (or the libvirt list) will have more hints

Hope that helps.

Thanks,
Todd

-- 
Todd Deshane
http://www.linkedin.com/in/deshantm
http://www.xen.org/products/cloudxen.html
http://runningxen.com/

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>