Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-users

Re: [Xen-users] Problem with reboot of domU's

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Problem with reboot of domU's
From: Florian Kirstein <xenlist@xxxxxxxxxxxxxx>
Date: Thu, 30 Mar 2006 17:18:57 +0200
Cc: Jan-Petter Kruger <jpk@xxxxxxxxxxxxxx>
Delivery-date: Thu, 30 Mar 2006 15:20:41 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <442BCF6E.6020907@xxxxxxxxxxxxxx>; from jpk@xxxxxxxxxxxxxx on Thu, Mar 30, 2006 at 02:30:38PM +0200
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: <442BCF6E.6020907@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.2.5.1i
Hi,

> But, I have a problem with rebooting domU's. Here is the output
> from /var/log/xend.log
>     back['ip'] = ' '.join(ipaddr)
> TypeError: sequence item 0: expected string, list found
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 :)

(:ul8er, r@y

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

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