Project

General

Profile

Actions

Bug #8620

closed

Bundle "fetchFusionTools": bug in OS version check

Added by Dmitry Svyatogorov almost 8 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
System techniques
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Infrequent - complex configurations | third party integrations
Effort required:
Medium
Priority:
20
Name check:
Fix check:
Regression:

Description

Bundle "fetchFusionTools" explores linux version basing on weak criterias. (In other places, things are doing well.)

Rudder agent 3.2.4-trusty0 (CFEngine Core 3.7.1) (prepackaged from http://www.rudder-project.org/apt-3.2/) @ Ubuntu 14.04.3 LTS

#echo "Red Hat Enterprise Linux Server release 6.5 (Santiago)" > /etc/redhat-release
#rudder agent run -v > rudder.log
…bundle fetchFusionTools
…
rudder  verbose: P:    Base context class: redhat
rudder  verbose: P:    Container path : '/default/rudder_system_directives/methods/'Rudder system policy: daily inventory/Inventory'/default/fetchFusionTools/packages/'curl'[0]'
rudder  verbose: P:
rudder  verbose: P:    Comment:  Installing curl using yum

Yes, it considers RHEL onboard (instead of ubuntu) and stucks with trying to implement yum!
Since now, inventory task newer succeeds (but reports are sending, but at each agent pass, despite reporting settings).

  • Why "/etc/redhat-release" on debian|ubuntu at all? Because of vendor's HW support "nuances"…
Actions

Also available in: Atom PDF