Project

General

Profile

Actions

Feature #35865

closed

Support new Debian unstable OS facts

Added by Chris Hofstaedtler almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Facts
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

Actions #1

Updated by The Foreman Bot almost 2 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
Actions #2

Updated by Chris Hofstaedtler almost 2 years ago

  • Found in Releases 3.4.1 added

Suggested PR works for me. Thanks!

Actions #3

Updated by The Foreman Bot almost 2 years ago

  • Fixed in Releases 3.6.0 added
Actions #4

Updated by Evgeni Golov almost 2 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Evgeni Golov almost 2 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)
Actions #6

Updated by Evgeni Golov almost 2 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
Actions #7

Updated by The Foreman Bot almost 2 years ago

  • Fixed in Releases 3.5.1 added
Actions #8

Updated by Ewoud Kohl van Wijngaarden over 1 year ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF