Bug #4664

Autogenerated OS description for SLES is wrong when more then one architecture is used

Added by Michael Moll over 3 years ago. Updated over 3 years ago.

Status:Closed
Priority:Low
Assigned To:Michael Moll
Category:Facts
Target version:Sprint 21
Difficulty: Bugzilla link:
Found in release:1.4.1 Pull request:
Story points-
Velocity based estimate-
Release1.5.0Release relationshipAuto

Description

based on a report on IRC:
<x> We have a mixture of RHEL and SLES boxes, running on x86_64 and s390x architectures
<x> On SLES 11, the x86_64 is being assigned to the Operating System tagged s390x with architecture
<x> in seems to be fact related, since we manually re-assigned it and when puppet runs it goes back to the s390x operating system

The problem here is, that the lsbdistdescrption fact is used as the display name for the OS. It's e.g. "SUSE Linux Enterprise Server 11 (x86_64)" or "SUSE Linux Enterprise Server 11 (s390x)".


Related issues

Related to Foreman - Bug #4800: "Description has already been taken" for some new SLES cl... Closed 03/24/2014
Duplicated by Foreman - Bug #4665: Operating Systems autocreated by Fact Imports from SLES i... Duplicate 03/14/2014

Associated revisions

Revision c88a5e53
Added by Michael Moll over 3 years ago

fixes #4664 - shorten OS description for SUSE

History

#1 Updated by Michael Moll over 3 years ago

  • Status changed from Assigned to Ready For Testing

#2 Updated by Dominic Cleal over 3 years ago

  • Target version set to Sprint 21

#3 Updated by Michael Moll over 3 years ago

  • Duplicated by Bug #4665: Operating Systems autocreated by Fact Imports from SLES improperly include the Architecture in the OS Description added

#4 Updated by Michael Moll over 3 years ago

I also thought about setting the SP via the operatingsystemrelease fact, but then you would need special handling for SLES. If that is really needed, ping me, then I'll implement it.

#5 Updated by Dominic Cleal over 3 years ago

  • Release set to 1.5.0

#6 Updated by Michael Moll over 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#7 Updated by Michael Moll over 3 years ago

  • Related to Bug #4800: "Description has already been taken" for some new SLES clients added

Also available in: Atom PDF