Closed lordwebbie closed 6 months ago
@lordwebbie I can't reproduce this. There's something going on in your environment. If I had to guess you have a mix of ruby and/or puppet versions. You're better off reaching out in community slack to help track down the issue:
root@red-empathy:~# dpkg-query -W puppet-agent
puppet-agent 7.30.0-1bookworm
root@red-empathy:~# facter os
{
architecture => "amd64",
distro => {
codename => "bookworm",
description => "Debian GNU/Linux 12 (bookworm)",
id => "Debian",
release => {
full => "12.5",
major => "12",
minor => "5"
}
},
family => "Debian",
hardware => "x86_64",
name => "Debian",
release => {
full => "12.5",
major => "12",
minor => "5"
},
selinux => {
enabled => false
}
}
root@red-empathy:~# puppet agent --configprint confdir
/etc/puppetlabs/puppet
root@red-empathy:~# puppet agent --configprint confdir
/etc/puppetlabs/puppet
root@red-empathy:~# puppet agent --configprint confdir
/etc/puppetlabs/puppet
root@red-empathy:~# puppet agent --configprint confdir
/etc/puppetlabs/puppet
root@red-empathy:~# puppet agent --configprint confdir
/etc/puppetlabs/puppet
root@red-empathy:~# puppet agent --configprint confdir
/etc/puppetlabs/puppet
root@red-empathy:~# puppet agent --configprint confdir
/etc/puppetlabs/puppet
Describe the Bug
For a project, we operate approx. 40 servers of exact same hardware specifications. On most of them, puppet runs stable. But on several others, puppet seems to be instable and throws random errors. We do not have any clue, what the problem could be.
Expected Behavior
Puppet agent should not throw random errors.
Steps to Reproduce
To reproduce, we can just use any simple puppet agent command and execute it multiple times after one another.
e.g. configprint:
Example: confdir
or even only version output:
Environment
Version 7.30.0
andVersion 7.23.0
Debian Bookworm
and also on some servers running onDebian Bullseye
.Linux host 6.5.13-5-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.13-5 (2024-04-05T11:03Z) x86_64 GNU/Linux
Linux host 6.5.11-8-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.11-8 (2024-01-30T12:27Z) x86_64 GNU/Linux
Additional Context
Nothing.