Project

General

Profile

Bug #1176

SLES (SUSE) operatingsystem not displaying minor version?

Added by Oliver Weinmann over 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Importers
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Hi,

When addind SLES based hosts to foreman it only displays them as SLES 11. Some of these hosts are SLES 11.1 and some are 11.0.

I checked the facts provided by facter and it does provide the correct values:

vb7542:~ # facter | grep oper
operatingsystem => SLES
operatingsystemrelease => 11.1

gedaiv106:~ # facter | grep oper
operatingsystem => SLES
operatingsystemrelease => 11.0

Regards,
Oliver


Related issues

Has duplicate Foreman - Bug #1379: SUSE OS defined more generically if lsb is installedDuplicate2011-12-07

Associated revisions

Revision 2e724820 (diff)
Added by Ohad Levy about 11 years ago

fixes #1176 - SLES (SUSE) operatingsystem not displaying minor version

Revision 0eeeee86 (diff)
Added by Oliver Weinmann about 11 years ago

fixes #1176 - SLES still did not display correct minor version

History

#1 Updated by Ohad Levy over 11 years ago

  • Project changed from Installer to Foreman

#2 Updated by Oliver Weinmann over 11 years ago

Hi,

I think I found the reason. Looking at the facts of a SLES 9.4 machine and a SLES 11 machine there are 2 new facts introduced:

lsbdistrelease

and

lsbdistmajrelease

both point to 11 which is correct. But this is the problem if they are used in foreman. operatingsystemrelease should be used as this is correct.

Can you please check?

Regards,
Oli

#3 Updated by Ohad Levy about 11 years ago

  • Category set to Importers
  • Assignee set to Ohad Levy
  • Target version set to 1.0

#4 Updated by Ohad Levy about 11 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF