Project

General

Profile

Actions

Bug #15586

closed

Uuid generation fails on AIX 7.2

Added by François ARMAND over 5 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
70
Name check:
Reviewed
Fix check:
Checked
Regression:

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 5 years ago

  • Description updated (diff)
Actions #2

Updated by François ARMAND over 5 years ago

  • Description updated (diff)
Actions #3

Updated by Vincent MEMBRÉ over 5 years ago

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

Updated by Vincent MEMBRÉ over 5 years ago

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

Updated by Vincent MEMBRÉ over 5 years 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 5 years ago

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

Updated by Vincent MEMBRÉ over 5 years 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 5 years ago

  • Target version changed from 5.0.14 to 5.0.13
Actions #9

Updated by Vincent MEMBRÉ over 5 years ago

  • Fix check changed from To do to Checked
Actions #10

Updated by Alexis Mousset over 5 years ago

  • Name check changed from To do to Reviewed
Actions #11

Updated by Vincent MEMBRÉ over 5 years 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 5 years ago

  • Status changed from Pending release to Released

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

Actions #13

Updated by Alexis Mousset over 2 years ago

  • Priority changed from 84 to 70
Actions

Also available in: Atom PDF