[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] virt-install error

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=
> 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.


Todd Deshane

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.