Project

General

Profile

Actions

Bug #29917

open

Salt report script "upload-salt-reports" broken

Added by Fabrice Brimioulle almost 4 years ago. Updated almost 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 #1

Updated by Markus Bucher almost 4 years ago

  • Pull request https://github.com/theforeman/smart_proxy_salt/pull/46 added

Looks like this will be fixed in the next SmartProxy Salt-plugin release

Actions #2

Updated by Markus Bucher almost 4 years ago

  • Pull request https://github.com/theforeman/foreman-packaging/pull/5371 added
Actions

Also available in: Atom PDF