Linux client - troubleshooting "JobFailed - cancel and fail action" "DownloadJobFailed"

Dear Experts,
How can I troubleshoot error “JobFailed - cancel and fail action” “DownloadJobFailed” found in the Linux client log?

Thank you,
Aleksandr

Please see fragment of the log below:

ActionLogMessage: (group:2620234,action2620275) Download url: 'RHSMProtocol://get.file/aHR0cHM6Ly9jZG4ucmVkaGF0LmNvbS9jb250ZW50L2Zhc3RyYWNrL3JoZWwvc2VydmVyLzYveDg2XzY0L29wdGlvbmFsL29zLw==/repodata/523c9563b87375a890623d3cbb140ca9f86dcb90-primary.sqlite.bz2’
ActionLogMessage: (group:2620234,action2620275) Download url: 'RHSMProtocol://get.file/aHR0cHM6Ly9jZG4ucmVkaGF0LmNvbS9jb250ZW50L2Zhc3RyYWNrL3JoZWwvc2VydmVyLzYveDg2XzY0L29wdGlvbmFsL29zLw==/repodata/9758600196b99d1973d8fd86edb8b465b0dd74c2-filelists.sqlite.bz2’
ActionLogMessage: (group:2620234,action2620275) Download url: 'RHSMProtocol://get.file/aHR0cHM6Ly9jZG4ucmVkaGF0LmNvbS9jb250ZW50L2Zhc3RyYWNrL3JoZWwvc2VydmVyLzYveDg2XzY0L29wdGlvbmFsL29zLw==/repodata/a7117fd1f46d80d8bc6fde75de679a27bdf0f4d8-other.sqlite.bz2’
ActionLogMessage: (group:2620234,action2620275) Download url: 'RHSMProtocol://get.file/aHR0cHM6Ly9jZG4ucmVkaGF0LmNvbS9jb250ZW50L2Zhc3RyYWNrL3JoZWwvc2VydmVyLzYveDg2XzY0L29wdGlvbmFsL29zLw==/repodata/b632ce6c5705442fd0752a9024375bf0144222d61b7530878f6799885276719b-updateinfo.xml.gz’
ActionLogMessage: (group:2620234,action2620275) Download url: 'RHSMProtocol://get.file/aHR0cHM6Ly9jZG4ucmVkaGF0LmNvbS9jb250ZW50L2Zhc3RyYWNrL3JoZWwvc2VydmVyLzYveDg2XzY0L29wdGlvbmFsL29zLw==/repodata/repomd.xml’
ActionLogMessage: (group:2620234,action2620275) Download url: 'RHSMProtocol://get.file/aHR0cHM6Ly9jZG4ucmVkaGF0LmNvbS9jb250ZW50L2Zhc3RyYWNrL3JoZWwvc2VydmVyLzYveDg2XzY0L29zLw==/repodata/397dabce4718f5286f644a58355bd749bd5fef60-updateinfo.xml.gz’
ActionLogMessage: (group:2620234,action2620275) Download url: 'RHSMProtocol://get.file/aHR0cHM6Ly9jZG4ucmVkaGF0LmNvbS9jb250ZW50L2Zhc3RyYWNrL3JoZWwvc2VydmVyLzYveDg2XzY0L29zLw==/repodata/9b6b24fe3b9e7911b784f61c388a776fb1e1ef8d-primary.sqlite.bz2’
ActionLogMessage: (group:2620234,action2620275) Download url: 'RHSMProtocol://get.file/aHR0cHM6Ly9jZG4ucmVkaGF0LmNvbS9jb250ZW50L2Zhc3RyYWNrL3JoZWwvc2VydmVyLzYveDg2XzY0L29zLw==/repodata/9d7e817bb0e16f8ac0faea2d1930de69ddc0d12b-filelists.sqlite.bz2’
ActionLogMessage: (group:2620234,action2620275) Download url: ‘RHSMProtocol://get.file/aHR0cHM6Ly9jZG4ucmVkaGF0LmNvbS9jb250ZW50L2Zhc3RyYWNrL3JoZWwvc2VydmVyLzYveDg2XzY0L29zLw==/repodata/e1ff7f9b682453469f4067f63ca8c37a96d6f1c9-other.sqlite.bz2’
ActionLogMessage: (group:2620234,action2620275) Download url: ‘RHSMProtocol://get.file/aHR0cHM6Ly9jZG4ucmVkaGF0LmNvbS9jb250ZW50L2Zhc3RyYWNrL3JoZWwvc2VydmVyLzYveDg2XzY0L29zLw==/repodata/repomd.xml’
At 21:35:00 -0500 -
Starting PrefetchPlugIn ‘execute prefetch plug-in’ “/bin/bash” -c “chmod +x ‘{parameter “rhelclient”}’” (action 2620275)
execute prefetch plug-in command completed. It took 1 seconds.
Starting PrefetchPlugIn ‘execute prefetch plug-in’ “/bin/bash” -c “mkdir -p ‘{parameter “EDR_DeployDataDir”}’” (action 2620275)
execute prefetch plug-in command completed. It took 1 seconds.
Starting PrefetchPlugIn ‘execute prefetch plug-in’ “/bin/bash” -c “cp -f ‘{download folder}’/repolist.json ‘{parameter “EDR_RepoList”}’” (action 2620275)
execute prefetch plug-in command completed. It took 1 seconds.
Starting PrefetchPlugIn ‘execute prefetch plug-in’ “/bin/bash” -c "TMPDIR=’{parameter “rhelclient_folder”}’ ‘{parameter “rhelclient”}’ --log_level ‘{parameter “debug_level”}’ --id ‘{parameter “fixletid”}’ --exit_code_file ‘{parameter “EDR_ExitCode”}’ --log_file ‘{parameter “EDR_Log”}’ setup --repos ‘{parameter “EDR_RepoList”}’ --yumcache ‘{parameter “EDR_YumFolder”}’ --dl_requests ‘{parameter “EDR_RepomdRequest”}’ --dl_mapping ‘{parameter “EDR_RepomdMapping”}’ --yumconfig ‘{parameter “EDR_Yumconfig”}’ --yumplugin_config ‘{parameter “yumplugin_config”}’ --yumplugin ‘{parameter “yumplugin”}’ --repo_refresh ‘{parameter “EDR_RepoRefresh”}’" (action 2620275)
execute prefetch plug-in command completed. It took 1 seconds.
At 21:35:01 -0500 -
ActionLogMessage: (group:2620234,action2620275) JobFailed - cancel and fail action
ActionLogMessage: (group:2620234,action2620275) DownloadJobFailed
At 21:35:06 -0500 -
ActionLogMessage: (group:2620234,action2620275) ending sub action
At 21:35:09 -0500 -
Starting PrefetchPlugIn ‘execute prefetch plug-in’ “/bin/bash” -c “chmod +x ‘{parameter “rhelclient”}’” (action 2620282)

Hello, take a look at the “Notes” at the following link:

https://developer.bigfix.com/action-script/reference/download/execute-prefetch-plug-in.html

The problem could be in the execution of your prefetch plugin.

In this case that looks like the RHSMPlugin. Check /var/opt/BESClient/EDRDeployData for logs.

Most commonly, your RHSM certificate expired, so you could also check the plugin on your root server.

1 Like

I’d also make sure you’ve pushed out Task 301: Import RPM-GPG-KEY-redhat-release.