Jira (PUP-7456) When agent gets its environment set by an ENC and cannot connect to the master it will pluginsync from the production environment ( possibly removing custom facts, etc... )
2 views
Skip to first unread message
Nick Walker (JIRA)
unread,
Apr 19, 2017, 11:24:02 AM4/19/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
When agent gets its environment set by an ENC and cannot connect to the master it will pluginsync from the production environment ( possibly removing custom facts, etc... )
This error occurs because puppet logs a warning if it can't pluginsync, but doesn't abort the run. See PUP-1763. That's because there's a bug in puppetserver that causes it to fail the pluginsync request if it doesn't have at least one module installed, see PUP-2608. So we need to fix the latter issue first and then agents can differentiate between "the server doesn't have any modules" vs "the server encountered an error when trying to generate plugin metadata", as can often occur due to file permissions in the codedir. I'm going to close this as a dup of PUP-1763.