
--Apple-Mail=_34776E0A-9B01-4578-B615-B4F1A8FB865E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I=E2=80=99m having trouble with that plan and I=E2=80=99m not even = trying to put the ovirtmgmt bridge on an existing bond. I have a = pre-existing gluster setup with gluster running on a bonded interface. = The ovirtmgmt should go on a different interface, but even that fails on = the bond with the =E2=80=9Ctorn down manually=E2=80=9D statement. = Haven=E2=80=99t had much time to do more troubleshooting, but it=E2=80=99s= rather annoying.=20 I=E2=80=99d really prefer it if the installer would just deal with = existing network setups, I (presumably) know what I want there, = especially in the case of pre-existing gluster setups. -Darrell
On Nov 28, 2016, at 9:11 AM, Charles Kozler <ckozleriii@gmail.com> = wrote: =20 What happens when you configure the bond and then build the bridge = manually over the bond? oVirt installer should skip over it and not do = anything. Just make sure you have DEFROUTE set or routes configuration = file as you expect (this is what used to screw me up) =20 On Mon, Nov 28, 2016 at 10:06 AM, <joost@familiealbers.nl = <mailto:joost@familiealbers.nl>> wrote: Thanks for your responses but the ui is not an option for me as i am = dealing with loads of systems. in 3.5 ovirt used to just accept the bridge as it was and incorporate = it, i am just wondering if i am facing a bug or a feature at the moment. =20 =20 Charles Kozler schreef op 2016-11-28 15:48: Thats what I used to do as well then on oVirt 4 it started screwing with the the bond as well so I ended up just dumbing it down and figured using the UI after the fact would be OK. I cant remember exactly what would happen but it would be stupid little things like routing would break or something.=20 =20 On Mon, Nov 28, 2016 at 9:43 AM, Simone Tiraboschi <stirabos@redhat.com <mailto:stirabos@redhat.com> [8]> wrote: =20 On Mon, Nov 28, 2016 at 3:42 PM, Charles Kozler <ckozleriii@gmail.com <mailto:ckozleriii@gmail.com> [7]> wrote: =20 What Ive been doing since oVirt 4 is just configuring one NIC manually when I provision the server (eg: eth0, em1, etc) and then let oVirt do the bridge setup. Once the engine is up I login to the UI and I use it to bond the NICs in whatever fashion I need (LACP or active-backup). Any time I tried to configure ovirtmgmt manually it seemed to "annoy" the hosted-engine --deploy script =20 This is fine. Another thing you could do is manually creating the bond and then having hosted-engine-setup creating the management bridge over your bond. =20 =20 =20 On Mon, Nov 28, 2016 at 9:33 AM, Simone Tiraboschi <stirabos@redhat.com <mailto:stirabos@redhat.com> [6]> wrote: =20 On Mon, Nov 28, 2016 at 12:24 PM, <joost@familiealbers.nl = <mailto:joost@familiealbers.nl> [3]> wrote: =20 Hi All, =20 In our ovirt 3.5 setup. i have always setup the ovirtmgmt bridge manually . The bridge consisted of 2 nics =20 Id have /etc/vdsm/vdsm.conf list net_persist =3D ifcfg =20 =20 When i then deployed the host from the ovirt ui or api it would install and would display the network setup correctly in the ui. =20 On ovirt 4. (vdsm-4.18.15.3-1.el7.centos.x86_64) I seem unable to follow the same approach. =20 In the engine logs i get among other things =20 If the interface ovirtmgmt is a bridge, it should be torn-down manually. =20 the interface is indeed a bridge with two nics which i would like to keep this way. =20 On the host vdsm.log i get limited info, =20 when start a python terminal to obtain netinfo i get this =20 from vdsm.tool import unified_persistence unified_persistence.netswitch.netinfo() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/site-packages/vdsm/network/netswitch.py", line 298, in netinfo _netinfo =3D netinfo_get(compatibility=3Dcompatibility) File =20 =20 "/usr/lib/python2.7/site-packages/vdsm/network/netinfo/cache.py", line 109, in get return _get(vdsmnets) File =20 =20 "/usr/lib/python2.7/site-packages/vdsm/network/netinfo/cache.py", line 101, in _get report_network_qos(networking) File =20 "/usr/lib/python2.7/site-packages/vdsm/network/netinfo/qos.py", line 46, in report_network_qos iface, =3D host_ports ValueError: too many values to unpack =20 As it appears the line in question does not like to deal with a list of nics i think. but either way. =20 Is in ovirt 4 the ability to use the ovirtmgmt bridge with multiple nics removed? =20 But do you need a bridge or a bond? =20 =20 If so what can i do to stick to what we have done in the past. =20 Thanks. =20 _______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> [1] http://lists.ovirt.org/mailman/listinfo/users = <http://lists.ovirt.org/mailman/listinfo/users> [2] =20 _______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> [4] http://lists.ovirt.org/mailman/listinfo/users = <http://lists.ovirt.org/mailman/listinfo/users> [5] =20 =20 =20 Links: ------ [1] mailto:Users@ovirt.org <mailto:Users@ovirt.org> [2] http://lists.ovirt.org/mailman/listinfo/users = <http://lists.ovirt.org/mailman/listinfo/users> [3] mailto:joost@familiealbers.nl <mailto:joost@familiealbers.nl> [4] mailto:Users@ovirt.org <mailto:Users@ovirt.org> [5] http://lists.ovirt.org/mailman/listinfo/users = <http://lists.ovirt.org/mailman/listinfo/users> [6] mailto:stirabos@redhat.com <mailto:stirabos@redhat.com> [7] mailto:ckozleriii@gmail.com <mailto:ckozleriii@gmail.com> [8] mailto:stirabos@redhat.com <mailto:stirabos@redhat.com> =20 =20 _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--Apple-Mail=_34776E0A-9B01-4578-B615-B4F1A8FB865E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" = class=3D"">I=E2=80=99m having trouble with that plan and I=E2=80=99m not = even trying to put the ovirtmgmt bridge on an existing bond. I have a = pre-existing gluster setup with gluster running on a bonded interface. = The ovirtmgmt should go on a different interface, but even that fails on = the bond with the =E2=80=9Ctorn down manually=E2=80=9D statement. = Haven=E2=80=99t had much time to do more troubleshooting, but it=E2=80=99s= rather annoying. <div class=3D""><br class=3D""></div><div = class=3D"">I=E2=80=99d really prefer it if the installer would just deal = with existing network setups, I (presumably) know what I want there, = especially in the case of pre-existing gluster setups.</div><div = class=3D""><br class=3D""></div><div class=3D""> = -Darrell</div><div class=3D""><br class=3D""><div><blockquote = type=3D"cite" class=3D""><div class=3D"">On Nov 28, 2016, at 9:11 AM, = Charles Kozler <<a href=3D"mailto:ckozleriii@gmail.com" = class=3D"">ckozleriii@gmail.com</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" = class=3D"">What happens when you configure the bond and then build the = bridge manually over the bond? oVirt installer should skip over it and = not do anything. Just make sure you have DEFROUTE set or routes = configuration file as you expect (this is what used to screw me = up)</div><div class=3D"gmail_extra"><br class=3D""><div = class=3D"gmail_quote">On Mon, Nov 28, 2016 at 10:06 AM, <span dir=3D"ltr"= class=3D""><<a href=3D"mailto:joost@familiealbers.nl" = target=3D"_blank" class=3D"">joost@familiealbers.nl</a>></span> = wrote:<br class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 = 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for your = responses but the ui is not an option for me as i am dealing with loads = of systems.<br class=3D""> in 3.5 ovirt used to just accept the bridge as it was and incorporate = it, i am just wondering if i am facing a bug or a feature at the = moment.<br class=3D""> <br class=3D""> <br class=3D""> Charles Kozler schreef op 2016-11-28 15:48:<br class=3D""> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D""> Thats what I used to do as well then on oVirt 4 it started screwing<br = class=3D""> with the the bond as well so I ended up just dumbing it down and<br = class=3D""> figured using the UI after the fact would be OK. I cant remember<br = class=3D""> exactly what would happen but it would be stupid little things like<br = class=3D""> routing would break or something. <br class=3D""> <br class=3D""> On Mon, Nov 28, 2016 at 9:43 AM, Simone Tiraboschi<br class=3D""></span> <<a href=3D"mailto:stirabos@redhat.com" target=3D"_blank" = class=3D"">stirabos@redhat.com</a> [8]> wrote:<br class=3D""> <br class=3D""> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D""> On Mon, Nov 28, 2016 at 3:42 PM, Charles Kozler<br class=3D""></span> <<a href=3D"mailto:ckozleriii@gmail.com" target=3D"_blank" = class=3D"">ckozleriii@gmail.com</a> [7]> wrote:<br class=3D""> <br class=3D""> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex"> What Ive been doing since oVirt 4 is just configuring one NIC<span = class=3D""><br class=3D""> manually when I provision the server (eg: eth0, em1, etc) and then<br = class=3D""> let oVirt do the bridge setup. Once the engine is up I login to<br = class=3D""> the UI and I use it to bond the NICs in whatever fashion I need<br = class=3D""> (LACP or active-backup). Any time I tried to configure ovirtmgmt<br = class=3D""> manually it seemed to "annoy" the hosted-engine --deploy script<br = class=3D""> </span></blockquote><span class=3D""> <br class=3D""> This is fine.<br class=3D""> Another thing you could do is manually creating the bond and then<br = class=3D""> having hosted-engine-setup creating the management bridge over your<br = class=3D""> bond.<br class=3D""> <br class=3D""> <br class=3D""> <br class=3D""> </span><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D""> On Mon, Nov 28, 2016 at 9:33 AM, Simone Tiraboschi<br class=3D""></span> <<a href=3D"mailto:stirabos@redhat.com" target=3D"_blank" = class=3D"">stirabos@redhat.com</a> [6]> wrote:<br class=3D""> <br class=3D""> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex"> On Mon, Nov 28, 2016 at 12:24 PM, <<a = href=3D"mailto:joost@familiealbers.nl" target=3D"_blank" = class=3D"">joost@familiealbers.nl</a> [3]><br class=3D""> wrote:<br class=3D""> <br class=3D""> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D""> Hi All,<br class=3D""> <br class=3D""> In our ovirt 3.5 setup. i have always setup the ovirtmgmt<br class=3D""> bridge manually .<br class=3D""></span> The bridge consisted of 2 nics<br class=3D""> <br class=3D""> Id have /etc/vdsm/vdsm.conf list net_persist =3D ifcfg<div class=3D""><div= class=3D"h5"><br class=3D""> <br class=3D""> When i then deployed the host from the ovirt ui or api it<br class=3D""> would install and would display the network setup correctly in<br = class=3D""> the ui.<br class=3D""> <br class=3D""> On ovirt 4. (vdsm-4.18.15.3-1.el7.centos.x<wbr class=3D"">86_64)<br = class=3D""> I seem unable to follow the same approach.<br class=3D""> <br class=3D""> In the engine logs i get among other things<br class=3D""> <br class=3D""> If the interface ovirtmgmt is a bridge, it should be<br class=3D""> torn-down manually.<br class=3D""> <br class=3D""> the interface is indeed a bridge with two nics which i would<br = class=3D""> like to keep this way.<br class=3D""> <br class=3D""> On the host vdsm.log i get limited info,<br class=3D""> <br class=3D""> when start a python terminal to obtain netinfo i get this<br class=3D""> <br class=3D""> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote = class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc = solid;padding-left:1ex"><blockquote class=3D"gmail_quote" = style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> from vdsm.tool import unified_persistence<br class=3D""> unified_persistence.netswitch.<wbr class=3D"">netinfo()<br class=3D""> </blockquote></blockquote></blockquote> Traceback (most recent call last):<br class=3D""> File "<stdin>", line 1, in <module><br class=3D""> File<br class=3D""> "/usr/lib/python2.7/site-packa<wbr = class=3D"">ges/vdsm/network/netswitch.py"<wbr class=3D"">,<br class=3D""> line 298, in netinfo<br class=3D""> _netinfo =3D netinfo_get(compatibility=3Dcomp<wbr = class=3D"">atibility)<br class=3D""> File<br class=3D""> <br class=3D""> </div></div></blockquote> <br class=3D""> </blockquote><div class=3D""><div class=3D"h5"> "/usr/lib/python2.7/site-packa<wbr = class=3D"">ges/vdsm/network/netinfo/cache<wbr class=3D"">.py",<br = class=3D""> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote = class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc = solid;padding-left:1ex"> line 109, in get<br class=3D""> return _get(vdsmnets)<br class=3D""> File<br class=3D""> <br class=3D""> </blockquote> <br class=3D""> </blockquote> "/usr/lib/python2.7/site-packa<wbr = class=3D"">ges/vdsm/network/netinfo/cache<wbr class=3D"">.py",<br = class=3D""> </div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D""><div = class=3D"h5"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex"> line 101, in _get<br class=3D""> report_network_qos(networking)<br class=3D""> File<br class=3D""> <br class=3D""> </blockquote> "/usr/lib/python2.7/site-packa<wbr = class=3D"">ges/vdsm/network/netinfo/qos.<wbr class=3D"">py",<br = class=3D""> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex"> line 46, in report_network_qos<br class=3D""> iface, =3D host_ports<br class=3D""> ValueError: too many values to unpack<br class=3D""> <br class=3D""> As it appears the line in question does not like to deal with<br = class=3D""> a list of nics i think.<br class=3D""> but either way.<br class=3D""> <br class=3D""> Is in ovirt 4 the ability to use the ovirtmgmt bridge with<br class=3D""> multiple nics removed?<br class=3D""> </blockquote> <br class=3D""> But do you need a bridge or a bond?<br class=3D""> <br class=3D""> <br class=3D""> </div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D""><div = class=3D"h5"> If so what can i do to stick to what we have done in the past.<br = class=3D""> <br class=3D""> Thanks.<br class=3D""> <br class=3D""> ______________________________<wbr class=3D"">_________________<br = class=3D""> Users mailing list<br class=3D""> </div></div><a href=3D"mailto:Users@ovirt.org" target=3D"_blank" = class=3D"">Users@ovirt.org</a> [1]<br class=3D""> <a href=3D"http://lists.ovirt.org/mailman/listinfo/users" = rel=3D"noreferrer" target=3D"_blank" = class=3D"">http://lists.ovirt.org/mailman<wbr = class=3D"">/listinfo/users</a> [2]<br class=3D""> </blockquote> <br class=3D""> ______________________________<wbr class=3D"">_________________<br = class=3D""> Users mailing list<br class=3D""> <a href=3D"mailto:Users@ovirt.org" target=3D"_blank" = class=3D"">Users@ovirt.org</a> [4]<br class=3D""> <a href=3D"http://lists.ovirt.org/mailman/listinfo/users" = rel=3D"noreferrer" target=3D"_blank" = class=3D"">http://lists.ovirt.org/mailman<wbr = class=3D"">/listinfo/users</a> [5]<br class=3D""> </blockquote></blockquote></blockquote> <br class=3D""> <br class=3D""> <br class=3D""> Links:<br class=3D""> ------<br class=3D""> [1] mailto:<a href=3D"mailto:Users@ovirt.org" target=3D"_blank" = class=3D"">Users@ovirt.org</a><br class=3D""> [2] <a href=3D"http://lists.ovirt.org/mailman/listinfo/users" = rel=3D"noreferrer" target=3D"_blank" = class=3D"">http://lists.ovirt.org/mailman<wbr = class=3D"">/listinfo/users</a><br class=3D""> [3] mailto:<a href=3D"mailto:joost@familiealbers.nl" target=3D"_blank" = class=3D"">joost@familiealbers.nl</a><br class=3D""> [4] mailto:<a href=3D"mailto:Users@ovirt.org" target=3D"_blank" = class=3D"">Users@ovirt.org</a><br class=3D""> [5] <a href=3D"http://lists.ovirt.org/mailman/listinfo/users" = rel=3D"noreferrer" target=3D"_blank" = class=3D"">http://lists.ovirt.org/mailman<wbr = class=3D"">/listinfo/users</a><br class=3D""> [6] mailto:<a href=3D"mailto:stirabos@redhat.com" target=3D"_blank" = class=3D"">stirabos@redhat.com</a><br class=3D""> [7] mailto:<a href=3D"mailto:ckozleriii@gmail.com" target=3D"_blank" = class=3D"">ckozleriii@gmail.com</a><br class=3D""> [8] mailto:<a href=3D"mailto:stirabos@redhat.com" target=3D"_blank" = class=3D"">stirabos@redhat.com</a><br class=3D""> </blockquote> <br class=3D""> </blockquote></div><br class=3D""></div> _______________________________________________<br class=3D"">Users = mailing list<br class=3D""><a href=3D"mailto:Users@ovirt.org" = class=3D"">Users@ovirt.org</a><br = class=3D"">http://lists.ovirt.org/mailman/listinfo/users<br = class=3D""></div></blockquote></div><br class=3D""></div></body></html>= --Apple-Mail=_34776E0A-9B01-4578-B615-B4F1A8FB865E--