hiera-eyaml-gpg gives strange error

296 views
Skip to first unread message

Dirk Heinrichs

unread,
Jan 29, 2014, 9:43:22 AM1/29/14
to puppet...@googlegroups.com
Hi,

I'm trying to store some encrypted values in hiera, using either hiera-eyaml or hiera-eyaml-gpg. While hiera-eyaml (PKCS7 encryption) works fine, the agent gives the following error message when using hiera-eyaml-gpg:

Could not retrieve catalog from remote server: Error 400 on SERVER: Error from DataBinding 'hiera' while looking up 'the_secret_field': can't convert nil into String on node the_machine.example.com

Any ideas what could be wrong or how to debug this?

Bye...

    Dirk
--

Dirk Heinrichs, Senior Systems Engineer, Engineering Solutions
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Tel: +49 2226 1596666 (Ansage) 1149
Email: d...@recommind.com
Skype: dirk.heinrichs.recommind
www.recommind.com

Simon Hildrew

unread,
Jan 29, 2014, 11:27:57 AM1/29/14
to puppet...@googlegroups.com, d...@recommind.com
On Wednesday, 29 January 2014 14:43:22 UTC, Dirk Heinrichs wrote:
Hi,

I'm trying to store some encrypted values in hiera, using either hiera-eyaml or hiera-eyaml-gpg. While hiera-eyaml (PKCS7 encryption) works fine, the agent gives the following error message when using hiera-eyaml-gpg:

Could not retrieve catalog from remote server: Error 400 on SERVER: Error from DataBinding 'hiera' while looking up 'the_secret_field': can't convert nil into String on node the_machine.example.com

Any ideas what could be wrong or how to debug this?

I've not seen that before. 

What versions of puppet/hiera/hiera-eyaml/hiera-eyaml-gpg are you using? Is there anything in the log on the puppetmaster?

Can you raise an issue on the github project at https://github.com/sihil/hiera-eyaml-gpg with details on how you produced the error?

Thanks,
Simon
 

Dirk Heinrichs

unread,
Jan 30, 2014, 2:05:15 AM1/30/14
to Simon Hildrew, puppet...@googlegroups.com
Am 29.01.2014 17:27, schrieb Simon Hildrew:
On Wednesday, 29 January 2014 14:43:22 UTC, Dirk Heinrichs wrote:
Hi,

I'm trying to store some encrypted values in hiera, using either hiera-eyaml or hiera-eyaml-gpg. While hiera-eyaml (PKCS7 encryption) works fine, the agent gives the following error message when using hiera-eyaml-gpg:

Could not retrieve catalog from remote server: Error 400 on SERVER: Error from DataBinding 'hiera' while looking up 'the_secret_field': can't convert nil into String on node the_machine.example.com

Any ideas what could be wrong or how to debug this?

I've not seen that before. 

What versions of puppet/hiera/hiera-eyaml/hiera-eyaml-gpg are you using? Is there anything in the log on the puppetmaster?

Puppet is 3.4.2 on both master and agent, agent is Windows, though. Hiera is 1.3.1, hiera-eyaml 2.0.0 and hiera-eyaml-gpg is 0.4.

Server log (/var/log/messages) contains the same message as above.


Can you raise an issue on the github project at https://github.com/sihil/hiera-eyaml-gpg with details on how you produced the error?

Sure.

Dirk Heinrichs

unread,
Jan 30, 2014, 3:00:37 AM1/30/14
to Simon Hildrew, puppet...@googlegroups.com
Am 30.01.2014 08:05, schrieb Dirk Heinrichs:
Am 29.01.2014 17:27, schrieb Simon Hildrew:

Can you raise an issue on the github project at https://github.com/sihil/hiera-eyaml-gpg with details on how you produced the error?

Sure.

Reply all
Reply to author
Forward
0 new messages