Bug 1905953

Summary: [Regression] Cancelled pulp task remaining running until finish
Product: Red Hat Satellite Reporter: Hao Chang Yu <hyu>
Component: PackagingAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Lukas Pramuk <lpramuk>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.8.0CC: egolov, ehelms, ipanova, wclark
Target Milestone: 6.9.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-kombu-4.0.2-14 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1908840 (view as bug list) Environment:
Last Closed: 2021-04-21 13:24:23 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 Hao Chang Yu 2020-12-09 11:34:52 UTC
Description of problem:
This is the regression of bug #1693440 which is fixed in "python2-kombu-4.0.2-12" but unfortunately the patch is not included in "python2-kombu-4.0.2-13" which is used by Satellite 6.6 and later versions.

Satellite 6.5
--------------------------------
# rpm -qa | grep kombu
python2-kombu-4.0.2-12.el7sat.noarch

#grep -A 1 -B 1 "async=True"  /usr/lib/python2.7/site-packages/kombu/transport/qpid.py
    implements = virtual.Transport.implements.extend(
        async=True,
        exchange_type=frozenset(['direct', 'topic', 'fanout']),
--------------------------------


Satellite 6.8
--------------------------------
# rpm -qa | grep kombu
python2-kombu-4.0.2-13.el7sat.noarch

# grep -A 1 -B 1 "async=True"  /usr/lib/python2.7/site-packages/kombu/transport/qpid.py
<no result>
--------------------------------


Version-Release number of selected component (if applicable):


Additional info:
This bug is affecting Satellite 6.6, 6.7 and 6.8.

I downgraded kombu to 'python2-kombu-4.0.2-12' and then task can now cancelled correctly.

Comment 1 Ina Panova 2021-01-06 19:47:32 UTC
The issue seems to be in packaging of python2-kombu, adjusting the component accordingly.

Comment 2 Lukas Pramuk 2021-03-08 21:50:56 UTC
VERIFIED.

@Satellite 6.9.0 Snap16
python2-kombu-4.0.2-14.el7sat.noarch

by the reproducer described in comment#0:

# grep -C 1 "async=True"  /usr/lib/python2.7/site-packages/kombu/transport/qpid.py
    implements = virtual.Transport.implements.extend(
        async=True,
        exchange_type=frozenset(['direct', 'topic', 'fanout']),

>>> the changeset from https://github.com/celery/kombu/pull/1029 is again present in python2-kombu-4.0.2-14 rpm

Comment 5 errata-xmlrpc 2021-04-21 13:24:23 UTC
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 (Moderate: Satellite 6.9 Release), 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-2021:1313