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: Todd Deshane <todd.deshane@xxxxxxx>
Subject: Re: [Xen-users] virt-install error
From: Paras pradhan <pradhanparas@xxxxxxxxx>
Date: Tue, 30 Aug 2011 10:25:40 -0500
Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 30 Aug 2011 08:26:25 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=1WhZByIHhxJDtAj2N7TLnsmC1m3qQZIedotMLuG1LsE=; b=xtHHWiMsweGCUgxHP/rWjH1EHvy/hD3hiJKH3vXVBVNyKxC9A7g7GMsGD++GMFxBqS kXPW23aJvQcqAfi6Q1vuNorN4mfwdVgIfqmrPnJld8HWDqGlaJF0mFNB7+mzBU/5+NCD YZKYDCeRNbc3paWNgYYB3mO3tHh2VYKd0R2nQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CADyt5gkwcDp-HgkY3k41-XjmoG405BdGVFkG=sm6OpZegjgcWw@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> <CAMrPLWL_hKtodVHksxnejFnBt1K5xHhqc_GpLq+OEY9VUaQJLg@xxxxxxxxxxxxxx> <CADyt5gkwcDp-HgkY3k41-XjmoG405BdGVFkG=sm6OpZegjgcWw@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

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