Enabling ENC fails puppet agent run
I am trying to migrate my environment from PE to opensource puppet. I have new box where i fresh installed latest version of puppet, mcollective, activemq.
activemq-5.8.0-3.el5.centos mcollective-2.5.3-1.el5 puppetlabs-release-5-10 puppet-3.6.2-1.el5 mcollective-client-2.5.3-1.el5 facter-2.1.0-1.el5 puppet-server-3.6.2-1.el5 mcollective-common-2.5.3-1.el5
I configured everything as per the docs and ensured the catalog was applied to the agent node. For now, i have only 1 host acting as my master, agent, ca, everything.
I applied a class to this node via site.pp's default node definition. The catalog compilation worked well and the configs were applied.
Later i tried to use the ENC ( which i already in use in my PE 2.8 environment ) in my open source puppet environment for node classification This ENC uses mco inventory to capture puppet facts + custom facts and assign a node to classes and set global parameters. The ENC works well on command line. ( Note it does not set environment ) However; once i enable node-terminus = exec and external_nodes = script; i get following error
Warning: Unable to fetch my node definition, but the agent run will continue: Warning: execution expired Info: Retrieving pluginfacts Error: Could not retrieve pluginfacts: execution expired ..
With node_terminus disabled, and node classification done using site.pp; everything works perfectly.
trace shows following
Debug: Puppet::Network::Format[msgpack]: feature msgpack is missing
Debug: filemetadata supports formats: pson b64zlibyaml yaml raw
Error: Could not retrieve pluginfacts: execution expired
tried deleting the cert and re-signing; same error