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

xen-users

[Top] [All Lists]

Re: [Xen-users] vif = [ 'ip=172.48.0.101' ] error on "xm reboot"

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] vif = [ 'ip=172.48.0.101' ] error on "xm reboot"
From: Jan-Petter Kruger <jpk@xxxxxxxxxxxxxx>
Date: 2006年4月01日 14:38:56 +0200
Delivery-date: 2006年4月01日 12:40:49 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20060401132754.d26e60b7.timo.benk@xxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20060401132754.d26e60b7.timo.benk@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5 (Windows/20051201)
This is the answer I got when asking the same question to the list just a couple of days ago :
This was a problem with the xend code to store the vif's ip information.
Use xen-unstable (which I'd currently reccoment, it's getting closer
to 3.0.2 every day ;) or just change the
 if ip:
 result.append( ...
code in
/usr/lib/python/xen/xend/server/netif.py (or your sourcetree)
to:
 if ip:
 for i in ip.split(" "):
 result.append(['ip', i])
(thats how unstable does it) or to:
 if ip:
 result.append(['ip', ip])
(thats an older fix which doesn't handle multiple IPs)
> vif = ['ip=192.168.1.12']
> Any ideas what might be wrong here ?
Nothing except your xen-version not liking IPs in a vif definition
on DomU reboot :)
Regards,
Jan-Petter
Hi,
i got the following error message in /var/log/xend.log when i try to reboot a running domU with "xm reboot".
Creating a new domU with the same domU.sxp works like expected, the
error occurs only on reboot.
Is this a bug or expected behaviour?
---<snip>---
[2006年04月01日 13:24:04 xend.XendDomainInfo] ERROR (XendDomainInfo:189)
Domain construction failed Traceback (most recent call last):
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 182, in
create vm.initDomain()
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1199, in
initDomain self.createDevices()
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1338, in
createDevices self.createDevice(n, c)
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 975, in
createDevice return self.getDeviceController(deviceClass).createDevice
(devconfig) File "/usr/lib/python/xen/xend/server/DevController.py",
line 80, in createDevice (devid, back, front) = self.getDeviceDetails
(config) File "/usr/lib/python/xen/xend/server/netif.py", line 91, in
getDeviceDetails back['ip'] = ' '.join(ipaddr)
TypeError: sequence item 0: expected string, list found
[2006年04月01日 13:24:04 xend.XendDomainInfo] DEBUG (XendDomainInfo:1272)
XendDomainInfo.destroy: domid=6 [2006年04月01日 13:24:04
xend.XendDomainInfo] DEBUG (XendDomainInfo:1280)
XendDomainInfo.destroyDomain(6) [2006年04月01日 13:24:04
xend.XendDomainInfo] ERROR (XendDomainInfo:1444) Failed to restart
domain 5. Traceback (most recent call last): File
"/usr/lib/python/xen/xend/XendDomainInfo.py", line 1433, in restart
new_dom = XendDomain.instance().domain_create(config) File
"/usr/lib/python/xen/xend/XendDomain.py", line 226, in domain_create
dominfo = XendDomainInfo.create(config) File
"/usr/lib/python/xen/xend/XendDomainInfo.py", line 182, in create
vm.initDomain() File "/usr/lib/python/xen/xend/XendDomainInfo.py",
line 1199, in initDomain self.createDevices() File
"/usr/lib/python/xen/xend/XendDomainInfo.py", line 1338, in
createDevices self.createDevice(n, c) File
"/usr/lib/python/xen/xend/XendDomainInfo.py", line 975, in
createDevice return self.getDeviceController(deviceClass).createDevice
(devconfig) File "/usr/lib/python/xen/xend/server/DevController.py",
line 80, in createDevice (devid, back, front) = self.getDeviceDetails
(config) File "/usr/lib/python/xen/xend/server/netif.py", line 91, in
getDeviceDetails back['ip'] = ' '.join(ipaddr) TypeError: sequence
item 0: expected string, list found
---<snap>---
Greetings,
-timo
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-users] vif-route/networking-route question , Timo Benk
Next by Date: Re: [Xen-users] DNAT TCP checksum error , jean-luc.voisin
Previous by Thread: [Xen-users] vif = [ 'ip=172.48.0.101' ] error on "xm reboot" , Timo Benk
Next by Thread: [Xen-users] vif-route/networking-route question , Timo Benk
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /