-
Bug
-
Resolution: Duplicate
-
Normal
-
None
-
None
-
None
-
False
-
-
False
-
?
-
None
-
-
-
Moderate
The dnf module does not always set the rc attribute on it's return value. The tasks in roles/edpm_bootstrap/tasks/packages.yml can then fail with "No attribute "rc"" related errors. We saw this happen due to dnf failing to install packages when their GPG signature couldn't be verified.
We should add checks for the rc attribute before assuming it exists.
When the dnf tasks do fail, we should also output stdout to see the actual error(s).
- duplicates
-
OSPRH-8911 Tasks to install packages fail with 'dict object' has no attribute 'rc'. 'dict object' has no attribute 'rc'"
-
- Closed
-