[Engine-devel] Host Network status isn't being updated

Dan Kenigsberg danken at redhat.com
Fri May 25 08:27:03 UTC 2012


On Thu, May 24, 2012 at 06:54:46PM +0300, Moti Asayag wrote:
> On 05/24/2012 06:24 PM, Itzik Brown wrote:
> > Hi,
> > 
> >  
> > 
> > I add a network using ovirt-engine:
> > 
> > Adding a network to a data center then attaching the network to a
> > cluster(Non required network).
> > 
> >  
> > 
> > Then I do the following on the host (running vdsm):
> > 
> > #brctl addbr mynetwork
> > 
> > #brctl addif mynetwork eth3
> > 
> >  
> > 
> > The refresh rate as indicated by ovirt-engine GUI is 5 seconds.
> > 
> > I don't see that the network is attached to the interface until I
> > manually restart vdsm.
> > 
> >  
> > 
> > Any suggestion?
> > 
> 
> The network interfaces are being refreshed on ovirt-engine side by the
> GetCapabilitiesVDSCommand. It is being triggered either by activating a
> host, or if the host status is other than: Up, PreparingForMaintenance,
> Error or NonOperational.
> 
> The easiest way to refresh the new network on ovirt-engine is moving the
> host to maintenance and activating it.
> 
> We're missing the functionality of refreshing the Host information on
> the fly, specifically network entities.

How difficult would it be to add a call to getVdsCaps when getVdsStats
return statistics for a yet-unknown network?

> 
> It is also mentioned on the thread which deals on network features:
> http://lists.ovirt.org/pipermail/engine-devel/2012-May/001707.html
> 
> >  
> > 
> > Thanks,
> > 
> > Itzik
> > 
> > 
> > 
> > _______________________________________________
> > Engine-devel mailing list
> > Engine-devel at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/engine-devel
> 
> _______________________________________________
> Engine-devel mailing list
> Engine-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel



More information about the Devel mailing list