Jira (PUP-9036) Setting the client side environment to one that does not exist on the server causes the catalog to fail compilation

4 views
Skip to first unread message

Trevor Vaughan (JIRA)

unread,
Aug 2, 2018, 10:06:06 AM8/2/18
to puppe...@googlegroups.com
Trevor Vaughan created an issue
 
Puppet / Bug PUP-9036
Setting the client side environment to one that does not exist on the server causes the catalog to fail compilation
Issue Type: Bug Bug
Affects Versions: PUP 4.10.12
Assignee: Unassigned
Created: 2018/08/02 7:05 AM
Priority: Major Major
Reporter: Trevor Vaughan

Puppet Version: 4.10.12
Puppet Server Version: 2.8.1
OS Name/Version: CentOS 6 and 7

If you are running an ENC and set the client's configuration on the host to a non-existent environment, the puppet compile will fail.

If set to an existing environment, the ENC will correct it and the compile will not fail.

Desired Behavior:

The puppet compile should use the environment specified on the server for the entire transaction.

Actual Behavior:

Error: Could not retrieve catalog from remote server: Find /puppet/v3/catalog/my.host.name?environment=foo&facts_format=pson&facts=%257B%2522name%2522%... resulted in 404 with the message: {"message":"Not Found: Could not find environment 'foo'","issue_kind":"RUNTIME_ERROR"}

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Josh Cooper (JIRA)

unread,
Aug 2, 2018, 1:11:08 PM8/2/18
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-9036
 
Re: Setting the client side environment to one that does not exist on the server causes the catalog to fail compilation

Is the ENC configured to be authoritative or is the agent allowed to override the environment?

Josh Cooper (JIRA)

unread,
Aug 2, 2018, 1:11:10 PM8/2/18
to puppe...@googlegroups.com

Josh Cooper (JIRA)

unread,
Aug 2, 2018, 1:12:03 PM8/2/18
to puppe...@googlegroups.com

Trevor Vaughan (JIRA)

unread,
Aug 2, 2018, 5:29:03 PM8/2/18
to puppe...@googlegroups.com

Josh Cooper (JIRA)

unread,
Dec 12, 2019, 12:27:04 AM12/12/19
to puppe...@googlegroups.com

Josh Cooper (JIRA)

unread,
Dec 12, 2019, 12:27:04 AM12/12/19
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-9036
 
Re: Setting the client side environment to one that does not exist on the server causes the catalog to fail compilation

The error is come from the server/ENC so I don't think there's anything for us to do here. I'm going to close this as incomplete.

Josh Cooper (JIRA)

unread,
Dec 12, 2019, 12:27:04 AM12/12/19
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages