Re: [Engine-devel] Host Network status isn't being updated
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@ovirt.org > > http://lists.ovirt.org/mailman/listinfo/engine-devel > > ___ > Engine-devel mailing list > Engine-devel@ovirt.org > http://lists.ovirt.org/mailman/listinfo/engine-devel ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
Re: [Engine-devel] Host Network status isn't being updated
On 05/24/2012 10:09 PM, Itzik Brown wrote: > So what is the refresh rate for? The VdsRefreshRate configuration value holds the interval between refreshing data from the host (e.g. VM statuses) and verifying the host is responsive. > > From: Moti Asayag [masa...@redhat.com] > Sent: Thursday, May 24, 2012 6:54 PM > To: Itzik Brown > Cc: engine-devel@ovirt.org > Subject: Re: [Engine-devel] Host Network status isn't being updated > > 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. > > 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@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/engine-devel > > ___ > Engine-devel mailing list > Engine-devel@ovirt.org > http://lists.ovirt.org/mailman/listinfo/engine-devel ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
Re: [Engine-devel] Host Network status isn't being updated
So what is the refresh rate for? From: Moti Asayag [masa...@redhat.com] Sent: Thursday, May 24, 2012 6:54 PM To: Itzik Brown Cc: engine-devel@ovirt.org Subject: Re: [Engine-devel] Host Network status isn't being updated 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. 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@ovirt.org > http://lists.ovirt.org/mailman/listinfo/engine-devel ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
Re: [Engine-devel] Host Network status isn't being updated
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. 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@ovirt.org > http://lists.ovirt.org/mailman/listinfo/engine-devel ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
[Engine-devel] Host Network status isn't being updated
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? Thanks, Itzik ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel