Jira (PUP-8370) puppet runs generate a misleading error when hiera-eyaml is configured but not installed

8 views
Skip to first unread message

Thomas Kishel (JIRA)

unread,
Jan 18, 2018, 7:45:05 PM1/18/18
to puppe...@googlegroups.com
Thomas Kishel updated an issue
 
Puppet / Bug PUP-8370
puppet runs generate a misleading error when hiera-eyaml is configured but not installed
Change By: Thomas Kishel
Summary: {brief summary of issue} puppet runs generate a misleading error when hiera-eyaml is configured but not installed
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db)
Atlassian logo

Thomas Hallgren (JIRA)

unread,
Jan 22, 2018, 7:33:03 AM1/22/18
to puppe...@googlegroups.com
Thomas Hallgren commented on Bug PUP-8370
 
Re: puppet runs generate a misleading error when hiera-eyaml is configured but not installed

Yes, the text "on node xxx" is indeed concatenated to the message (which clearly stems from the server) in a very bad way. We have work in progress to change this in PUP-8284.

Thomas Hallgren (JIRA)

unread,
Jan 22, 2018, 7:34:03 AM1/22/18
to puppe...@googlegroups.com

Henrik Lindberg (JIRA)

unread,
Jan 22, 2018, 7:45:02 AM1/22/18
to puppe...@googlegroups.com
Henrik Lindberg commented on Bug PUP-8370
 
Re: puppet runs generate a misleading error when hiera-eyaml is configured but not installed

I think we should also update the specific error message to say eyaml support must be available to the compiler/where the compilation takes place. Just saying that it must be "present" leaves out all information where it is supposed to be present. (Then on top of that - there is the concatenation of "on node" - that is misleading).

Thomas Hallgren (JIRA)

unread,
Jan 22, 2018, 8:01:04 AM1/22/18
to puppe...@googlegroups.com

Not sure I agree with that. It's clearly a server error which tells you that the lookup_key function is impaired because the hiera_eyaml library is missing. Without the confusing addition with "on node", it's rather easy to deduct that the library is missing on the server. Adding "not present on the server" will hence not make the message clearer, it will just repeat the term "server" a fourth time in the message.

Henrik Lindberg (JIRA)

unread,
Jan 22, 2018, 8:22:01 AM1/22/18
to puppe...@googlegroups.com

The "on the server" is also not correct if this is when you are doing an apply - it needs to be where the compiler is compiling. The best would be if it could say concretely where it needs to be present (hostname of "running compiler").

Thomas Hallgren (JIRA)

unread,
Jan 22, 2018, 9:17:02 AM1/22/18
to puppe...@googlegroups.com

Josh Cooper (JIRA)

unread,
Jan 23, 2018, 8:14:03 PM1/23/18
to puppe...@googlegroups.com

Josh Cooper (JIRA)

unread,
Jan 23, 2018, 8:14:04 PM1/23/18
to puppe...@googlegroups.com

David McTavish (Jira)

unread,
Dec 1, 2021, 11:48:03 AM12/1/21
to puppe...@googlegroups.com
David McTavish updated an issue
Change By: David McTavish
Labels: final_triage
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Josh Cooper (Jira)

unread,
Dec 3, 2021, 11:19:02 AM12/3/21
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Dec 3, 2021, 11:19:02 AM12/3/21
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Feb 23, 2022, 9:51:03 PM2/23/22
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-8370
 
Re: puppet runs generate a misleading error when hiera-eyaml is configured but not installed

We now ship hiera-eyaml with the puppetserver package, so I'm going to close this.

# /opt/puppetlabs/server/bin/puppetserver gem list | grep hiera
hiera-eyaml (3.2.2)

This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages