Project

General

Profile

Actions

Bug #16140

closed

Rudder-metrics-report does not work in python3

Added by Félix DALLIDET about 5 years ago. Updated about 5 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:

Description

It throws errors related to the switch between bytes and str types introduced in python3.
something like:

root@server:~# /opt/rudder/bin/rudder-metrics-reporting -s
Traceback (most recent call last):
  File "/opt/rudder/bin/rudder-metrics-reporting", line 274, in <module>
    file.write(data)
  File "/usr/lib/python3.7/tempfile.py", line 620, in func_wrapper
    return func(*args, **kwargs)
Actions #1

Updated by Félix DALLIDET about 5 years ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET
Actions #2

Updated by Félix DALLIDET about 5 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/2134
Actions #3

Updated by Félix DALLIDET about 5 years ago

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

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 6.0.0~beta1 to 6.0.0
Actions #5

Updated by Félix DALLIDET about 5 years ago

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

Updated by Alexis Mousset about 5 years ago

  • Status changed from Pending release to Released

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

Actions

Also available in: Atom PDF