Actions
Feature #35865
closedSupport new Debian unstable OS facts
Description
lsb_release / base-files in Debian unstable changed its output data, and thus facter reports different values. Because they contain a "/", facts upload fail with this error:
During the fact upload the server responded with: 500 Internal Server Error. Error is ignored and the execution continues.
{
"error": {"message":"Validation failed: Major version is not a number, Major version Operating System version is required"}
}
facter output (from puppet-agent 7.21.0-1bullseye deb):
os => {
architecture => "amd64",
distro => {
codename => "bookworm",
description => "Debian GNU/Linux bookworm/sid",
id => "Debian",
release => {
full => "bookworm/sid",
major => "bookworm/sid"
}
},
family => "Debian",
hardware => "x86_64",
name => "Debian",
release => {
full => "bookworm/sid",
major => "bookworm/sid"
},
selinux => {
enabled => false
}
}
$ /opt/puppetlabs/bin/facter --version 4.2.14
$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux bookworm/sid Release: n/a Codename: bookworm
Debian bug about the change: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021663
Updated by The Foreman Bot over 3 years ago
- Status changed from New to Ready For Testing
- Assignee set to Evgeni Golov
- Pull request https://github.com/theforeman/foreman/pull/9556 added
Updated by Chris Hofstaedtler over 3 years ago
- Found in Releases 3.4.1 added
Suggested PR works for me. Thanks!
Updated by Evgeni Golov over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|70dd491764821144898c221ff1665b1c926d9761.
Updated by Evgeni Golov over 3 years ago
- Category deleted (
Facts) - Assignee deleted (
Evgeni Golov) - Target version set to 3.5.1
- Fixed in Releases deleted (
3.6.0) - Found in Releases deleted (
3.4.1)
Updated by Evgeni Golov over 3 years ago
- Category set to Facts
- Assignee set to Evgeni Golov
- Fixed in Releases 3.6.0 added
- Found in Releases 3.4.1 added
Updated by Ewoud Kohl van Wijngaarden about 3 years ago
- Triaged changed from No to Yes
Actions