[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] Error "Device 0 (vif) could not be connected"



Yes, I saw that problem and removing the vif line or changing it to vif0
fixed it for me.

Aravindh

> -----Original Message-----
> From: wei huang [mailto:huanwei@xxxxxxxxxxxxxxxxxx]
> Sent: Friday, November 04, 2005 12:14 PM
> To: Puthiyaparambil, Aravindh
> Cc: Mark Williamson; xen-users@xxxxxxxxxxxxxxxxxxx; ewan@xxxxxxxxxxxxx
> Subject: RE: [Xen-users] Error "Device 0 (vif) could not be connected"
> 
> Hi
> 
> Thank you for your suggestion.
> 
> I do have a vif line in my config:
> vif = [ 'mac=aa:00:00:00:01:05, bridge=xenbr0' ]
> 
> But unfortunately, I tried either change it to vif0 or remote it. I
get
> the same error:
> #c4xen# /etc/xen> sudo xm create -c as4_conf
> Using config file "as4_conf".
> Error: Error creating domain: Device 0 (vif) could not be connected.
> Backend device not found!
> 
> Do you see the same problem and you fix that in this way?
> 
> Thank you again!
> 
> Regards,
> Wei Huang
> 
> On Fri, 4 Nov 2005, Puthiyaparambil, Aravindh wrote:
> 
> > I think you have a line that say "vif=.." in your DomU config. Make
that
> > line vif0 or delete it. That should get you going. Though I am not
sure
> > if this is a bug.
> >
> > Cheers,
> > Aravindh
> >
> > > -----Original Message-----
> > > From: Mark Williamson [mailto:mark.williamson@xxxxxxxxxxxx]
> > > Sent: Friday, November 04, 2005 11:32 AM
> > > To: xen-users@xxxxxxxxxxxxxxxxxxx
> > > Cc: ewan@xxxxxxxxxxxxx; wei huang
> > > Subject: Re: [Xen-users] Error "Device 0 (vif) could not be
connected"
> > >
> > > I also saw this error (on yesterday's pull), haven't had to
diagnose
> > it
> > > yet.
> > >
> > > Apparently this message is something to do with Xend detecting a
> > failure /
> > > problem with the hotplug scripts...  Ewan (cc'ed) suggested I
check my
> > > hotplug / udev setup was working and that I look for
hotplug-related
> > > errors
> > > in the main syslog.
> > >
> > > HTH,
> > > Mark
> > >
> > > On Friday 04 November 2005 16:21, wei huang wrote:
> > > > Hi,
> > > >
> > > > I have a problem to start domU on my server.
> > > >
> > > > Everything upto "xm create" look normal. However, it pops up
saying
> > > > the above error message when I try to create domU.
> > > >
> > > > I verified that xend has started and vif device is created, here
is
> > the
> > > >
> > > > vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
> > > >           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> > > >           RX packets:11076 errors:0 dropped:0 overruns:0 frame:0
> > > >           TX packets:28742 errors:0 dropped:0 overruns:0
carrier:0
> > > >           collisions:0 txqueuelen:0
> > > >           RX bytes:2260133 (2.1 MiB)  TX bytes:28955962 (27.6
MiB)
> > '0',
> > > > 'script': '/etc/xen/scripts/vif-bridge', 'frontend-id': '6',
> > 'domain':
> > > > 'domu-as4-1', 'frontend': '/local/domain/6/device/vif/0'} to
> > > > /local/domain/0/backend/vif/6/0.
> > > > [2005-11-04 11:08:03 xend.XendDomainInfo] ERROR
(XendDomainInfo:158)
> > > > Domain construction failed
> > > > Traceback (most recent call last):
> > > >   File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 152,
in
> > create
> > > >     vm.initDomain()
> > > >   File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1109,
in
> > > > initDomain
> > > >     self.createDevices()
> > > >   File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1222,
in
> > > > createDevices
> > > >     self.createDevice(n, c)
> > > >   File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 893,
in
> > > > createDevice
> > > >     return
> > self.getDeviceController(deviceClass).createDevice(devconfig)
> > > >   File "/usr/lib/python/xen/xend/server/DevController.py", line
72,
> > in
> > > > createDevice
> > > >     raise VmError( ("Device %s (%s) could not be connected. "
> > > > VmError: Device 0 (vif) could not be connected. Backend device
not
> > > found!
> > > > [2005-11-04 11:08:03 xend.XendDomainInfo] DEBUG
> > (XendDomainInfo:1156)
> > > > XendDomainInfo.destroy: domid=6
> > > > [2005-11-04 11:08:03 xend.XendDomainInfo] DEBUG
> > (XendDomainInfo:1164)
> > > > XendDomainInfo.destroyDomain(6)
> > > > [2005-11-04 11:08:03 xend] ERROR (SrvBase:87) Request create
failed.
> > > > Traceback (most recent call last):
> > > >   File "/usr/lib/python/xen/web/SrvBase.py", line 85, in perform
> > > >     return op_method(op, req)
> > > >   File "/usr/lib/python/xen/xend/server/SrvDomainDir.py", line
82,
> > in
> > > > op_create
> > > >     raise XendError("Error creating domain: " + str(ex))
> > > > XendError: Error creating domain: Device 0 (vif) could not be
> > connected.
> > > > Backend device not found!
> > > >
> > > > Would you please instruct what might be the problem?
> > > >
> > > > Thanks
> > > >
> > > >
> > > > Regards,
> > > > Wei Huang
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Xen-users mailing list
> > > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > > http://lists.xensource.com/xen-users
> > >
> >
> >


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.