Open madelaney opened 6 years ago
Hi @madelaney, after installing the module, have you restarted any puppet master/agent processes in order to ensure those files are available? Puppet sometimes behaves unexpectedly if you update/install a module without restarting the master/agent process afterwards.
@tylerjl part of my capistrano deployment issues the puppetserver reload
command, should that be puppetserver restart
?
@tylerjl For what it's worth, I've tried changing puppetserver reload
to puppetserver restart
but to no avail.
Hmm, I'd perhaps double check that 1) pluginsync is enabled, 2) the module has been installed to the correct path with all files intact (including the typical lib/
path, etc.) and 3) try restarting the Puppet service via the system init manager (not just puppetserver
) with systemctl
or service
, for example.
Run a 'puppet generate types' and a 'service puppetserver restart'
@marclambrichs Okay, i'll give that a shot. Thanks.
@marclambrichs I tried to run puppet generate types
but to no avail the command fails with a not very helpful message:
Error: no implicit conversion of nil into String
Error: Try 'puppet help generate types' for usage
Exit 1
I'm not aware of the puppet generate types
command - @marclambrichs, since you seem more familiar with it, is that command necessary in order to bring in custom types in recent versions of puppet? I don't recall having to use it before.
@tylerjl The machine that is running puppet off of has pretty poor i/o (disk) performance. Is it possible that there's a timeout that is being swallowed somewhere?
@madelaney I'm not aware of i/o problems that could impact it, though maybe increasing the log verbosity could help pinpoint where in the catalog application process things are breaking.
@tylerjl I was running with --verbose
and --test
but they still yield not helpful; or so I think. For your viewing pleasure, here is the stack trace in the puppetserver.log.
I'm hitting this too. 6.3.2 works, 6.3.3 gives the same error @madelaney gets.
I tried 6.3.2
in hopes that my scenario would mirror that of @alaunay but I still get the issue.
(After downgrading, I issued puppetserver restart
)
Actually, it worked for one server, but for another one I had to downgrade to 6.3.0 (or even to 6.2, I'm unsure). After that, upgrading again to the last version still worked. Very strange.
Bug description
When applying a puppet catalog, I get the following error:
I have the following setup:
With the following hiera config
Feature Description