puppet-kmod icon indicating copy to clipboard operation
puppet-kmod copied to clipboard

dead facter process while executing kmod fact

Open QueerCodingGirl opened this issue 2 years ago • 1 comments

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

QueerCodingGirl avatar Jun 16 '23 13:06 QueerCodingGirl

After excluding the eptad parameter, it fails on the next one (flexpriority), so i guess it may fail for the whole kvm_intel module parameters.

QueerCodingGirl avatar Jun 16 '23 13:06 QueerCodingGirl