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/
Home Products Support Community News


[Xen-bugs] [Bug 669] New: routing not set with network-route / vif-route

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 669] New: routing not set with network-route / vif-route
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Fri, 09 Jun 2006 05:31:05 -0700
Delivery-date: Fri, 09 Jun 2006 05:32:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx

           Summary: routing not set with network-route / vif-route
           Product: Xen
           Version: 3.0.2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Unspecified
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: mangoo@xxxxxxxx

When using network-route / vif-route, routing is set, but is lost short after.

This can be easily reproduced by setting the interpreter to /bin/bash -x at the
beginning of vif-route script.

When you start a domain, you will see in /var/log/xen-hotplug.log that the
routing was set for the domain:

+ ip route add dev vif14.0 src
+ log debug 'Successful vif-route online for vif14.0.'

However, the routing is lost for some reason few seconds later (when you do
"route", you will not see a new route).

This is confirmed in /var/log/xen-hotplug.log when you shutdown that domain:

+ ip route del dev vif14.0 src
Cannot find device "vif14.0"
++ sigerr
++ fatal '/etc/xen/scripts/vif-route failed; error detected.'
++ xenstore_write backend/vif/14/0/hotplug-status error
++ log debug 'Writing backend/vif/14/0/hotplug-status' 'error to xenstore.'

Sometimes, the routing is set properly (not lost) though.

Configure bugmail: 
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Xen-bugs mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 669] New: routing not set with network-route / vif-route, bugzilla-daemon <=