On Fri, Mar 27, 2020 at 6:49 PM Strahil Nikolov <hunter86_bg@yahoo.com> wrote:


Hey Gianluca,

If there is an option to define the Gluster network during deployment - it should work like that.

Can you go to the UI -> your cluster -> and check the network is there.
Maybe it was created but not marked as storage network.

Best Regards,
Strahil Nikolov

Hi Strahil,
there is no option to define a "Gluster network" logical network during HCI deployment; there is only an indirect way because you specify IP/hostname of the network to use for Gluster.

Following "Deploying Red Hat Hyperconverged Infrastructure for Virtualization on a single node" doc:
https://access.redhat.com/documentation/en-us/red_hat_hyperconverged_infrastructure_for_virtualization/1.7/html/deploying_red_hat_hyperconverged_infrastructure_for_virtualization_on_a_single_node/index

at the beginning when you install the host from the node iso you specify its hostname/IP
--> in my case ovirt.mydomain

Then here below In the first window you choose the "Start" button on the right for "Hyperconverged":
https://access.redhat.com/documentation/en-us/red_hat_hyperconverged_infrastructure_for_virtualization/1.7/html/deploying_red_hat_hyperconverged_infrastructure_for_virtualization_on_a_single_node/task-config-single-node#task-config-gluster-single-node

then you select the right button "Run Gluster Wizard For Single Node"
and, as the manual says, in the window titled "Gluster Deployment" :
Specify the back-end FQDN on the storage network of the hyperconverged host
--> in my case used ovirtst.mydomain.storage

You go through and indeed oVirt is using for Gluster the network you specified above, but in
Compute -> Clusters -> Default -> Logical Networks -> Manage Networks
no logical network has been created and then assigned to the column named "Gluster Network"

This is what I mean and the reason I think I get the WARNING in engine.log of my first post: I would have expected setup to create a logical network (eg "Gluster") and automatically assign it to the "Gluster Network" type.
Something similar to what is already automatically done for the ovirtmgmt logical network assignment, as a logic.

Anyway, following also what described thorugh here:
http://www.chrisj.cloud/?q=node/8 

I made these manual steps without having any disruption inside my running VMs:

1) Compute -> Clusters -> Default -> Logical Networks -> Add Network
Name: Gluster
VM network --> unchecked
MTU --> Custom 9000 (as this is the MTU used and already in place on the host)
In the left side pane selected "Cluster" and uncheck "required" because not yet assigned to host and to avoid disruption

2) Compute -> Clusters -> Default -> Logical Networks -> Manage Networks
Select the "Gluster" logical network as "Gluster Network" type

3) Hosts --> My host --> Network Interfaces --> Setup host networks
Drag and drop the "Gluster" network at right on to the network interface at left, already configured with the static ip related to storage network used during setup
OK button

4) Eventually mark now the "Gluster" logical network as a required one for the cluster

Gianluca