Bug #33040
hammer host package upgrade-all doesn't update all packages
Description
Description of problem:
hammer host package upgrade-all doesn't update all packages on host, whereas `yum update` on host does update those all packages.
How reproducible:
Always
Steps to Reproduce:
1. Enable/Install katello-agent from foreman-installer.
2. Register content host with any repo with 2 or more version of same package, consider "test_package"
3. Install test_package(which is latest) and then downgrade test_package.
4. install katello-host-tools on the content-host
5. Now try `hammer host package upgrade-all --host-id <host-id>`
Actual results:
test_package still has downgrade/old version.
Expected results:
test_package should be updated, with upgrade-all.
Additional info:
Same behavior with the Update ALL actions via UI
Associated revisions
History
#1
Updated by Partha Aji over 1 year ago
- Bugzilla link set to 1979210
#2
Updated by The Foreman Bot over 1 year ago
- Assignee set to Partha Aji
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/9474 added
#3
Updated by James Jeffers over 1 year ago
- Triaged changed from No to Yes
- Target version set to Katello 4.1.2
#4
Updated by Jeremy Lenz over 1 year ago
- Target version changed from Katello 4.1.2 to Katello 4.1.3
#5
Updated by The Foreman Bot over 1 year ago
- Fixed in Releases Katello 4.3.0 added
#6
Updated by The Foreman Bot over 1 year ago
- Pull request https://github.com/Katello/katello/pull/9506 added
#7
Updated by Partha Aji over 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|5deb1ecf363b724807b1d69bd913988e1355edfe.
Fixes #33040 - Enables upgrade-all via agent actions (#9474)
Update app/lib/katello/agent/base_message.rb
Co-authored-by: Jeremy Lenz <jlenz@redhat.com>
Co-authored-by: Jeremy Lenz <jlenz@redhat.com>