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

Fact 'jenkins_plugins' can exceed value length limit: 4096 #1048

Open
zipkid opened this issue Aug 30, 2022 · 4 comments · May be fixed by #1050
Open

Fact 'jenkins_plugins' can exceed value length limit: 4096 #1048

zipkid opened this issue Aug 30, 2022 · 4 comments · May be fixed by #1050

Comments

@zipkid
Copy link
Member

zipkid commented Aug 30, 2022

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 7.17.0
  • Ruby: /opt/puppetlabs/puppet/bin/ruby --version : ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [aarch64-linux]
  • Distribution: Debian GNU/Linux 11 (bullseye)

What are you seeing

Info: Loading facts
Warning: Fact value 'JDK_Parameter_Plugin .... workflow-step-api 622.vb_8e7c15b_c95a_, workflow-support 804.vba10a18a1476, ws-cleanup 0.40' with the value length: '4944' exceeds the value length limit: 4096
@ekohl
Copy link
Member

ekohl commented Aug 30, 2022

This is probably because they increased version numbers to longer strings. We should really convert it to a structured fact.

@ekohl
Copy link
Member

ekohl commented Jan 13, 2023

"Good" news! I can now reproduce this too.

@iscb1962
Copy link

Do we have a date when the fix for this will be implemented (there's a comment from Sep 2022 which links to a pull request which changes the fact to a structured fact - obviously I do not know if that is the full story) ?

Or at very least do we have some instructions on how to prevent the warning when we run puppet on the node(s) using this jenkins module.

Finally is there any other impact than a warning - ie is something likely to fail / not fully operate ?

@zipkid
Copy link
Member Author

zipkid commented Feb 21, 2025

You can remove the warning by setting https://www.puppet.com/docs/puppet/7/configuration.html#fact-value-length-soft-limit to a higher value. It is only a warning and will not break anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants