Bug 1712069
Summary: | Bulk Action update all packages(via katello agent) fails. | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Rudnei Bertol Jr. <rbertolj> | |
Component: | Hosts - Content | Assignee: | Jonathon Turel <jturel> | |
Status: | CLOSED ERRATA | QA Contact: | Stephen Wadeley <swadeley> | |
Severity: | medium | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 6.5.0 | CC: | aruzicka, bbuckingham, dchaudha, gpadholi, inecas, jomitsch, jturel, ldelouw, mmccune, zhunting | |
Target Milestone: | 6.6.0 | Keywords: | Triaged | |
Target Release: | Unused | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | tfm-rubygem-katello-3.12.0.rc2-11 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1726840 (view as bug list) | Environment: | ||
Last Closed: | 2019-10-22 19:50:15 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: |
Description
Rudnei Bertol Jr.
2019-05-20 17:05:52 UTC
This was fixed upstream already, I'm associating the upstream issue with the BZ. Brad, can you make sure it is triaged appropriately? Upstream bug assigned to jturel Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/26433 has been resolved. Hello Jonathan Comment 0 describes getting to the Manage Packages menu, whose GUI label is "Update Packages", from the Content Hosts view. We have test automation code[1] to access that "Manage Packages" menu from the Host Collections view. Can you can confirm that using that path would be an acceptable test for the code path that caused this bug? Thank you In case it is, I have written [2] [1] manage_packages https://github.com/SatelliteQE/airgun/blob/4ae23257a7f5ad3a722dd0ac521de6d292d15961/airgun/entities/hostcollection.py#L68 [2] https://github.com/swadeley/robottelo/commit/c2e7c8daa5a1749c973d9705729f7641591bbfa5 or here https://github.com/swadeley/robottelo/blob/issue%236956/tests/foreman/ui_airgun/test_contenthost.py#L218 Hello Fixed in version says: tfm-rubygem-katello-3.12.0.rc2-11 I installed Satellite 6.4 and upgraded it to Satellite 6.5. I then entered this command: [root@cloud-qe-21 ~]# rpm -q tfm-rubygem-katello tfm-rubygem-katello-3.10.0.46-1.el7sat.noarch I ran test[1] to update packages using "Manage Packages" menu from the Host Collections view. Test fails as expected, packages are not updated: E AssertionError: assert 'walrus-0.71-1.noarch' == 'walrus-5.21-1.noarch' E - walrus-0.71-1.noarch E ? ^ ^ E + walrus-5.21-1.noarch E ? ^ ^ I then upgraded Sat6.5 to latest snap of 6.6 and entered this command: [root@cloud-qe-21 ~]# rpm -q tfm-rubygem-katello tfm-rubygem-katello-3.12.0.rc2-11.master.el7sat.noarch I then ran the test again and it passed. [1] https://github.com/SatelliteQE/robottelo/pull/6974 Stephen, looks like a good test. As long as you see that the 'Actions::Katello::Host::Package::Update action is planned in the Monitor->Tasks entry for the update you ran this code path will be exercised. Hello Jonathan I ran the test again to confirm. In Tasks Update package update package; all packages; I see: Label: Actions::BulkAction Duration: less than a minute Raw input: {"action_class"=>"Actions::Katello::Host::Package::Update", then I checked the sub task Label: Actions::Katello::Host::Package::Update Duration: less than a minute Thank you Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:3172 |