Project

General

Profile

Bug #13964

Os name for sles 12 is not correct in 5.0 inventories

Added by Félix DALLIDET about 1 month ago. Updated 5 days ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

Description

When running a scenario on a sles12 machine with RTF, the initial tests contain an inventory sample test.
It fails because the OS_NAME is '%s' which is for sure not wanted.
It was seen on a 5.0.4

     <HARDWARE>
      <ARCHNAME>x86_64-linux-thread-multi</ARCHNAME>
      <CHASSIS_TYPE>Other</CHASSIS_TYPE>
      <CHECKSUM>131071</CHECKSUM>
      <DATELASTLOGGEDUSER>Wed Dec 12 16:34</DATELASTLOGGEDUSER>
      <DNS>8.8.8.8/8.8.4.4</DNS>
      <ETIME>1</ETIME>
      <IPADDR>10.0.2.15/192.168.41.2</IPADDR>
      <LASTLOGGEDUSER>vagrant</LASTLOGGEDUSER>
      <MEMORY>1481</MEMORY>
      <NAME>server</NAME>
      <OSCOMMENTS>#1 SMP Tue May 29 21:04:44 UTC 2018 (cd0437b)</OSCOMMENTS>
      <OSNAME>%s</OSNAME>
      <OSVERSION>4.12.14-23-default</OSVERSION>
      <PROCESSORN>1</PROCESSORN>
      <PROCESSORT>Intel Core Processor (Haswell, no TSX)</PROCESSORT>
      <UUID>3DB5964D-76A0-4374-B86F-9A2CC09CE8F9</UUID>
      <VMSYSTEM>VirtualBox</VMSYSTEM>
    </HARDWARE>

Associated revisions

Revision 4643369e (diff)
Added by Félix DALLIDET 30 days ago

Fixes #13964: Add support to os-release file in inventory

History

#1 Updated by Félix DALLIDET 30 days ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET

#2 Updated by Félix DALLIDET 30 days ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/1739

#3 Updated by Félix DALLIDET 30 days ago

  • Subject changed from error in inventory on sles12 to Add support to os-release file in inventory
  • Assignee changed from Nicolas CHARLES to Félix DALLIDET

#4 Updated by Félix DALLIDET 30 days ago

  • Assignee changed from Félix DALLIDET to Nicolas CHARLES

#5 Updated by Félix DALLIDET 29 days ago

  • Status changed from Pending technical review to Pending release

#6 Updated by Vincent MEMBRÉ 6 days ago

  • Subject changed from Add support to os-release file in inventory to Os name for sles 12 is not correct in 5.0 inventories

#7 Updated by Vincent MEMBRÉ 5 days ago

  • Status changed from Pending release to Released
This bug has been fixed in Rudder 5.0.4 which was released today.
Changelog

Also available in: Atom PDF