You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.
This is strange, as you noticed the network restart command is actually executed ( Notice: /Stage[main]/Network/Exec[service network restart]: Triggered 'refresh' from 1 events ) , have to isolate the issue.
Did some more checks here. Looks like , for reasons still unclear, the first time network is configured the service network restart command doesn't actually apply the new routes, even if executed after all the network related files are managed. Then, since the files are already in their expected state, subsequent puppet runs don't trigger any restart command.
A manual workaround is to change in any place (even just by adding a space anywhere) the route script, and then run puppet again. In that run, puppet chnages the file back to the expected state , triggers the network restart and that actually correctly configures the routes.
Leaving the ticket open, even if clueless on how to fix it.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected Behavior
When adding a routing rule to an interface the network should be restarted for at least that interface.
Actual Behavior
Network restart claims to happen, but never does:
Notice: /Stage[main]/Network/Network::Mroute[ens192]/File[route-ens192]/ensure: defined content as '{md5}14562cbe8446fd65d5001ada0a17524e'
Info: /Stage[main]/Network/Network::Mroute[ens192]/File[route-ens192]: Scheduling refresh of Exec[service network restart]
Notice: /Stage[main]/Network/Exec[service network restart]: Triggered 'refresh' from 1 events
After the Puppet run:
Steps to Reproduce the Problem
Specifications
Please add this info:
facter -p
on the failing node (at least the OS related facts)Puppet: 4.10.12 module: 3.5.0
The text was updated successfully, but these errors were encountered: