<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi all,<div class=""><br class=""></div><div class="">I just started my first Ovirt Engine deploy using a dedicated (and separated) virtual machine.</div><div class="">I’m trying to create and manage a test Gluster cluster using 3 “virtual” hosts (hostnames are glu01, glu02, glu03)</div><div class="">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).</div><div class="">Ovirt engine deploy completed without any problem, the hosts have been added easily using ovirtmgmt network (bridgeless mgmt network) and ovirtgluster (bridgeless gluster network).</div><div class=""><br class=""></div><div class="">Everything seems to be ok for this first deploy, but I just noticed that the gateway is missing on the target hosts:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[root@glu01 ~]# route</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Kernel IP routing table</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Destination Gateway Genmask Flags Metric Ref Use Iface</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">link-local 0.0.0.0 255.255.0.0 U 1002 0 0 ens33</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">link-local 0.0.0.0 255.255.0.0 U 1003 0 0 ens34</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">192.168.152.0 0.0.0.0 255.255.255.0 U 0 0 0 ens34</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">192.168.213.0 0.0.0.0 255.255.255.0 U 0 0 0 ens33</span></div><div class="">
<span class="Apple-style-span" style="border-collapse: separate; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; border-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div class=""><br class=""></div><div class=""><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[root@glu02 ~]# route</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Kernel IP routing table</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Destination Gateway Genmask Flags Metric Ref Use Iface</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">link-local 0.0.0.0 255.255.0.0 U 1002 0 0 ens33</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">link-local 0.0.0.0 255.255.0.0 U 1003 0 0 ens34</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">192.168.152.0 0.0.0.0 255.255.255.0 U 0 0 0 ens34</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">192.168.213.0 0.0.0.0 255.255.255.0 U 0 0 0 ens33</span></div></div><div class=""><br class=""></div><div class=""><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[root@glu03 ~]# route</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Kernel IP routing table</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Destination Gateway Genmask Flags Metric Ref Use Iface</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">link-local 0.0.0.0 255.255.0.0 U 1002 0 0 ens33</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">link-local 0.0.0.0 255.255.0.0 U 1003 0 0 ens34</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">192.168.152.0 0.0.0.0 255.255.255.0 U 0 0 0 ens34</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">192.168.213.0 0.0.0.0 255.255.255.0 U 0 0 0 ens33</span></div></div><div class=""><br class=""></div><div class="">Due to this problem I cannot reach internet from ens33 nic (management network).</div><div class="">I just tried to add the gateway in ifcfg-ens33 configuration file but gateway disappear after host reboot.<span style="text-align: -webkit-auto;" class=""> </span></div><div class=""><br class=""></div><div class=""><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[root@glu01 ~]# cat /etc/sysconfig/network-scripts/ifcfg-ens33</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># Generated by VDSM version 4.19.28-1.el7.centos</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">DEVICE=ens33</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">ONBOOT=yes</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">IPADDR=192.168.213.151</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">NETMASK=255.255.255.0</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">BOOTPROTO=none</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">MTU=1500</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">DEFROUTE=no</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">NM_CONTROLLED=no</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">IPV6INIT=yes</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">IPV6_AUTOCONF=yes</span></div></div><div class=""><br class=""></div><div class="">The oVirt Engine network configuration is the following one:</div><div class=""><br class=""></div><div class="">[host glu01]</div><div class="">ens33 -> ovirtmgmt (192.168.213.151, 255.255.255.0, 192.168.213.2)</div><div class="">ens34 -> ovirtgluster (192.168.152.151, 255.255.255.0)</div><div class=""><br class=""></div><div class="">[host glu02]</div><div class=""><div class="">ens33 -> ovirtmgmt (192.168.213.152, 255.255.255.0, 192.168.213.2)</div><div class="">ens34 -> ovirtgluster (192.168.152.152, 255.255.255.0)</div></div><div class=""><br class=""></div><div class="">[host glu03]</div><div class=""><div class="">ens33 -> ovirtmgmt (192.168.213.153, 255.255.255.0, 192.168.213.2)</div><div class="">ens34 -> ovirtgluster (192.168.152.153, 255.255.255.0)</div></div><div class=""><br class=""></div><div class="">Do you know the right way to set the gateway IP on all hosts?</div><div class=""><br class=""></div><div class="">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:</div><div class=""><br class=""></div><div class="">- I can’t select a distributed disperse volume configuration from oVirt Engine volume creation window</div><div class="">- i can’t see the bricks to be used to create a new volume (but I can import an existing volume without problem).</div><div class=""><br class=""></div><div class="">Is there something that I can do to resolve the issues and complete my first experience with oVirt?</div><div class=""><br class=""></div><div class="">Thank you very much,</div><div class="">Mauro T.</div></span></span>
</div>
<br class=""></div></body></html>