 
	
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] error with vif parameter
 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
 | 
|  | Lists.xenproject.org is hosted with RackSpace, monitoring our |