Bug 1540150 - Disable IPv6 on network configuration at the engine on the ansible deployment flow
Summary: Disable IPv6 on network configuration at the engine on the ansible deployment...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: Network
Version: 2.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ovirt-4.2.2
: ---
Assignee: Ido Rosenzwig
QA Contact: Nikolai Sednev
URL:
Whiteboard:
Depends On:
Blocks: 1458709
TreeView+ depends on / blocked
 
Reported: 2018-01-30 11:24 UTC by Ido Rosenzwig
Modified: 2018-03-29 11:20 UTC (History)
3 users (show)

Fixed In Version: ovirt-hosted-engine-setup-2.2.14-1
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2018-03-29 11:20:20 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.2+
rule-engine: exception+
sbonazzo: devel_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 86861 0 master MERGED ansible: Add dhcp network configuration template 2021-01-03 11:02:15 UTC
oVirt gerrit 88156 0 master ABANDONED ansible: disable IPv6 on the engine vm 2021-01-03 11:02:51 UTC
oVirt gerrit 88161 0 ovirt-hosted-engine-setup-2.2 MERGED ansible: Add dhcp network configuration template 2021-01-03 11:02:51 UTC
oVirt gerrit 89239 0 master MERGED ansible: disable IPv6 on the engine vm 2021-01-03 11:02:15 UTC
oVirt gerrit 89247 0 ovirt-hosted-engine-setup-2.2 MERGED ansible: disable IPv6 on the engine vm 2021-01-03 11:02:15 UTC

Description Ido Rosenzwig 2018-01-30 11:24:36 UTC
Description of problem:
Disable IPv6 on network configuration at the engine on the ansible deployment flow


How reproducible:
100%

Steps to Reproduce:
1. run 'hosted-engine --deploy --ansible

Actual results:
IPv6 is enabled on the network configuration 

Expected results:
IPv6 should be disabled on the network configuration

Comment 1 Nikolai Sednev 2018-02-15 14:20:14 UTC
During deployment on host:
enp5s0f0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.35.92.3  netmask 255.255.252.0  broadcast 10.35.95.255
        inet6 fe80::a236:9fff:fe3a:c4f0  prefixlen 64  scopeid 0x20<link>
        inet6 2620:52:0:235c:a236:9fff:fe3a:c4f0  prefixlen 64  scopeid 0x0<global>
        ether a0:36:9f:3a:c4:f0  txqueuelen 1000  (Ethernet)
        RX packets 1378242  bytes 1963013817 (1.8 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 277738  bytes 21458927 (20.4 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vnet0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::fc16:3eff:fe7b:b853  prefixlen 64  scopeid 0x20<link>
        ether fe:16:3e:7b:b8:53  txqueuelen 1000  (Ethernet)
        RX packets 442  bytes 55029 (53.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 497  bytes 588300 (574.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 52:54:00:6d:88:af  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

During deployment on engine:
nsednev-he-1 ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.122.167  netmask 255.255.255.0  broadcast 192.168.122.255
        inet6 fe80::216:3eff:fe7b:b853  prefixlen 64  scopeid 0x20<link>
        ether 00:16:3e:7b:b8:53  txqueuelen 1000  (Ethernet)
        RX packets 628  bytes 598755 (584.7 KiB)
        RX errors 0  dropped 5  overruns 0  frame 0
        TX packets 484  bytes 63094 (61.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


After deployment was complete on host:
enp5s0f0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether a0:36:9f:3a:c4:f0  txqueuelen 1000  (Ethernet)
        RX packets 7145104  bytes 9676064713 (9.0 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6532266  bytes 8197835092 (7.6 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
ovirtmgmt: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.35.92.3  netmask 255.255.252.0  broadcast 10.35.95.255
        inet6 fe80::a236:9fff:fe3a:c4f0  prefixlen 64  scopeid 0x20<link>
        inet6 2620:52:0:235c:a236:9fff:fe3a:c4f0  prefixlen 64  scopeid 0x0<global>
        ether a0:36:9f:3a:c4:f0  txqueuelen 1000  (Ethernet)
        RX packets 1610134  bytes 7416493226 (6.9 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1032542  bytes 7832730115 (7.2 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 52:54:00:6d:88:af  txqueuelen 1000  (Ethernet)
        RX packets 3095  bytes 3420502 (3.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3214  bytes 2428795 (2.3 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vnet0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::fc16:3eff:fe7b:b853  prefixlen 64  scopeid 0x20<link>
        ether fe:16:3e:7b:b8:53  txqueuelen 1000  (Ethernet)
        RX packets 2716  bytes 618999 (604.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3312  bytes 1455732 (1.3 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

After deployment was complete on engine:
nsednev-he-1 ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.35.92.51  netmask 255.255.252.0  broadcast 10.35.95.255
        inet6 fe80::216:3eff:fe7b:b853  prefixlen 64  scopeid 0x20<link>
        inet6 2620:52:0:235c:216:3eff:fe7b:b853  prefixlen 64  scopeid 0x0<global>
        ether 00:16:3e:7b:b8:53  txqueuelen 1000  (Ethernet)
        RX packets 3225  bytes 1411190 (1.3 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2641  bytes 603059 (588.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0




Host's vnet0:=eth0: on engine.

Components on host:
rhvm-appliance-4.2-20180202.0.el7.noarch
ovirt-hosted-engine-ha-2.2.4-1.el7ev.noarch
ovirt-hosted-engine-setup-2.2.9-1.el7ev.noarch
Linux 3.10.0-693.el7.x86_64 #1 SMP Thu Jul 6 19:56:57 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.4 (Maipo)

On engine:
ovirt-engine-setup-4.2.1.5-0.1.el7.noarch
Linux 3.10.0-693.19.1.el7.x86_64 #1 SMP Thu Feb 1 12:34:44 EST 2018 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.4 (Maipo)

Moving back to assigned.

Comment 2 Nikolai Sednev 2018-03-18 15:58:14 UTC
I still see IPv6 on SHE-VM and on ha-host on these components on ansible deployment:
ovirt-hosted-engine-ha-2.2.7-1.el7ev.noarch
ovirt-hosted-engine-setup-2.2.13-1.el7ev.noarch
rhvm-appliance-4.2-20180202.0.el7.noarch
Linux 3.10.0-861.el7.x86_64 #1 SMP Wed Mar 14 10:21:01 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.5 (Maipo)

nsednev-he-1 ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.35.92.51  netmask 255.255.252.0  broadcast 10.35.95.255
        inet6 fe80::216:3eff:fe7b:b853  prefixlen 64  scopeid 0x20<link>
        inet6 2620:52:0:235c:216:3eff:fe7b:b853  prefixlen 64  scopeid 0x0<global>
        ether 00:16:3e:7b:b8:53  txqueuelen 1000  (Ethernet)
        RX packets 59241  bytes 11747816 (11.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 24513  bytes 27936196 (26.6 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 258603  bytes 129883298 (123.8 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 258603  bytes 129883298 (123.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


alma03 ~]# ifconfig
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::242b:39d3:578c:d564  prefixlen 64  scopeid 0x20<link>
        ether e0:db:55:fc:cf:43  txqueuelen 1000  (Ethernet)
        RX packets 904  bytes 325440 (317.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2707  bytes 477204 (466.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0x91720000-9173ffff  

eno2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether e0:db:55:fc:cf:44  txqueuelen 1000  (Ethernet)
        RX packets 907  bytes 326520 (318.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3  bytes 180 (180.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0x91700000-9171ffff  

enp5s0f0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether a0:36:9f:3a:c4:f0  txqueuelen 1000  (Ethernet)
        RX packets 14978535  bytes 15678621441 (14.6 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 40420553  bytes 57467814431 (53.5 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp5s0f1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether a0:36:9f:3a:c4:f2  txqueuelen 1000  (Ethernet)
        RX packets 186476  bytes 11485527 (10.9 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 874  bytes 63763 (62.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 122748  bytes 37496915 (35.7 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 122748  bytes 37496915 (35.7 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ovirtmgmt: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.35.92.3  netmask 255.255.252.0  broadcast 10.35.95.255
        inet6 fe80::a236:9fff:fe3a:c4f0  prefixlen 64  scopeid 0x20<link>
        inet6 2620:52:0:235c:a236:9fff:fe3a:c4f0  prefixlen 64  scopeid 0x0<global>
        ether a0:36:9f:3a:c4:f0  txqueuelen 1000  (Ethernet)
        RX packets 6476283  bytes 13571333173 (12.6 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3438990  bytes 55451229437 (51.6 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 52:54:00:5b:00:6a  txqueuelen 1000  (Ethernet)
        RX packets 4787  bytes 4064510 (3.8 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4387  bytes 3587733 (3.4 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vnet0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::fc16:3eff:fe7b:b853  prefixlen 64  scopeid 0x20<link>
        ether fe:16:3e:7b:b8:53  txqueuelen 1000  (Ethernet)
        RX packets 24491  bytes 27932819 (26.6 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 59178  bytes 11734737 (11.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Comment 4 Nikolai Sednev 2018-03-27 16:46:18 UTC
vnet0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::fc16:3eff:fe7d:dddd  prefixlen 64  scopeid 0x20<link>
        ether fe:16:3e:7d:dd:dd  txqueuelen 1000  (Ethernet)
        RX packets 599  bytes 146954 (143.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2981  bytes 477039 (465.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
nsednev-he-4 ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.35.163.167  netmask 255.255.252.0  broadcast 10.35.163.255
        ether 00:16:3e:7d:dd:dd  txqueuelen 1000  (Ethernet)
        RX packets 3641  bytes 575656 (562.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 739  bytes 171075 (167.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

I see that within the engine IPv6 had been removed.
Works for me on these components on host:
ovirt-hosted-engine-ha-2.2.9-1.el7ev.noarch
ovirt-hosted-engine-setup-2.2.15-1.el7ev.noarch
rhvm-appliance-4.2-20180202.0.el7.noarch
Linux 3.10.0-862.el7.x86_64 #1 SMP Wed Mar 21 18:14:51 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.5 (Maipo)

Moving to verified.

Comment 5 Sandro Bonazzola 2018-03-29 11:20:20 UTC
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.2 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.