On Thursday, May 15, 2014 12:14:41 PM UTC-5, mike wrote:
>
> Hi everyone,
> I'm setting in my Puppet the MySQL module with Hiera but when i run the 
> node agent i give the error. 
>
> --------------
> [root@node1 ~]# puppet agent --test
> Info: Retrieving plugin
> Error: Could not retrieve catalog from remote server: wrong header line 
> format
> Warning: Not using cache on failed catalog
> Error: Could not retrieve catalog; skipping run
> --------------
>
>

To me, that says the agent successfully connects to the server on the 
expected port, but the response is not what it expects.  Yours is not one 
of the usual error messages attending SSL problems, so I'm supposing that 
the agent and master are satisfied with each other's credentials.  After 
that, though, the server responds with something different from what the 
agent expects.

Supposing that the master is running in an external Rack server such as 
Passenger, my guess would be that the server's container (e.g. Apache) is 
returning an HTML page -- maybe an error page -- instead of a catalog.

You can test all that by monitoring network traffic between agent and 
master via Wireshark or a similar tool.

 

> My configuration is the next 
>
>

Your manifest set and data are unlikely to be the problem.  The agent / 
master protocol has provisions for the master to return error messages to 
the agent, which it will use when it has any problem compiling a catalog.  
The error message you present is from a different, lower, agent-side layer.


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/d94ffc3d-e93f-4cf8-a9fa-0d35ceff4946%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to