[ovirt-users] First oVirt engine deploy: missing gateway on hosts

Mauro Tridici mauro.tridici at cmcc.it
Mon Sep 4 08:33:33 UTC 2017


Hi Kasturi,

I just tried to set, using the oVirt Engine UI, a fake gateway (different from the real one) for the ovirtmgmt network attached to the hosts.
After that, I set again the old and real gateway: it seems that, at the end, the new configuration has been stored correctly in the oVirt Engine environment.

[root at glu01 ~]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         gateway         0.0.0.0         UG    0      0        0 ens33
link-local      0.0.0.0         255.255.0.0     U     1002   0        0 ens33
link-local      0.0.0.0         255.255.0.0     U     1003   0        0 ens34
192.168.152.0   0.0.0.0         255.255.255.0   U     0      0        0 ens34
192.168.213.0   0.0.0.0         255.255.255.0   U     0      0        0 ens33

It seems that, finally, the ovirtmgmt network configuration has been updated with the right gateway value.

Thanks for your feedback.
Mauro

> Il giorno 04 set 2017, alle ore 09:48, Kasturi Narra <knarra at redhat.com> ha scritto:
> 
> Hi Mauro,
> 
>      yes, i do know this problem of gateway disappearing but i am not sure why that happens because in my case it was happening on only on one server. I used to add the gateway again on that node. I am just waiting for some one to reply.
> 
> Thanks
> kasturi
> 
> On Mon, Sep 4, 2017 at 1:02 PM, Mauro Tridici <mauro.tridici at cmcc.it <mailto:mauro.tridici at cmcc.it>> wrote:
> Hi Kasturi,
> 
> thank you very much for your support and for the useful explanation.
> If possible, I would ask you if you know a way to correct the “missing gateway” problem that I described in my previous message.
> 
> Thanks a lot,
> Mauro
> 
> 
>> Il giorno 04 set 2017, alle ore 08:51, Kasturi Narra <knarra at redhat.com <mailto:knarra at redhat.com>> ha scritto:
>> 
>> Hi Mauro,
>> 
>>        Creating distributed dispersed volumes are not supported from ovirt UI yet but you should be able to sync them if cluster is imported into the UI. same holds true for add / remove bricks on disperse and distribute disperse volumes.
>> 
>>        you wont be able to see bricks created because ovirt excepts them to be mounted at /rhgs/<brick-name>. What you could simply do is uncheck the check box in the 'Add brick' dialog and type in the path or you could mount your bricks at above said location and that would show all the available bricks on the host.
>> 
>>   Hope this helps.
>> 
>> Thanks
>> kasturi.
>> 
>> On Sat, Sep 2, 2017 at 7:16 PM, Mauro Tridici <mauro.tridici at cmcc.it <mailto:mauro.tridici at cmcc.it>> wrote:
>> Hi all,
>> 
>> I just started my first Ovirt Engine deploy using a dedicated (and separated) virtual machine.
>> I’m trying to create and manage a test Gluster cluster using 3 “virtual” hosts (hostnames are glu01, glu02, glu03)
>> 2 different networks have been defined on the hosts (192.168.213.0/24 <http://192.168.213.0/24> for management network and 192.168.152.0/24 <http://192.168.152.0/24> for gluster network).
>> Ovirt engine deploy completed without any problem, the hosts have been added easily using ovirtmgmt network (bridgeless mgmt network) and ovirtgluster (bridgeless gluster network).
>> 
>> Everything seems to be ok for this first deploy, but I just noticed that the gateway is missing on the target hosts:
>> 
>> [root at glu01 ~]# route
>> Kernel IP routing table
>> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
>> link-local      0.0.0.0         255.255.0.0     U     1002   0        0 ens33
>> link-local      0.0.0.0         255.255.0.0     U     1003   0        0 ens34
>> 192.168.152.0   0.0.0.0         255.255.255.0   U     0      0        0 ens34
>> 192.168.213.0   0.0.0.0         255.255.255.0   U     0      0        0 ens33
>> 
>> [root at glu02 ~]# route
>> Kernel IP routing table
>> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
>> link-local      0.0.0.0         255.255.0.0     U     1002   0        0 ens33
>> link-local      0.0.0.0         255.255.0.0     U     1003   0        0 ens34
>> 192.168.152.0   0.0.0.0         255.255.255.0   U     0      0        0 ens34
>> 192.168.213.0   0.0.0.0         255.255.255.0   U     0      0        0 ens33
>> 
>> [root at glu03 ~]# route
>> Kernel IP routing table
>> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
>> link-local      0.0.0.0         255.255.0.0     U     1002   0        0 ens33
>> link-local      0.0.0.0         255.255.0.0     U     1003   0        0 ens34
>> 192.168.152.0   0.0.0.0         255.255.255.0   U     0      0        0 ens34
>> 192.168.213.0   0.0.0.0         255.255.255.0   U     0      0        0 ens33
>> 
>> Due to this problem I cannot reach internet from ens33 nic (management network).
>> I just tried to add the gateway in ifcfg-ens33 configuration file but gateway disappear after host reboot. 
>> 
>> [root at glu01 ~]# cat /etc/sysconfig/network-scripts/ifcfg-ens33
>> # Generated by VDSM version 4.19.28-1.el7.centos
>> DEVICE=ens33
>> ONBOOT=yes
>> IPADDR=192.168.213.151
>> NETMASK=255.255.255.0
>> BOOTPROTO=none
>> MTU=1500
>> DEFROUTE=no
>> NM_CONTROLLED=no
>> IPV6INIT=yes
>> IPV6_AUTOCONF=yes
>> 
>> The oVirt Engine network configuration is the following one:
>> 
>> [host glu01]
>> ens33 -> ovirtmgmt (192.168.213.151, 255.255.255.0, 192.168.213.2)
>> ens34 -> ovirtgluster (192.168.152.151, 255.255.255.0)
>> 
>> [host glu02]
>> ens33 -> ovirtmgmt (192.168.213.152, 255.255.255.0, 192.168.213.2)
>> ens34 -> ovirtgluster (192.168.152.152, 255.255.255.0)
>> 
>> [host glu03]
>> ens33 -> ovirtmgmt (192.168.213.153, 255.255.255.0, 192.168.213.2)
>> ens34 -> ovirtgluster (192.168.152.153, 255.255.255.0)
>> 
>> Do you know the right way to set the gateway IP on all hosts?
>> 
>> Just two last questions: I was able to import an existing gluster cluster using oVirt Engine, but I’m not able to create a new volume because:
>> 
>> - I can’t select a distributed disperse volume configuration from oVirt Engine volume creation window
>> - i can’t see the bricks to be used to create a new volume (but I can import an existing volume without problem).
>> 
>> Is there something that I can do to resolve the issues and complete my first experience with oVirt?
>> 
>> Thank you very much,
>> Mauro T.
>> 
>> 
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org <mailto:Users at ovirt.org>
>> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
>> 
>> 
> 
> 
> 


-------------------------
Mauro Tridici

Fondazione CMCC
CMCC Supercomputing Center
presso Complesso Ecotekne - Università del Salento -
Strada Prov.le Lecce - Monteroni sn
73100 Lecce  IT
http://www.cmcc.it

mobile: (+39) 327 5630841
email: mauro.tridici at cmcc.it

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170904/17cf846d/attachment.html>


More information about the Users mailing list