-
Notifications
You must be signed in to change notification settings - Fork 88
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
Invalid parameter value on Sysctl #16
Comments
Hi, I have recently encountered a similar problem: Invalid parameter value on Sysctl I tried to debug it and I have found out that the name of the defined resource We use Puppet 3.6.2 |
Strange issue... if it's indeed a scoping issue, could you please try the following change and see if it makes any difference?
|
Sysctl class is now used only for loading values from Hiera. Indiviaual sysctl variables (values) are set via sysctl::variable defined type. This should also fix the problem with create_resources(sysctl), described in thias#16
I re-worked the structure a bit, you can see it in my fork (I have created a pull request to upstream as well). Using |
I'll have a look, but one major issue about such changes is that they're not backwards compatible at all... |
I had this exact same problem. I tried thias suggestion of ::, but when I moved sysctl to a new name space it fixed the issue. |
Same problem here using Puppet 3.7.3 ! |
It seems more several other people encountered the same problem recently. Is there a chance to either include this for next major release (2.0) or at least to find some middle ground? I have updated my pull request #17 so it's ready to be merged back to upstream/master. |
I'm seeing the same issue, any update on when this will be fixed? |
I'd be interested in knowing if this is still happening, and finding a fix that does not involved changing the main |
I'm still having the problem:
With variable:
Version: thias-sysctl (v1.0.6) |
I am having the same issue, it is intermittent and happens with different variables. |
Same issue here not using Heira,
Does not occur with puppet agent -t but with regular agent runs intermittently. |
if i rename the module with an other name, |
Same issue here: error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter prefix on Sysctl[kernel.shmmax] sysctl { 'kernel.shmmax': prefix => '60', value => '2147483648' } |
I'm seeing this issue as well, and it's being brought up by a dependency from elastic/elasticsearch. Will likely end up needing to fork that module just to run it because of this bug. I should also note I'm on the latest version of PE. |
Hi,
I'm running into problems with hiera, From the documentation i guessed I have to set on my node a definition like this:
class { 'sysctl::base': hiera_merge_values => true,}
and then in hiera I set (sorry , tabulation is not showing fine)
sysctl::base::values:
net.core.netdev_max_backlog:
value: '30000'
net.core.somaxconn:
value: '1024'
net.ipv4.tcp_max_syn_backlog:
value: '4096'
The catalog does not compile with pupppet agent but it still works with puppet apply.
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter value on Sysctl[net.core.netdev_max_backlog] on node myserver
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
The text was updated successfully, but these errors were encountered: