[ovirt-users] Customized Network Setup?

Charles Tassell charles at islandadmin.ca
Wed Apr 5 17:24:15 UTC 2017


Hi Petr,

   That looks to be exactly what I want to do, but when I try to set it 
up I get two error messages.  On the box running the hosted engine I get 
"Error while executing action HostSetupNetworks: Network is currently 
being used" and on the new box I'm trying to get to join the cluster I 
get "Cannot setup Networks. Operation can be performed only when Host 
status is Maintenance, Up, NonOperational."



On 2017-04-05 10:00 AM, Petr Horacek wrote:
> Hello Charles,
>
> I think you can get your desired network with oVirt.
>
> Create second network external_network, you can uncheck "VM network"
> there. Then in Setup Networks dialog you can create a bonding, add
> ovirtmgmt on top of that and external_net on top of a 1G interface.
>
> During the configuration you can specify which network will handle
> default route. From
> https://bugzilla.redhat.com/show_bug.cgi?id=1400366:
>
> 1. In the Manager, open a console and add the custom property.
>    engine-config -g UserDefinedNetworkCustomProperties
>    engine-config -s
> UserDefinedNetworkCustomProperties='default_route=^(true|false)$'
>    systemctl restart ovirt-engine
>
> 2. On each host:
>     2.1 Set the property to False on the management (ovirtmgmt|rhevm) network
>     2.2 Set the property to True on the desired new default route network
>     2.3 Set a next-hop IP address (Gateway) in the new default route network
>
> 3. Apply configurations
> Two important notes that must be added to the docs:
> * This configuration is PER HOST, and needs to be done on each host.
> * If the gataway for the new default route network is not set, it will
> be IGNORED. Leaving the gateway blank will NOT set device based route
> (such as for proxy-arp scenarios).
>
> Regards,
> Petr
>
> 2017-04-05 6:22 GMT+02:00 Charles Tassell <charles at islandadmin.ca>:
>> Hi Guys,
>>
>>    I'm wondering, is it possible to override VDSM and setup my network
>> interfaces manually?  I've got two Dell servers with dual-10G networking
>> that I want to use bonded (LACP) for ovirtmgmt and then some 1G interfaces
>> that I want to use for the VM network/Internet connection.  I've got it
>> working on the box I installed the hosted engine on, but it won't properly
>> setup the networking on additional hosts.  I've tried setting up bonding
>> before doing the install (worked fine, ran the New host setup through the
>> admin GUI, network died); doing the install with bonding turned off and then
>> adding it in later (didn't create the ovirtmgmt bridge and the policy
>> routing rules that it uses (I'd REALLY like to be able to turn that garbage
>> off) didn't get added to bond0...)  In all situations it removes the default
>> route from my standard routing table so I can't access the machines from
>> outside the subnet...
>>
>>    I can setup the bonding and bridges manually fairly in 10 minutes, but I'm
>> worried that VDSM is going to come in and overwrite my config with the
>> broken stuff if I do that.
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users



More information about the Users mailing list