Project

General

Profile

Actions

Bug #6424

closed

Remove python dependency for rudder-agent

Added by Peter Keresztes about 6 years ago. Updated about 6 years ago.

Status:
Released
Priority:
2
Assignee:
Matthieu CERDA
Category:
Packaging
Target version:
Severity:
User visibility:
Effort required:
Priority:

Description

Hello,

Installing rudder-agent on debian wheezy minimal install does not install it's depencency package (python3)

regards,
Peter

Edit, FAR: to be more precise, the problem is at least on the script:/var/rudder/tools/check_rsyslog_version
The reported error is:

2015-03-18T10:30:24-0400 error:
/default/check_rsyslog_version/commands/'/var/rudder/tools/check_rsyslog_version'[0]: Finished command
related to promiser '/var/rudder/tools/check_rsyslog_version' -- an error occurred, returned 127

Trying to exec the script leads to:

/var/rudder/tools/check_rsyslog_version -bash: /var/rudder/tools/check_rsyslog_version:
/usr/bin/python: bad interpreter: No such file or directory root@proxmox:~#
/var/rudder/tools/check_rsyslog_version -bash: /var/rudder/tools/check_rsyslog_version: /usr/bin/python:
bad interpreter: No such file or directory

Python 2.7 output a lot of errors.

Actions #1

Updated by François ARMAND about 6 years ago

  • Project changed from Rudder websites to Rudder
  • Subject changed from rudder-agent does not install dependencies to Missing Python 3 dependency on rudder-agent
  • Description updated (diff)
  • Category set to Packaging
  • Found in version(s) old 3.0.1, 3.0.2 added
Actions #2

Updated by François ARMAND about 6 years ago

  • Description updated (diff)
Actions #3

Updated by Matthieu CERDA about 6 years ago

  • Subject changed from Missing Python 3 dependency on rudder-agent to Missing Python dependency on rudder-agent
  • Category changed from Packaging to System integration
  • Status changed from New to In progress
  • Assignee set to Matthieu CERDA
  • Priority changed from N/A to 2
  • Target version set to 2.10.12
  • How to reproduce updated (diff)

This dependency should never have happened, we shouldn't depend on yet another complete language runtime just for one small utility ...

Rewriting this in plain ol' shell script.

Actions #4

Updated by Matthieu CERDA about 6 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Matthieu CERDA to Benoît PECCATTE
  • % Done changed from 0 to 100
Actions #5

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 2.10.12 to 2.10.13
Actions #6

Updated by Benoît PECCATTE about 6 years ago

  • Status changed from Pending technical review to Discussion
  • Assignee changed from Benoît PECCATTE to Matthieu CERDA
Actions #7

Updated by Matthieu CERDA about 6 years ago

  • Status changed from Discussion to Pending release

Applied in changeset rudder-techniques|commit:be79761ceef821b0450930313f3f64c953b8e498.

Actions #8

Updated by Benoît PECCATTE about 6 years ago

Applied in changeset rudder-techniques|commit:dac754690d00e0fbbed97b4a69abccfd4d485989.

Actions #9

Updated by Nicolas CHARLES about 6 years ago

  • Subject changed from Missing Python dependency on rudder-agent to Remove need of Python for rudder-agent (for packages version checks)

This ticket name is really misleading... we removed the dependency on Python

Actions #10

Updated by Vincent MEMBRÉ about 6 years ago

  • Subject changed from Remove need of Python for rudder-agent (for packages version checks) to Remove python dependency for rudder-agent
  • Category changed from System integration to Packaging
Actions #11

Updated by Vincent MEMBRÉ about 6 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.13, 2.11.10 and 3.0.4 which were released today.

Actions

Also available in: Atom PDF