Project

General

Profile

Bug #33040

hammer host package upgrade-all doesn't update all packages

Added by Partha Aji 10 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hosts
Target version:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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

Revision 5deb1ecf (diff)
Added by Partha Aji 10 months ago

Fixes #33040 - Enables upgrade-all via agent actions (#9474)

Update app/lib/katello/agent/base_message.rb

Co-authored-by: Jeremy Lenz <>

Co-authored-by: Jeremy Lenz <>

Revision 0580278a (diff)
Added by Partha Aji 10 months ago

Refs #33040 - Readable upgrade-all tests (#9506)

Added a couple of suggestions from a prior pr that got missed.
Pr #9474

History

#1 Updated by Partha Aji 10 months ago

  • Bugzilla link set to 1979210

#2 Updated by The Foreman Bot 10 months 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 10 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 4.1.2

#4 Updated by Jeremy Lenz 10 months ago

  • Target version changed from Katello 4.1.2 to Katello 4.1.3

#5 Updated by The Foreman Bot 10 months ago

  • Fixed in Releases Katello 4.3.0 added

#6 Updated by The Foreman Bot 10 months ago

  • Pull request https://github.com/Katello/katello/pull/9506 added

#7 Updated by Partha Aji 10 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF