-
-
Notifications
You must be signed in to change notification settings - Fork 479
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
Error Elasticsearch_keystore[node0] Could not evaluate #1081
Comments
Puppet Trace&Debug: |
it might be related to the elasticsearch_keystore type:
I have added a debug output for the value "#{configdir}/#{instance}" and the value is: |
@hoggle64 It looks like you're on the right path...
This is a bug in that it's not correctly handling a different However, it's worth noting that multi-instance support is being removed in the next major version of this module. See #1068 for more info. You can possibly work-around the current bug by managing the elasticsearch_keystore { $name :
- configdir => $elasticsearch::configdir,
+ configdir => $configdir,
purge => $purge_secrets,
settings => merge($main_secrets, $instance_secrets),
notify => $notify_service, |
Thanks for your valuable answer @fatmcgav, The issue is that the keystore gets created every time even though the file is existing already. Why does the module think it has to create it ? I retraced the steps manually and did the following:
Thanks in advance for your support. |
At a quick glance, I suspect there's an issue with the prefetch functionality, whereby it's only expecting a single level of Unfortunately I can't see an easy way around that, and as I've mentioned above, we are removing the multi instance functionality in the next major release. |
Mhhh... got it. Then I assume we will have to configure this in our own elastic module since we are running multiple clusters with multiple nodes on one machine. Thank you for your time. |
Afraid so @hoggle64
Out of curiosity, what's the use case behind this? As we (Elastic) have seen issues in the past with resource contention etc due to multiple instances on a single node. Edit: feel free to reach out via email if you'd prefer. Gavin.williamselastic.co |
Hi @fatmcgav, I fully agree. Unfortunately some companies refuse to use modern technologies like virtulization or containerization. Then you end up with bare metal machines having 1TB RAM which are setup and then running for years which also makes config-managment and provision-on-demand obsolete. There are things you can't change.... |
@hoggle64 thank you for the feedback... I'm going to go ahead and close this issue out. |
Bug description
When passing the following secrets hash to the instance:
we receive the following error during the puppet agent run:
I have no clue why this is failing.
I will attach the entire managing class.
init.pp.txt
The text was updated successfully, but these errors were encountered: