-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
Not decrypting/working with puppetserver 2.7.2 (Function lookup() did not find a value for the name) #228
Comments
Any progess on this issue? |
@FlorianSW this was tentatively linked to an issue fixed in puppet 4.9.3. Can you confirm if the problem was resolved or if it still exists? @bazzie are you having the same issue, and if so are you at puppet >=4.9.3 or below? |
@rnelson0 Same issue. puppet 4.10.0 and puppetserver 2.7.2 |
2017-07-17 08:47:47,728 ERROR [qtp1737653640-66] [puppetserver] Puppet Evaluation Error: Error while evaluating a Function Call, Class[Custom_sssd_ldap]: expects a value for parameter 'authbindpw' at /etc/puppetlabs/code/environments/vbox/modules/profiles/manifests/base_os.pp:158:11 on node box-krn0-vbx-v01 |
puppet lookup works without problems.. [root@box-krn0-vbx-v01 ~]# puppet lookup custom_sssd_ldap::authbindpw |
My issue seems to be with custom fact interpolation. |
@bazzie Sorry for the delayed response. It looks like you have resolved your issue, and it had to do with a fact not interpolating correctly leading to a cascading issue with hiera. Is that correct? If so and you think it has anything to do with changes in puppet/hiera (even indirectly) over the various versions, could you detail it to see if @FlorianSW's issue can be resolved the same way? |
I upgraded again, got the following versions, and it seems to work now, it's a bit strange, I did nothing different to the last time :]
|
Today I wanted to upgrade my puppetmaster from 2.6.0-1puppetlabs1 to 2.7.2-1puppetlabs1 (puppet-agent from 1.7.0-1trusty to 1.9.2-1trusty) using apt-get on an Ubuntu 14.04 host. The installation worked properly and the server was working, too. However, the encrypted strings and blocks of the hiera yaml data wasn't decrypted by the puppetmaster, which resulted in replaced passwords and other private data with their encrypted versions of hiera (I had configured yaml as a fallback for eyaml).
After configuring eyaml as the only backend for hiera I got he following error:
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Function lookup() did not find a value for the name 'automysqlbackup::backup::mysql_dump_username' on node eclair.dwnet
and this log on the puppetmaster:
I use eyaml 2.1.0 and tried already to install the gem on the puppetserver again, without any success (the installation worked, but I got the same errors). My hiera.yaml configuration:
Decrypting the file with the eyaml command directly returns the decrypted content of the file.
This could be related to https://tickets.puppetlabs.com/browse/PUP-7215 (?)
After rolling back puppetserver and puppet-agent, anything is working now again.
The text was updated successfully, but these errors were encountered: