[ovirt-users] Users Digest, Vol 62, Issue 192

Joost at familiealbers.nl Joost at familiealbers.nl
Mon Nov 28 20:16:49 UTC 2016


Darrel, i tend to agree with you. One of the reasons for choosing ovirt over i.e vmware is fact you will benefit from the flexibility of linux in general. Besides the fact its actually quite good and open source offcourse. The fact ovirt stops accepting custom net setups is not the best feature perhaps for most. At least not for me.
Either way using the bond approach i am at least able to crack on. I know there is a lot one can tailor by defining config options in /etc/ovirt-host-deploy however it feels like its one of the more undocumented features. I tried a number of things but ended up with errors i had scavenge my way through. I am happy for now. Ill keep my eye out on the list to see if this particular issue will be taken up in the future.

Verstuurd vanaf mijn iPhone

> Op 28 nov. 2016 om 19:06 heeft users-request at ovirt.org het volgende geschreven:
> 
> Send Users mailing list submissions to
>    users at ovirt.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>    http://lists.ovirt.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
>    users-request at ovirt.org
> 
> You can reach the person managing the list at
>    users-owner at ovirt.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Users digest..."
> 
> 
> Today's Topics:
> 
>   1. Re:  ovirtmgmt manual bridge cannot be used in ovirt    4.0
>      (Darrell Budic)
>   2. Re:  ovirtmgmt manual bridge cannot be used in ovirt    4.0
>      (Joost at familiealbers.nl)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 28 Nov 2016 11:07:22 -0600
> From: Darrell Budic <budic at onholyground.com>
> To: users <users at ovirt.org>
> Subject: Re: [ovirt-users] ovirtmgmt manual bridge cannot be used in
>    ovirt    4.0
> Message-ID: <890E7EC9-9FDE-46BD-9253-46D8302A2EFE at onholyground.com>
> Content-Type: text/plain; charset="utf-8"
> 
> I?m having trouble with that plan and I?m 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 ?torn down manually? statement. Haven?t had much time to do more troubleshooting, but it?s rather annoying. 
> 
> I?d 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 at gmail.com> wrote:
>> 
>> 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)
>> 
>> On Mon, Nov 28, 2016 at 10:06 AM, <joost at familiealbers.nl <mailto:joost at 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.
>> 
>> 
>> 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. 
>> 
>> On Mon, Nov 28, 2016 at 9:43 AM, Simone Tiraboschi
>> <stirabos at redhat.com <mailto:stirabos at redhat.com> [8]> wrote:
>> 
>> On Mon, Nov 28, 2016 at 3:42 PM, Charles Kozler
>> <ckozleriii at gmail.com <mailto:ckozleriii at gmail.com> [7]> wrote:
>> 
>> 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
>> 
>> 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.
>> 
>> 
>> 
>> On Mon, Nov 28, 2016 at 9:33 AM, Simone Tiraboschi
>> <stirabos at redhat.com <mailto:stirabos at redhat.com> [6]> wrote:
>> 
>> On Mon, Nov 28, 2016 at 12:24 PM, <joost at familiealbers.nl <mailto:joost at familiealbers.nl> [3]>
>> wrote:
>> 
>> Hi All,
>> 
>> In our ovirt 3.5 setup. i have always setup the ovirtmgmt
>> bridge manually .
>> The bridge consisted of 2 nics
>> 
>> Id have /etc/vdsm/vdsm.conf list net_persist = ifcfg
>> 
>> 
>> 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.
>> 
>> On ovirt 4. (vdsm-4.18.15.3-1.el7.centos.x86_64)
>> I seem unable to follow the same approach.
>> 
>> In the engine logs i get among other things
>> 
>> If the interface ovirtmgmt is a bridge, it should be
>> torn-down manually.
>> 
>> the interface is indeed a bridge with two nics which i would
>> like to keep this way.
>> 
>> On the host vdsm.log i get limited info,
>> 
>> when start a python terminal to obtain netinfo i get this
>> 
>> 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 = netinfo_get(compatibility=compatibility)
>>  File
>> 
>> 
>> "/usr/lib/python2.7/site-packages/vdsm/network/netinfo/cache.py",
>> line 109, in get
>>    return _get(vdsmnets)
>>  File
>> 
>> 
>> "/usr/lib/python2.7/site-packages/vdsm/network/netinfo/cache.py",
>> line 101, in _get
>>    report_network_qos(networking)
>>  File
>> 
>> "/usr/lib/python2.7/site-packages/vdsm/network/netinfo/qos.py",
>> line 46, in report_network_qos
>>    iface, = host_ports
>> ValueError: too many values to unpack
>> 
>> As it appears the line in question does not like to deal with
>> a list of nics i think.
>> but either way.
>> 
>> Is in ovirt 4 the ability to use the ovirtmgmt bridge with
>> multiple nics removed?
>> 
>> But do you need a bridge or a bond?
>> 
>> 
>> If so what can i do to stick to what we have done in the past.
>> 
>> Thanks.
>> 
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org <mailto:Users at ovirt.org> [1]
>> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users> [2]
>> 
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org <mailto:Users at ovirt.org> [4]
>> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users> [5]
>> 
>> 
>> 
>> Links:
>> ------
>> [1] mailto:Users at ovirt.org <mailto:Users at ovirt.org>
>> [2] http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
>> [3] mailto:joost at familiealbers.nl <mailto:joost at familiealbers.nl>
>> [4] mailto:Users at ovirt.org <mailto:Users at ovirt.org>
>> [5] http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
>> [6] mailto:stirabos at redhat.com <mailto:stirabos at redhat.com>
>> [7] mailto:ckozleriii at gmail.com <mailto:ckozleriii at gmail.com>
>> [8] mailto:stirabos at redhat.com <mailto:stirabos at redhat.com>
>> 
>> 
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.ovirt.org/pipermail/users/attachments/20161128/2d6dc373/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 28 Nov 2016 19:05:34 +0100
> From: "Joost at familiealbers.nl" <Joost at familiealbers.nl>
> To: Charles Kozler <ckozleriii at gmail.com>
> Cc: users <users at ovirt.org>
> Subject: Re: [ovirt-users] ovirtmgmt manual bridge cannot be used in
>    ovirt    4.0
> Message-ID: <CCAD1B7A-86EF-45B6-9794-C31F789A8524 at familiealbers.nl>
> Content-Type: text/plain; charset="us-ascii"
> 
> Hi Charles, that worked, thanks!!! allthough im still wondering where this change was listed at any point between 3.5 and 4.0. 
> 
> Verstuurd vanaf mijn iPhone
> 
>> Op 28 nov. 2016 om 16:11 heeft Charles Kozler <ckozleriii at gmail.com> het volgende geschreven:
>> 
>> 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)
>> 
>>> On Mon, Nov 28, 2016 at 10:06 AM, <joost at 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.
>>> 
>>> 
>>> 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. 
>>>> 
>>>> On Mon, Nov 28, 2016 at 9:43 AM, Simone Tiraboschi
>>>> <stirabos at redhat.com [8]> wrote:
>>>> 
>>>>> On Mon, Nov 28, 2016 at 3:42 PM, Charles Kozler
>>>>> <ckozleriii at gmail.com [7]> wrote:
>>>>> 
>>>>>> 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
>>>>> 
>>>>> 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.
>>>>> 
>>>>> 
>>>>> 
>>>>>> On Mon, Nov 28, 2016 at 9:33 AM, Simone Tiraboschi
>>>>>> <stirabos at redhat.com [6]> wrote:
>>>>>> 
>>>>>>> On Mon, Nov 28, 2016 at 12:24 PM, <joost at familiealbers.nl [3]>
>>>>>>> wrote:
>>>>>>> 
>>>>>>>> Hi All,
>>>>>>>> 
>>>>>>>> In our ovirt 3.5 setup. i have always setup the ovirtmgmt
>>>>>>>> bridge manually .
>>>>>>>> The bridge consisted of 2 nics
>>>>>>>> 
>>>>>>>> Id have /etc/vdsm/vdsm.conf list net_persist = ifcfg
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 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.
>>>>>>>> 
>>>>>>>> On ovirt 4. (vdsm-4.18.15.3-1.el7.centos.x86_64)
>>>>>>>> I seem unable to follow the same approach.
>>>>>>>> 
>>>>>>>> In the engine logs i get among other things
>>>>>>>> 
>>>>>>>> If the interface ovirtmgmt is a bridge, it should be
>>>>>>>> torn-down manually.
>>>>>>>> 
>>>>>>>> the interface is indeed a bridge with two nics which i would
>>>>>>>> like to keep this way.
>>>>>>>> 
>>>>>>>> On the host vdsm.log i get limited info,
>>>>>>>> 
>>>>>>>> when start a python terminal to obtain netinfo i get this
>>>>>>>> 
>>>>>>>>>>> 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 = netinfo_get(compatibility=compatibility)
>>>>>>>>  File
>>>>>>>> 
>>>>>>> 
>>>>>> "/usr/lib/python2.7/site-packages/vdsm/network/netinfo/cache.py",
>>>>>>>> line 109, in get
>>>>>>>>    return _get(vdsmnets)
>>>>>>>>  File
>>>>>>>> 
>>>>>>> 
>>>>>> "/usr/lib/python2.7/site-packages/vdsm/network/netinfo/cache.py",
>>>>>>>> line 101, in _get
>>>>>>>>    report_network_qos(networking)
>>>>>>>>  File
>>>>>>>> 
>>>>>>> "/usr/lib/python2.7/site-packages/vdsm/network/netinfo/qos.py",
>>>>>>>> line 46, in report_network_qos
>>>>>>>>    iface, = host_ports
>>>>>>>> ValueError: too many values to unpack
>>>>>>>> 
>>>>>>>> As it appears the line in question does not like to deal with
>>>>>>>> a list of nics i think.
>>>>>>>> but either way.
>>>>>>>> 
>>>>>>>> Is in ovirt 4 the ability to use the ovirtmgmt bridge with
>>>>>>>> multiple nics removed?
>>>>>>> 
>>>>>>> But do you need a bridge or a bond?
>>>>>>> 
>>>>>>> 
>>>>>>>> If so what can i do to stick to what we have done in the past.
>>>>>>>> 
>>>>>>>> Thanks.
>>>>>>>> 
>>>>>>>> _______________________________________________
>>>>>>>> Users mailing list
>>>>>>>> Users at ovirt.org [1]
>>>>>>>> http://lists.ovirt.org/mailman/listinfo/users [2]
>>>>>>> 
>>>>>>> _______________________________________________
>>>>>>> Users mailing list
>>>>>>> Users at ovirt.org [4]
>>>>>>> http://lists.ovirt.org/mailman/listinfo/users [5]
>>>> 
>>>> 
>>>> 
>>>> Links:
>>>> ------
>>>> [1] mailto:Users at ovirt.org
>>>> [2] http://lists.ovirt.org/mailman/listinfo/users
>>>> [3] mailto:joost at familiealbers.nl
>>>> [4] mailto:Users at ovirt.org
>>>> [5] http://lists.ovirt.org/mailman/listinfo/users
>>>> [6] mailto:stirabos at redhat.com
>>>> [7] mailto:ckozleriii at gmail.com
>>>> [8] mailto:stirabos at redhat.com
>>> 
>> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.ovirt.org/pipermail/users/attachments/20161128/2f93f335/attachment.html>
> 
> ------------------------------
> 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
> 
> End of Users Digest, Vol 62, Issue 192
> **************************************




More information about the Users mailing list