Moving a node from an environment to new one causes error

7 views
Skip to first unread message

Subhi Andrews

unread,
Oct 18, 2017, 12:54:47 PM10/18/17
to Puppet Users
We are windows environment. 

Moved a couple of nodes were moved from our existing environment named tlc to citrix:

Here's our master puppet.conf:
    rundir = /var/run/puppet

    # Where SSL certificates are kept.
    # The default value is '$confdir/ssl'.
    ssldir = $vardir/ssl

    environment = development

[master]
    #Puppet DNS hostname
    dns_alt_names = puppetdev, puppetmaster, puppetdev.parallaxfund.com, puppetdev.parallaxfund.com
    report = true
    tagmap = /etc/puppet/tagmail.conf
    reports = puppetdb,console,tagmail
    pluginsync = true

[agent]
    # The file in which puppetd stores a list of the classes
    # associated with the retrieved configuratiion.  Can be loaded in
    # the separate ``puppet`` executable using the ``--loadclasses``
    # option.
    # The default value is '$confdir/classes.txt'.
    classfile = $vardir/classes.txt

    # Where puppetd caches the local configuration.  An
    # extension indicating the cache format is added automatically.
    # The default value is '$confdir/localconfig'.
    localconfig = $vardir/localconfig
    report = true
    pluginsync =true

[citrix]
    manifest = /etc/puppet/citrix/manifests/site.pp
[tlc]
    manifest = /etc/puppet/tlc/manifests/site.pp
[test]
    manifest = /etc/puppet/test/manifests/site.pp
#    modulepath = /etc/puppet/test/modules
[production]
    manifest = /etc/puppet/production/manifests/site.pp
    modulepath = /etc/puppet/production/modules
[ds]
    manifest = /etc/puppet/ds/manifests/site.pp

===================================================
agent puppet.conf:
[main]
server=pfny5pptdev02
pluginsync=true
autoflush=true
environment=development

[agent]
environment=citrix
runinterval=300

====================================================

If we remove citrix environment from master puppet.conf file and add the  nodes back to tlc environment it still works.

Here's the error we see when we run the agent in test option:
PS C:\Users\sandrews> puppet agent --test --environment=citrix
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find default node or by name with '
pfny5ctx03.parallaxfund.com, pfny5ctx03.parallaxfund, pfny5ctx03, PFNY5CTX03.parallaxfund.com, PFNY5CTX03.parallaxfund,
PFNY5CTX03' on node pfny5ctx03.parallaxfund.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
==============================================================================

From puppetserver-access.log, citrix environment


10.40.50.103 - - [18/Oct/2017:09:20:39 -0700] "POST /citrix/catalog/pfny5ctx03.parallaxfund.com HTTP/1.1" 400 212 "-" "Ruby" 73
10.40.50.103 - - [18/Oct/2017:09:20:39 -0700] "GET /tlc/file_metadatas/pluginfacts?links=manage&recurse=true&ignore=.svn&ignore=CVS&ignore=.git&checksum_type=md5 HTTP/1.1" 200 278 "-" "Ruby" 17


Our puppet version is 3.8.7. Anyone has any clues on how to solve this?


Thanks a lot,

Subhi.

Reply all
Reply to author
Forward
0 new messages