Bug 1491362

Summary: Scheduled system update with available osad update produces aborted yum transaction on rhel 7.4 client
Product: Red Hat Satellite 5 Reporter: Michal Dekan <mdekan>
Component: ClientAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 570CC: cshereme, tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-14 14:27:22 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:
Bug Depends On:    
Bug Blocks: 1450111    

Description Michal Dekan 2017-09-13 14:59:32 UTC
Description of problem:

Scheduled system update on rhel 7.4 client executed trough osad produces yum transaction with "Aborted" return code which leads to duplicate packages.

[root@mdekan-rhel7 ~]# yum history info 7
Loaded plugins: langpacks, product-id, rhnplugin, search-disabled-repos, subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
Transaction ID : 7
Begin time     : Wed Sep 13 13:51:06 2017
Begin rpmdb    : 596:c24581e3d7920a0ca8ed43af951468eb48bf6d2b
User           : System <unset>
Return-Code    : ** Aborted **
Transaction performed with:
    Installed     rpm-4.11.3-25.el7.x86_64                @anaconda/7.4
    Installed     yum-3.4.3-154.el7.noarch                @anaconda/7.4
    Installed     yum-metadata-parser-1.1.4-10.el7.x86_64 @anaconda/7.4
    Installed     yum-rhn-plugin-2.0.1-9.el7.noarch       @anaconda/7.4
Packages Altered:
 ** Updated bash-4.2.46-28.el7.x86_64                         @rhel-x86_64-server-7
 ** Update       4.2.46-29.el7_4.x86_64                       @rhel-x86_64-server-7
 ** Updated binutils-2.25.1-31.base.el7.x86_64                @rhel-x86_64-server-7
 ** Update           2.25.1-32.base.el7_4.1.x86_64            @rhel-x86_64-server-7
 ** Updated cpio-2.11-24.el7.x86_64                           @rhel-x86_64-server-7
 ** Update       2.11-25.el7_4.x86_64                         @rhel-x86_64-server-7
 ** Updated http-parser-2.7.1-1.el7.x86_64                    @rhel-x86_64-server-7
 ** Update              2.7.1-5.el7_4.x86_64                  @rhel-x86_64-server-7
 ** Updated kernel-tools-3.10.0-693.1.1.el7.x86_64            @rhel-x86_64-server-7
 ** Update               3.10.0-693.2.2.el7.x86_64            @rhel-x86_64-server-7
 ** Updated kernel-tools-libs-3.10.0-693.1.1.el7.x86_64       @rhel-x86_64-server-7
 ** Update                    3.10.0-693.2.2.el7.x86_64       @rhel-x86_64-server-7
 ** Updated kmod-20-15.el7_4.1.x86_64                         @rhel-x86_64-server-7
 ** Update       20-15.el7_4.2.x86_64                         @rhel-x86_64-server-7
 ** Updated kmod-libs-20-15.el7_4.1.x86_64                    @rhel-x86_64-server-7
 ** Update            20-15.el7_4.2.x86_64                    @rhel-x86_64-server-7
 ** Updated libgudev1-219-42.el7.x86_64                       @rhel-x86_64-server-7
 ** Update            219-42.el7_4.1.x86_64                   @rhel-x86_64-server-7
 ** Updated libsoup-2.56.0-3.el7.x86_64                       @rhel-x86_64-server-7
 ** Update          2.56.0-4.el7_4.x86_64                     @rhel-x86_64-server-7
 ** Updated libsss_autofs-1.15.2-50.el7.x86_64                @rhel-x86_64-server-7
 ** Update                1.15.2-50.el7_4.2.x86_64            @rhel-x86_64-server-7
 ** Updated libsss_certmap-1.15.2-50.el7.x86_64               @rhel-x86_64-server-7
 ** Update                 1.15.2-50.el7_4.2.x86_64           @rhel-x86_64-server-7
 ** Updated libsss_idmap-1.15.2-50.el7.x86_64                 @rhel-x86_64-server-7
 ** Update               1.15.2-50.el7_4.2.x86_64             @rhel-x86_64-server-7
 ** Updated libsss_nss_idmap-1.15.2-50.el7.x86_64             @rhel-x86_64-server-7
 ** Update                   1.15.2-50.el7_4.2.x86_64         @rhel-x86_64-server-7
 ** Updated libsss_sudo-1.15.2-50.el7.x86_64                  @rhel-x86_64-server-7
 ** Update              1.15.2-50.el7_4.2.x86_64              @rhel-x86_64-server-7
 ** Updated ncurses-5.9-13.20130511.el7.x86_64                @rhel-x86_64-server-7
 ** Update          5.9-14.20130511.el7_4.x86_64              @rhel-x86_64-server-7
 ** Updated ncurses-base-5.9-13.20130511.el7.noarch           @rhel-x86_64-server-7
 ** Update               5.9-14.20130511.el7_4.noarch         @rhel-x86_64-server-7
 ** Updated ncurses-libs-5.9-13.20130511.el7.x86_64           @rhel-x86_64-server-7
 ** Update               5.9-14.20130511.el7_4.x86_64         @rhel-x86_64-server-7
 ** Updated nss-softokn-3.28.3-6.el7.x86_64                   @rhel-x86_64-server-7
 ** Update              3.28.3-8.el7_4.x86_64                 @rhel-x86_64-server-7
 ** Updated nss-softokn-freebl-3.28.3-6.el7.i686              @rhel-x86_64-server-7
 ** Updated nss-softokn-freebl-3.28.3-6.el7.x86_64            @rhel-x86_64-server-7
 ** Update                     3.28.3-8.el7_4.i686            @rhel-x86_64-server-7
 ** Update                     3.28.3-8.el7_4.x86_64          @rhel-x86_64-server-7
 ** Updated open-vm-tools-10.0.5-4.el7_3.x86_64               @rhel-x86_64-server-7
 ** Update                10.1.5-3.el7.x86_64                 @rhel-x86_64-server-7
 ** Updated openssh-7.4p1-11.el7.x86_64                       @rhel-x86_64-server-7
 ** Update          7.4p1-12.el7_4.x86_64                     @rhel-x86_64-server-7
 ** Updated openssh-clients-7.4p1-11.el7.x86_64               @rhel-x86_64-server-7
 ** Update                  7.4p1-12.el7_4.x86_64             @rhel-x86_64-server-7
 ** Updated openssh-server-7.4p1-11.el7.x86_64                @rhel-x86_64-server-7
 ** Update                 7.4p1-12.el7_4.x86_64              @rhel-x86_64-server-7
 ** Updated osa-common-5.11.63-11.el7sat.noarch               @rhn-tools-rhel-x86_64-server-7
 ** Update             5.11.63-12.el7sat.noarch               @rhn-tools-rhel-x86_64-server-7
 ** Updated osad-5.11.63-11.el7sat.noarch                     @rhn-tools-rhel-x86_64-server-7
 ** Update       5.11.63-12.el7sat.noarch                     @rhn-tools-rhel-x86_64-server-7
 ** Updated python-perf-3.10.0-693.1.1.el7.x86_64             @rhel-x86_64-server-7
 ** Update              3.10.0-693.2.2.el7.x86_64             @rhel-x86_64-server-7
 ** Updated scl-utils-20130529-17.el7_1.x86_64                @rhel-x86_64-server-7
 ** Update            20130529-18.el7_4.x86_64                @rhel-x86_64-server-7
 ** Updated selinux-policy-3.13.1-166.el7.noarch              @rhel-x86_64-server-7
 ** Update                 3.13.1-166.el7_4.4.noarch          @rhel-x86_64-server-7
 ** Updated selinux-policy-targeted-3.13.1-166.el7.noarch     @rhel-x86_64-server-7
 ** Update                          3.13.1-166.el7_4.4.noarch @rhel-x86_64-server-7
 ** Updated sssd-client-1.15.2-50.el7.x86_64                  @rhel-x86_64-server-7
 ** Update              1.15.2-50.el7_4.2.x86_64              @rhel-x86_64-server-7
 ** Updated sssd-common-1.15.2-50.el7.x86_64                  @rhel-x86_64-server-7
 ** Update              1.15.2-50.el7_4.2.x86_64              @rhel-x86_64-server-7
 ** Updated sssd-krb5-common-1.15.2-50.el7.x86_64             @rhel-x86_64-server-7
 ** Update                   1.15.2-50.el7_4.2.x86_64         @rhel-x86_64-server-7
 ** Updated sssd-ldap-1.15.2-50.el7.x86_64                    @rhel-x86_64-server-7
 ** Update            1.15.2-50.el7_4.2.x86_64                @rhel-x86_64-server-7
 ** Updated subversion-1.7.14-10.el7.x86_64                   @rhel-x86_64-server-7
 ** Update             1.7.14-11.el7_4.x86_64                 @rhel-x86_64-server-7
 ** Updated subversion-libs-1.7.14-10.el7.x86_64              @rhel-x86_64-server-7
 ** Update                  1.7.14-11.el7_4.x86_64            @rhel-x86_64-server-7
 ** Updated sudo-1.8.19p2-10.el7.x86_64                       @rhel-x86_64-server-7
 ** Update       1.8.19p2-11.el7_4.x86_64                     @rhel-x86_64-server-7
 ** Updated systemd-219-42.el7.x86_64                         @rhel-x86_64-server-7
 ** Update          219-42.el7_4.1.x86_64                     @rhel-x86_64-server-7
 ** Updated systemd-libs-219-42.el7.x86_64                    @rhel-x86_64-server-7
 ** Update               219-42.el7_4.1.x86_64                @rhel-x86_64-server-7
 ** Updated systemd-python-219-42.el7.x86_64                  @rhel-x86_64-server-7
 ** Update                 219-42.el7_4.1.x86_64              @rhel-x86_64-server-7
 ** Updated systemd-sysv-219-42.el7.x86_64                    @rhel-x86_64-server-7
 ** Update               219-42.el7_4.1.x86_64                @rhel-x86_64-server-7
 ** Updated xmlsec1-1.2.20-5.el7.x86_64                       @rhel-x86_64-server-7
 ** Update          1.2.20-7.el7_4.x86_64                     @rhel-x86_64-server-7
 ** Updated xmlsec1-openssl-1.2.20-5.el7.x86_64               @rhel-x86_64-server-7
 ** Update                  1.2.20-7.el7_4.x86_64             @rhel-x86_64-server-7

[root@mdekan-rhel7 ~]# package-cleanup --dupes
Loaded plugins: langpacks, product-id, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
openssh-clients-7.4p1-12.el7_4.x86_64
openssh-clients-7.4p1-11.el7.x86_64
http-parser-2.7.1-1.el7.x86_64
http-parser-2.7.1-5.el7_4.x86_64
sudo-1.8.19p2-10.el7.x86_64
sudo-1.8.19p2-11.el7_4.x86_64
libsss_nss_idmap-1.15.2-50.el7_4.2.x86_64
libsss_nss_idmap-1.15.2-50.el7.x86_64
libgudev1-219-42.el7_4.1.x86_64
libgudev1-219-42.el7.x86_64
xmlsec1-1.2.20-5.el7.x86_64
xmlsec1-1.2.20-7.el7_4.x86_64
selinux-policy-targeted-3.13.1-166.el7_4.4.noarch
selinux-policy-targeted-3.13.1-166.el7.noarch
libsss_autofs-1.15.2-50.el7.x86_64
libsss_autofs-1.15.2-50.el7_4.2.x86_64
libsss_sudo-1.15.2-50.el7_4.2.x86_64
libsss_sudo-1.15.2-50.el7.x86_64
libsss_idmap-1.15.2-50.el7_4.2.x86_64
libsss_idmap-1.15.2-50.el7.x86_64
kmod-20-15.el7_4.2.x86_64
kmod-20-15.el7_4.1.x86_64
systemd-219-42.el7.x86_64
systemd-219-42.el7_4.1.x86_64
selinux-policy-3.13.1-166.el7_4.4.noarch
selinux-policy-3.13.1-166.el7.noarch
sssd-common-1.15.2-50.el7_4.2.x86_64
sssd-common-1.15.2-50.el7.x86_64
scl-utils-20130529-17.el7_1.x86_64
scl-utils-20130529-18.el7_4.x86_64
python-perf-3.10.0-693.1.1.el7.x86_64
python-perf-3.10.0-693.2.2.el7.x86_64
osa-common-5.11.63-12.el7sat.noarch
osa-common-5.11.63-11.el7sat.noarch
subversion-1.7.14-10.el7.x86_64
subversion-1.7.14-11.el7_4.x86_64
openssh-server-7.4p1-12.el7_4.x86_64
openssh-server-7.4p1-11.el7.x86_64
libsoup-2.56.0-3.el7.x86_64
libsoup-2.56.0-4.el7_4.x86_64
nss-softokn-freebl-3.28.3-6.el7.x86_64
nss-softokn-freebl-3.28.3-8.el7_4.x86_64
nss-softokn-freebl-3.28.3-8.el7_4.i686
nss-softokn-freebl-3.28.3-6.el7.i686
open-vm-tools-10.1.5-3.el7.x86_64
open-vm-tools-10.0.5-4.el7_3.x86_64
sssd-client-1.15.2-50.el7.x86_64
sssd-client-1.15.2-50.el7_4.2.x86_64
ncurses-5.9-14.20130511.el7_4.x86_64
ncurses-5.9-13.20130511.el7.x86_64
systemd-libs-219-42.el7_4.1.x86_64
systemd-libs-219-42.el7.x86_64
cpio-2.11-25.el7_4.x86_64
cpio-2.11-24.el7.x86_64
systemd-python-219-42.el7_4.1.x86_64
systemd-python-219-42.el7.x86_64
kmod-libs-20-15.el7_4.2.x86_64
kmod-libs-20-15.el7_4.1.x86_64
ncurses-libs-5.9-13.20130511.el7.x86_64
ncurses-libs-5.9-14.20130511.el7_4.x86_64
ncurses-base-5.9-14.20130511.el7_4.noarch
ncurses-base-5.9-13.20130511.el7.noarch
xmlsec1-openssl-1.2.20-7.el7_4.x86_64
xmlsec1-openssl-1.2.20-5.el7.x86_64
bash-4.2.46-28.el7.x86_64
bash-4.2.46-29.el7_4.x86_64
openssh-7.4p1-12.el7_4.x86_64
openssh-7.4p1-11.el7.x86_64
sssd-krb5-common-1.15.2-50.el7_4.2.x86_64
sssd-krb5-common-1.15.2-50.el7.x86_64
subversion-libs-1.7.14-10.el7.x86_64
subversion-libs-1.7.14-11.el7_4.x86_64
osad-5.11.63-11.el7sat.noarch
osad-5.11.63-12.el7sat.noarch
nss-softokn-3.28.3-6.el7.x86_64
nss-softokn-3.28.3-8.el7_4.x86_64
systemd-sysv-219-42.el7.x86_64
systemd-sysv-219-42.el7_4.1.x86_64
libsss_certmap-1.15.2-50.el7.x86_64
libsss_certmap-1.15.2-50.el7_4.2.x86_64
binutils-2.25.1-31.base.el7.x86_64
binutils-2.25.1-32.base.el7_4.1.x86_64

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


How reproducible:

Seems to by any update where osad package update is included.
In this scenario it was:

From: osad-5.11.63-11.el7sat.noarch
To:   osad-5.11.63-12.el7sat.noarch


Steps to Reproduce:
1. Turn on osad on the client.
2. Schedule package installation on rhel 7.4 client.
3. Check for the duplicate packages once scheduled installation is completed.

Actual results:

Aborted yum transaction.

Expected results:

No aborted yum transaction.

Comment 2 Tomas Lestach 2017-09-14 08:20:17 UTC
This sounds very similar to Bug 1491451. Can anyone confirm Bug 1491362 and Bug 1491451 are duplicates?