[ovirt-users] First oVirt engine deploy: missing gateway on hosts
Mauro Tridici
mauro.tridici at cmcc.it
Sat Sep 2 13:46:50 UTC 2017
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 for management network and 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170902/6074910e/attachment.html>
More information about the Users
mailing list