How to Config Openvswitch in Hosted-Engine environment(ALL IN ONE) when using Neutron?

--_000_EE4D679B9474414187D2E27D8B6890F69587E0G08CNEXMBPEKD03g0_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 SEksIEFMTA0KQXMgeW91IG1heSBrbm93LCB3ZSBjYW4gdXNlIG5ldXRyb24gc2VydmljZSBpbiBv VmlydC4gQW5kIGluIGEgbm9ybWFsIG9WaXJ0IGVudmlyb25tZW50LCBXaGVuIGFkZGluZyBhIEhv c3QsIE9wZW5zd2l0Y2ggYW5kIFJhYmJpdE1RIGFuZCBzbyBvbiAoU2V0IE5ldHdvcmsgcHJvdmlk ZXIgaW4gIk5ldyBIb3N0cyIgd2luZG93IGluIEFkbWluIFBvcnRhbCkgd2lsbCBiZSBjb25maWd1 cmUgYXV0b21hdGljYWxseSBpbiB0aGUgaG9zdC4NCkJ1dCBpbiBhbiBIRSBlbnZpcm9ubWVudCwg d2UgZG8gbm90IGFkZCBob3N0IGluIEFkbWluIFBvcnRhbChidXQgImhvc3RlZC1lbmdpbmUgLS1k ZXBsb3kiIGNvbW1hbmQgKSwgYW5kIGkgdGhpbmsgaG9zdCB3aWxsIG5vdCBiZSBjb25maWd1cmUg YXV0b21hdGljYWxseS4gU28gYW55Ym9keSBrbm93IGhvdyB0byB1c2UgaXQgKG5ldXRyb24gZnJv bSBhbGwgaW4gb25lIE9TUCApPw0KDQo= --_000_EE4D679B9474414187D2E27D8B6890F69587E0G08CNEXMBPEKD03g0_ Content-Type: text/html; charset="gb2312" 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=3Dgb2312"> <meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:=CB=CE=CC=E5; panose-1:2 1 6 0 3 1 1 1 1 1;} @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;} @font-face {font-family:"\@=CB=CE=CC=E5"; panose-1:2 1 6 0 3 1 1 1 1 1;} @font-face {font-family:"MS Sans Serif"; panose-1:0 0 0 0 0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; font-size:10.5pt; 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 Definitions */ @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.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"ZH-CN" link=3D"blue" vlink=3D"purple" style=3D"text-justify-t= rim:punctuation"> <div class=3D"WordSection1"> <p class=3D"MsoNormal" align=3D"left" style=3D"text-align:left"><span lang= =3D"EN-US" style=3D"font-size:9.0pt;font-family:"MS Sans Serif",&= quot;serif";color:black">HI, ALL <br> As you may know, we can use neutron service in oVirt. And in a normal oVirt= environment, When adding a Host, Openswitch and RabbitMQ and so on (Set Ne= twork provider in "New Hosts" window in Admin Portal) will be con= figure automatically in the host.<br> But in an HE environment, we do not add host in Admin Portal(but "host= ed-engine --deploy" command ), and i think host will not be configure = automatically. So anybody know how to use it (neutron from all in one OSP )= ?</span><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-family:=CB=CE= =CC=E5"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> </div> </body> </html> --_000_EE4D679B9474414187D2E27D8B6890F69587E0G08CNEXMBPEKD03g0_--

Hello, You're right. It might be something we should consider adding in the hosted engine script - maybe a flag to also install the Neutron agent packages?... For now, there should be an easy workaround as long as you have more than one host in your deployment. You could put one host in maintenance, reinstall it from the webadmin console while specifying an external provider, then once that's done do the same for the other host(s). Yours, Lior. On 30/03/15 06:49, Xie, Chao wrote:
HI, ALL As you may know, we can use neutron service in oVirt. And in a normal oVirt environment, When adding a Host, Openswitch and RabbitMQ and so on (Set Network provider in "New Hosts" window in Admin Portal) will be configure automatically in the host. But in an HE environment, we do not add host in Admin Portal(but "hosted-engine --deploy" command ), and i think host will not be configure automatically. So anybody know how to use it (neutron from all in one OSP )?
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi, Lior, On 03/30/2015 04:01 PM, Lior Vernia wrote:
Hello,
You're right. It might be something we should consider adding in the hosted engine script - maybe a flag to also install the Neutron agent packages?...
For now, there should be an easy workaround as long as you have more than one host in your deployment. You could put one host in maintenance, reinstall it from the webadmin console while specifying an external provider, then once that's done do the same for the other host(s). Thank you for telling us such a method.
First, I made an OSP5 using packstack with a default answerfile. and I found neutron is vxlan mode. Then, we reinstalled the host, and we tried to config the plugin.ini file, however we did not find br-tun in my host. How do slove it, create br-tun manually(then what?) or others? any idea? #----------------------------------------------------------------------------- # Sample Configurations. #----------------------------------------------------------------------------- ... snip ... # # 3. With VXLAN tunneling. # [ovs] # network_vlan_ranges = # tenant_network_type = vxlan # tunnel_type = vxlan # tunnel_id_ranges = 1:1000 # integration_bridge = br-int # tunnel_bridge = br-tun # local_ip = 10.0.0.3 # [agent] # tunnel_types = vxlan # ip addr | grep br-int 17: br-int: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN # ip addr | grep br-tun Regards, Jian
Yours, Lior.
On 30/03/15 06:49, Xie, Chao wrote:
HI, ALL As you may know, we can use neutron service in oVirt. And in a normal oVirt environment, When adding a Host, Openswitch and RabbitMQ and so on (Set Network provider in "New Hosts" window in Admin Portal) will be configure automatically in the host. But in an HE environment, we do not add host in Admin Portal(but "hosted-engine --deploy" command ), and i think host will not be configure automatically. So anybody know how to use it (neutron from all in one OSP )?
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (3)
-
Lior Vernia
-
Xie, Chao
-
zhangjian2011