Facter, and therefore the puppet agent process hang in the dead state when executing the kmod fact. The output just stops and no error is generated.
Environment:
OS: Ubuntu 18.04 virtual machine
Agent: Puppet 7.23.0
Facter 4.3.0 (bundled with the puppet agent)
I added some debug lines to the fact and found out it dies when it tries to read from /sys/module/kvm_intel/parameters/eptad.
Changing the rescue line to catch all exceptions did not help.
Facter, and therefore the puppet agent process hang in the dead state when executing the kmod fact. The output just stops and no error is generated.
Environment: OS: Ubuntu 18.04 virtual machine Agent: Puppet 7.23.0 Facter 4.3.0 (bundled with the puppet agent)
I added some debug lines to the fact and found out it dies when it tries to read from
/sys/module/kvm_intel/parameters/eptad
. Changing the rescue line to catch all exceptions did not help.The line that triggers the error: https://github.com/voxpupuli/puppet-kmod/blob/754ab27a29903d2c2146addacaffe1eb6d27852a/lib/facter/kmod.rb#L27