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

--_000_4488206DC085244C886DBC9E7038B68925186CD0mtrdag02mtlcom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I add a network using ovirt-engine: Adding a network to a data center then attaching the network to a cluster(N= on 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 --_000_4488206DC085244C886DBC9E7038B68925186CD0mtrdag02mtlcom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri","sans-serif";} @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3D"EN-US" link=3D"blue" vlink=3D"purple"> <div class=3D"WordSection1"> <p class=3D"MsoNormal">Hi,<o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">I add a network using ovirt-engine:<o:p></o:p></p> <p class=3D"MsoNormal">Adding a network to a data center then attaching the= network to a cluster(Non required network).<o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">Then I do the following on the host (running vdsm):<= o:p></o:p></p> <p class=3D"MsoNormal">#brctl addbr mynetwork<o:p></o:p></p> <p class=3D"MsoNormal">#brctl addif mynetwork eth3 <o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">The refresh rate as indicated by ovirt-engine GUI is= 5 seconds.<o:p></o:p></p> <p class=3D"MsoNormal">I don't see that the network is attached to the inte= rface until I manually restart vdsm.<o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">Any suggestion?<o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">Thanks,<o:p></o:p></p> <p class=3D"MsoNormal">Itzik<o:p></o:p></p> </div> </body> </html> --_000_4488206DC085244C886DBC9E7038B68925186CD0mtrdag02mtlcom_--

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

So what is the refresh rate for? ________________________________________ From: Moti Asayag [masayag@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

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 [masayag@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

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
participants (3)
-
Dan Kenigsberg
-
Itzik Brown
-
Moti Asayag