example42/puppet-network

RHEL8 "nmcli networking off" cuts of the network connection

Closed this issue · 1 comments

Expected Behavior

network gets restarted properly on RHEL8 with NetworkManager after an interface file change

Actual Behavior

The file changes triggers nmcli connection reload && nmcli networking off && nmcli networking on and then nmcli networking off cuts off the network connection when running in master/agent mode, which prevents the execution of nmcli networking on which would bring back the networking connection

Steps to Reproduce the Problem

  1. Setup a RedHat 8 based system (f.e.) CentOS8
  2. use the resource network::interface and and make some changes so the network restart triggers
  3. when running with a puppet master the network connections should be turned off and your client will be cut off your network, so you only can administrate it via KVM console or similiar.

btw pull request #306 fixes that issue