Actions
Bug #36369
closedConsider both 0 and 100 as valid exit codes for check-update yum action
Difficulty:
easy
Triaged:
No
Bugzilla link:
Description
Right now in https://github.com/theforeman/foreman_maintain/blob/master/lib/foreman_maintain/package_manager/yum.rb#L70-L73 we only consider exit code 100 as the code_of_success.
But if no package updates are available, Then satellite-maintain fails the check-update step as the exit code, in this case, would be 0.
If no package updates are present and the exit code from yum is 0, then also the check-update action should pass as a successful execution.
Updated by The Foreman Bot over 1 year ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_maintain/pull/729 added
Updated by Sayan Das over 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_maintain|f4f5e6252db4e6a1f9af689d35273eb3428cf0c1.
Updated by The Foreman Bot over 1 year ago
- Pull request https://github.com/theforeman/foreman_maintain/pull/743 added
Actions