Project

General

Profile

Bug #15586

Uuid generation fails on AIX 7.2

Added by François ARMAND 3 months ago. Updated 2 months ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
84
Tags:

Description

On AIX 7.2, uuid generation fails which obviously blocks agent installation.

If we modify uuidgen by uuid_get, the installation is able to succeed:

# cat /opt/rudder/bin/rudder-uuidgen

#!/bin/sh

if [ -x /usr/bin/uuid_get ]
then
  /usr/bin/uuid_get
…

And:

/opt/rudder/share/commands/agent-factory-reset :

if [ -x /usr/bin/uuid_get  ]
then
  /usr/bin/uuid_get  > /opt/rudder/etc/uuid.hive
else
  uuidgen > /opt/rudder/etc/uuid.hive
fi

Subtasks

Bug #15592: Factory reset does not work on AIX 7.2RejectedVincent MEMBRÉActions

Associated revisions

Revision c0a25ff9 (diff)
Added by Vincent MEMBRÉ 3 months ago

Fixes #15586: uuid generation fails on AIX 7.2

History

#1

Updated by François ARMAND 3 months ago

  • Description updated (diff)
#2

Updated by François ARMAND 3 months ago

  • Description updated (diff)
#3

Updated by Vincent MEMBRÉ 3 months ago

  • Status changed from New to In progress
  • Assignee set to Vincent MEMBRÉ
#4

Updated by Vincent MEMBRÉ 3 months ago

  • Subject changed from uuid generation fails on AIX to uuid generation fails on AIX 7.2
#5

Updated by Vincent MEMBRÉ 3 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/2049
#6

Updated by Vincent MEMBRÉ 3 months ago

  • Status changed from Pending technical review to Pending release
#7

Updated by Vincent MEMBRÉ 3 months ago

We don't need to update fatory-reset command since it already use /opt/rudder/bin/uuidgen, which is fixed here

#8

Updated by Vincent MEMBRÉ 3 months ago

  • Target version changed from 5.0.14 to 5.0.13
#11

Updated by Vincent MEMBRÉ 2 months ago

  • Subject changed from uuid generation fails on AIX 7.2 to Uuid generation fails on AIX 7.2
#12

Updated by Vincent MEMBRÉ 2 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 5.0.13 which was released today.

Also available in: Atom PDF