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

[Xen-users] error with vif parameter

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] error with vif parameter
From: Tim Freeman <tfreeman@xxxxxxxxxxx>
Date: Fri, 30 Sep 2005 14:31:39 -0500
Delivery-date: Fri, 30 Sep 2005 19:29:25 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I'm finding I cannot use the vif parameter with 'bridge' only 

For example:

vif=bridge=xen-br2 


This errors out: 

[2005-09-30 14:23:55 xend] DEBUG (XendDomainInfo:1107) Creating vif dom=16 
vif=0 mac=None
[2005-09-30 14:23:55 xend] DEBUG (XendDomainInfo:665) Destroying vifs for 
domain 16
[2005-09-30 14:23:55 xend] DEBUG (XendDomainInfo:674) Destroying vbds for 
domain 16
[2005-09-30 14:23:55 xend] DEBUG (blkif:541) Destroying blkif domain=16
[2005-09-30 14:23:55 xend] DEBUG (blkif:397) Destroying vbd domain=16 idx=0
[2005-09-30 14:23:55 xend] DEBUG (XendDomainInfo:634) Closing console, domain 16
[2005-09-30 14:23:55 xend] DEBUG (XendDomainInfo:622) Closing channel to domain 
16
[2005-09-30 14:23:55 xend] ERROR (SrvBase:162) op=create: Error creating 
domain: invalid literal for int(): None
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvBase.py", line 107, 
in _perform
    val = op_method(op, req)
  File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDomainDir.py", line 
71, in op_create
    raise XendError("Error creating domain: " + str(ex))



>From the looks of it, this None seems to be the problem:

(device (vif (mac 'None') (bridge xen-br2)))

The 'xm help create' command suggests you can leave any of the vif subparameters
out to invoke the defaults, so this should work, right? 

When specifying the MAC address also, it works: 
vif=mac=00:11:22:33:44:55,bridge=xen-br2

Thanks,
Tim 


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] error with vif parameter, Tim Freeman <=