Project

General

Profile

Actions

Bug #15586

closed

Uuid generation fails on AIX 7.2

Added by François ARMAND over 1 year ago. Updated over 1 year 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 1 (0 open1 closed)

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

Updated by François ARMAND over 1 year ago

  • Description updated (diff)
Actions #2

Updated by François ARMAND over 1 year ago

  • Description updated (diff)
Actions #3

Updated by Vincent MEMBRÉ over 1 year ago

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

Updated by Vincent MEMBRÉ over 1 year ago

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

Updated by Vincent MEMBRÉ over 1 year 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
Actions #6

Updated by Vincent MEMBRÉ over 1 year ago

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

Updated by Vincent MEMBRÉ over 1 year ago

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

Actions #8

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 5.0.14 to 5.0.13
Actions #11

Updated by Vincent MEMBRÉ over 1 year ago

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

Updated by Vincent MEMBRÉ over 1 year ago

  • Status changed from Pending release to Released

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

Actions

Also available in: Atom PDF