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-bugs

[Xen-bugs] [Bug 507] New: Minus sign in vifname=vif-foo breaks domU rebo

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 507] New: Minus sign in vifname=vif-foo breaks domU reboots
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Wed, 01 Feb 2006 14:09:03 +0000
Delivery-date: Wed, 01 Feb 2006 14:27:09 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=507

           Summary: Minus sign in vifname=vif-foo breaks domU reboots
           Product: Xen
           Version: 3.0.1
          Platform: All
               URL: http://www.BudgetDedicated.com/
        OS/Version: Linux-2.6
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: xen-bugzilla@xxxxxxxxxxxxxxxxxxx


Starting a domU with "vif = [ 'vifname=vif-foo' ] in the configuration works
fine, however the automatic restart (enabled via restart = 'always', etc) will 
fail.

The minus sign seems to be responsible, and the python layer appears to handle
it incorrectly. Using vif_foo works fine.

I found this traceback in the xend.log:
Traceback (most recent call last):
  File
"/local/scratch/xenod/cron-build/xen-3.0.1-x86_32.u24846.dir/xen-3.0.1.hg/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
line 1433, in restart
  File
"/local/scratch/xenod/cron-build/xen-3.0.1-x86_32.u24846.dir/xen-3.0.1.hg/dist/install/usr/lib/python/xen/xend/XendDomain.py",
line 226, in domain_create
  File
"/local/scratch/xenod/cron-build/xen-3.0.1-x86_32.u24846.dir/xen-3.0.1.hg/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
line 182, in create
  File
"/local/scratch/xenod/cron-build/xen-3.0.1-x86_32.u24846.dir/xen-3.0.1.hg/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
line 1199, in initDomain
  File
"/local/scratch/xenod/cron-build/xen-3.0.1-x86_32.u24846.dir/xen-3.0.1.hg/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
line 1338, in createDevices
  File
"/local/scratch/xenod/cron-build/xen-3.0.1-x86_32.u24846.dir/xen-3.0.1.hg/dist/install/usr/lib/python/xen/xend/XendDomainInfo.py",
line 975, in createDevice
  File
"/local/scratch/xenod/cron-build/xen-3.0.1-x86_32.u24846.dir/xen-3.0.1.hg/dist/install/usr/lib/python/xen/xend/server/DevController.py",
line 80, in createDevice
  File
"/local/scratch/xenod/cron-build/xen-3.0.1-x86_32.u24846.dir/xen-3.0.1.hg/dist/install/usr/lib/python/xen/xend/server/netif.py",
line 91, in getDeviceDetails
TypeError: sequence item 0: expected string, list found

Erik de Bruijn
www.BudgetDedicated.com

-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 507] New: Minus sign in vifname=vif-foo breaks domU reboots, bugzilla-daemon <=