5.23 NetworkManager unable to add IPv6 addresses to interfaces on UEK R3

After upgrading to Oracle Linux 7 Update 5, or when running UEK R3 on Oracle Linux 7 Update 4 and later releases, network interfaces that are configured for IPv6 might not be brought up by NetworkManager.

Messages similar to the following appear in the system log:

<warn> platform-linux: do-add-ip6-address[2: fe80::210:e0ff:fe5f:920c]:
        failure 22 (Invalid argument)
<warn> platform-linux: do-add-ip6-address[5: fd00:1:1:24::456]:
        failure 22 (Invalid argument)

It is possible to manually add the IPv6 address to the interface by using the ip addr add command.

This issue is apparent, irrespective of whether IPv6 is configured statically, assigned dynamically through DHCP, or configured by using Stateless Address Autoconfiguration (SLAAC).

The workaround for this issue is to disable NetworkManager for interfaces where IPv6 must be configured for an interface. To disable NetworkManager for an interface, edit the network script for the interface in /etc/sysconfig/network-scripts/ifcfg-dev and add the parameter NM_CONTROLLED=no, as shown in the following example:

# echo "NM_CONTROLLED=no" >> /etc/sysconfig/network-scripts/ifcfg-eno4

(Bug ID 24848072)