I found the solution but not sure why this is happening.
All of my domains are named (in /etc/xen) in format :
host.mydomain.com
I found that one domain has a format host.com . I changed this
filename to host.mydomain.com and my problem went away.
Do we need to follow some specific format for domain configuration file name?
Thanks
Paras.
On Tue, Aug 30, 2011 at 10:05 AM, Paras pradhan <pradhanparas@xxxxxxxxx> wrote:
> On Mon, Aug 29, 2011 at 8:45 PM, Todd Deshane <todd.deshane@xxxxxxx> wrote:
>> 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
>
> I don't think so. The same options work in other nodes with same
> version of libvirtd*
>
> I have posted this issue at libvirtd-users. Lets see how quick they reply :)
>
>>
>> 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
|