Satellite upgrade check throws warning as locale environment variables were bad.
Issue
-
Satellite-maintain upgrade check --target-version="6.x"
results in warning# satellite-maintain upgrade check --target-version="6.x.z" /usr/share/rubygems/rubygems/version.rb:191:in `initialize': Malformed version number string 2020-09-15 12:54:14.646378 WARN puppetlabs.facter - locale environment variables were bad; continuing with LANG=C LC_ALL=C (ArgumentError)5.5.12
OR
/usr/share/ruby/json/common.rb:155:in `parse': 757: unexpected token at '2022-09-07 15:53:17.173973 WARN puppetlabs.facter - locale environment variables were bad; continuing with LANG=C LC_ALL=C (JSON::ParserError)
Environment
- Red Hat Satellite 6.10
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.