Project

General

Profile

Actions

Bug #29917

open

Salt report script "upload-salt-reports" broken

Added by Fabrice Brimioulle over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Fixed in Releases:
Found in Releases:

Description

The upload of salt-reports is no longer working (except for apparently CentOS 7).

When manually triggering upload_salt_reports the script throws following error:

Traceback (most recent call last):
File "/usr/sbin/upload-salt-reports", line 151, in <module>
upload(jobs_to_upload())
File "/usr/sbin/upload-salt-reports", line 129, in upload
write_last_uploaded(job_id)
File "/usr/sbin/upload-salt-reports", line 69, in write_last_uploaded
f.write(last_uploaded)
TypeError: must be unicode, not str

Actions

Also available in: Atom PDF