RMC inactive for RHEL 8.0 guest OS on NovaLink hosts
Problem
IPv6 interface fluctuates when managed by NetworkManager with IPV6_AUTOCONF=yes
.
Explanation
When IPV6_AUTOCONF=yes
, router advertisement
is enabled for the IPv6 interface, which internally engages IPv6 router. Here, IPv6 interface is
used to establish communication between NovaLink and guest OS. When there is no
router, NetworkManager continuously activates and deactivates network, which results in fluctuation
of IP address.
active
and inactive
.Resolution
Perform the following steps to troubleshoot this issue.
- For new virtual machines:
- Remove
refresh_rmc_and_interface
in thecloud_final_modules
section of /etc/cloud/cloud.cfg. - Add
bootcmd
instruction at the end of /etc/cloud/cloud.cfg filebootcmd: - 'echo "IPV6_AUTOCONF=no" >> /etc/sysconfig/network-scripts/ifcfg-$(ls /sys/class/net -1| grep env.|sort -n -r|head -1)'
- Deploy virtual machine by using the new image.
- Remove
- For existing virtual machines:
- Add the
NM_CONTROLLED=yes
andIPV6_AUTOCONF=no
entry in the /etc/sysconfig/network-script/ifcfg-* file for the IPv6 interface identified. - Run this following command after making necessary changes.
# nmcli connection reload
- Add the