-
-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning after upgrading to v3.1.0 #79
Comments
|
@jcpunk , @bastelfreak , v3.1.1 reduced warning count, but didn't eliminate them Observe this on RHEL8 This on CentOS 7 |
|
I can confirm this issue. It happens because the file looks readable when in fact it isn't: |
|
We tried to fix this in #78, but I didn't test the final update. :( Edit: Turns out that I wouldn't have seen the |
|
I can confirm this issue as well on Ubuntu 20.04 after moving to 3.1.1. Any thoughts on when a fix will be available for this issue? |
|
Does the patch from #81 fix this for you? |
|
May I suggest to make this fact possible to blacklist? |
|
@vchepkov you can block any fact by its name: |
|
That doesn't help, unfortunately, I was under impression only limited set of facts can be blocklisted: |
|
Version 7.x is able to block facts by name, perhaps your Puppet/Facter version is too old. |
|
It's actually 'current' with PE LTS, which is 6.26.0 |
How would I test the referenced patch? I am not sure which release branch you branched off to create that patch. |
|
That patch should be based off of 3.1.1. You can manually perform the changes listed on your environment to test it, copy the whole file out of my fork, or apply the diff directly to your tree. The process varies a bit depending on how you're managing your environments. I'll confess I'm hopeful it will be merged soon. @bastelfreak is there anything else you need on that PR? |
|
Worth noting that #81 doesn't fix this, just hides the error. imo the fact should still be adjusted to cater to this. Maybe a blacklist of parameters exposed via hiera? Just hiding the errors is pointless.. If this module is attempting to read kernel parameters that aren't designed to be read, then it shouldn't be doing that. |
|
I agree, this fact is intrusive and should be refactored using lsmod command |
|
It would be really great to have this fixed. It's been a constant annoyance on our RHEL 8 and Ubuntu 20.04 machines. |
|
@arnonerba can you provide a PR with a proper fix? |
|
Here is my suggestion: #88 |
|
As far as I understand the internals a blacklist would have to be implemented in the ruby code of the facter code. |
|
I don't think we need to work with a filter list. Can you please test #81 ? That works at least in my environment. |
|
I like this new version of #81 much better and can confirm it gets rid of the error on RHEL 8 and Ubuntu 20.04. Thanks! |
After upgrading to v3.1.0, puppet started issuing warning each run
Puppet 6.25.1
Checked on CentOS 7, RHEL 8 and Fedora 35
The text was updated successfully, but these errors were encountered: