Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JDK server upgrades cause unexpected /bin/cat errors to appear on agents #2900

Open
gcoxmoz opened this issue Jan 28, 2025 · 0 comments
Open
Labels

Comments

@gcoxmoz
Copy link

gcoxmoz commented Jan 28, 2025

Steps to Reproduce

  • Rocky 9 puppetserver, downgrade to 'not-the-latest' java-17-openjdk-headless package, spin up OSP puppetserver
  • agent nodes (various Linux flavors, mostly CentOS7 through Rocky9) established and happy
  • dnf upgrade java-17-openjdk-headless on the puppetserver node, do not take any extraordinary action to restart puppetserver (it won't notice on its own).
  • do agent runs against the puppetserver

Describe the Bug

Agent nodes begin showing:

Notice: Catalog compiled by [puppetserver-compiler.name]
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Exception while executing '/bin/cat': Cannot run program "/bin/cat" (in directory "."): error=2, No such file or directory on node [node.name]

Expected Behavior

"No unexplained errors" would be desirable. Whether that's "no error appears on the agent" or "a less dire one appears on the agent" or "puppetserver can detect an underlying change happened and deal with it or whine for a restart" or "explicit 'yodawg, gotta restart puppetserver'" docs/instructions somewhere, I leave up to the implementor.

Environment

  • Puppet 8 agents and server
  • Rocky 9 server, Rocky 8-9 agents
@gcoxmoz gcoxmoz added the bug label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant