Bug 1369655

Summary: Failed to install rpm package on Server-ppc64 for RHEL7.3 Beta
Product: Red Hat Enterprise Linux 7 Reporter: yanpliu <yanpliu>
Component: relengAssignee: Lubos Kocman <lkocman>
Status: CLOSED WONTFIX QA Contact: Release Test Team <release-test-team>
Severity: high Docs Contact:
Priority: high    
Version: 7.3CC: ftan, jgalipea, liliu, soliu
Target Milestone: betaKeywords: Reopened
Target Release: 7.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-04 11:44:30 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:

Description yanpliu 2016-08-24 06:05:22 UTC
Description of problem:
Failed to install package 'source-highlight-debuginfo-3.1.6-6.el7.ppc64' of channel 'rhel-ppc64-server-optional-7-beta-debuginfo'.
Failed to install package 'boost-python-1.53.0-26.el7.ppc64' of channel 'rhel-ppc64-server-7-beta'.
Failed to install package 'bacula-console-5.2.13-23.1.el7.ppc64' of channel 'rhel-ppc64-server-optional-7-beta'.
Failed to install package 'cmpi-bindings-debuginfo-0.9.5-6.el7.ppc64' of channel 'rhel-ppc64-server-7-beta-debuginfo'.

Failed rpm packages:
Channel:rhel-ppc64-server-optional-7-beta-debuginfo
source-highlight-debuginfo-3.1.6-6.el7.ppc64

Channel:rhel-ppc64-server-7-beta
boost-python-1.53.0-26.el7.ppc64

Channel:rhel-ppc64-server-optional-7-beta
bacula-console-5.2.13-23.1.el7.ppc64

Channel:rhel-ppc64-server-7-beta-debuginfo
cmpi-bindings-debuginfo-0.9.5-6.el7.ppc64


Version-Release number of selected component (if applicable):
RHEL-7.3-20160817.1 Server ppc64

How reproducible:
100%

Steps to Reproduce:
1. Setup a SAT5.7 server and register to RHN QA 
2. Register a client to SAT5.7
# rhnreg_ks --user=admin --password=nimda
3. List rhn-channels
# rhn-channel --list --user=admin --password=nimda
rhel-ppc64-server-7
4. Add channel 'rhel-ppc64-server-optional-7-beta-debuginfo'
# rhn-channel --add  --channel=rhel-ppc64-server-7-beta    --user=admin --password=nimda
# rhn-channel --add  --channel=rhel-ppc64-server-optional-7-beta-debuginfo    --user=admin --password=nimda
# rhn-channel --list --user=admin --password=nimda
rhel-ppc64-server-7
rhel-ppc64-server-7-beta
rhel-ppc64-server-optional-7-beta-debuginfo
5. Install the package "install source-highlight-debuginfo-3.1.6-6.el7.ppc64" 
Error information:
# yum install source-highlight-debuginfo-3.1.6-6.el7.ppc64
Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-
              : manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
rhel-ppc64-server-7-beta                                 | 1.2 kB     00:00     
rhel-ppc64-server-7-beta/group                           | 550 kB     00:00     
rhel-ppc64-server-7-beta/primary                         | 2.0 MB     00:00     
rhel-ppc64-server-7-beta                                              4177/4177
rhel-ppc64-server-optional-7-beta-debuginfo              | 1.0 kB     00:00     
rhel-ppc64-server-optional-7-beta-debuginfo/primary      |  43 kB     00:00     
rhel-ppc64-server-optional-7-beta-debuginfo                             265/265
Resolving Dependencies
--> Running transaction check
---> Package source-highlight-debuginfo.ppc64 0:3.1.6-6.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package    Arch  Version     Repository                                   Size
================================================================================
Installing:
 source-highlight-debuginfo
            ppc64 3.1.6-6.el7 rhel-ppc64-server-optional-7-beta-debuginfo 2.4 M

Transaction Summary
================================================================================
Install  1 Package

Total download size: 2.4 M
Installed size: 12 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/ppc64/7Server/rhel-ppc64-server-optional-7-beta-debuginfo/packages/source-highlight-debuginfo-3.1.6-6.el7.ppc64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Public key for source-highlight-debuginfo-3.1.6-6.el7.ppc64.rpm is not installed
source-highlight-debuginfo-3.1.6-6.el7.ppc64.rpm         | 2.4 MB     00:00     
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
Importing GPG key 0xF21541EB:
 Userid     : "Red Hat, Inc. (beta key 2) <security>"
 Fingerprint: b08b 659e e86a f623 bc90 e8db 938a 80ca f215 41eb
 Package    : redhat-release-server-7.3-6.el7.ppc64 (@beaker-Server/7.3)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
Is this ok [y/N]: y
Importing GPG key 0x897DA07A:
 Userid     : "Red Hat, Inc. (Beta Test Software) <rawhide>"
 Fingerprint: 17e8 543d 1d4a a5fa a96a 7e9f fd37 2689 897d a07a
 Package    : redhat-release-server-7.3-6.el7.ppc64 (@beaker-Server/7.3)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
Is this ok [y/N]: y


Public key for source-highlight-debuginfo-3.1.6-6.el7.ppc64.rpm is not installed


 Failing package is: source-highlight-debuginfo-3.1.6-6.el7.ppc64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta


            
6.Add channel "rhel-ppc64-server-7-beta" 
# rhn-channel --add  --channel=rhel-ppc64-server-7-beta    --user=admin --password=nimda
# rhn-channel --list --user=admin --password=nimda
rhel-ppc64-server-7
rhel-ppc64-server-7-beta

7. Install the package "boost-python-1.53.0-26.el7.ppc64" 
Error information:
# yum install boost-python-1.53.0-26.el7.ppc64
Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-
              : manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
Resolving Dependencies
--> Running transaction check
---> Package boost-python.ppc64 0:1.53.0-26.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package         Arch     Version             Repository                   Size
================================================================================
Installing:
 boost-python    ppc64    1.53.0-26.el7       rhel-ppc64-server-7-beta    130 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 130 k
Installed size: 930 k
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/ppc64/7Server/rhel-ppc64-server-7-beta/packages/boost-python-1.53.0-26.el7.ppc64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Public key for boost-python-1.53.0-26.el7.ppc64.rpm is not installed
boost-python-1.53.0-26.el7.ppc64.rpm                     | 130 kB     00:00     
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta


The GPG keys listed for the "RHEL Server Beta (v. 7 for IBM POWER)" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.


 Failing package is: boost-python-1.53.0-26.el7.ppc64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta



8.Add channel "rhel-ppc64-server-optional-7-beta" 
# rhn-channel --add  --channel=rhel-ppc64-server-optional-7-beta    --user=admin --password=nimda
# rhn-channel --list --user=admin --password=nimda
rhel-ppc64-server-7
rhel-ppc64-server-7-beta
rhel-ppc64-server-optional-7-beta
9. Install the package "bacula-console-5.2.13-23.1.el7.ppc64" 
Error information:
# yum install bacula-console-5.2.13-23.1.el7.ppc64
Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-
              : manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
rhel-ppc64-server-optional-7-beta                        | 1.2 kB     00:00     
rhel-ppc64-server-optional-7-beta/group                  |  856 B     00:00     
rhel-ppc64-server-optional-7-beta/primary                | 1.1 MB     00:00     
rhel-ppc64-server-optional-7-beta                                     4206/4206
Resolving Dependencies
--> Running transaction check
---> Package bacula-console.ppc64 0:5.2.13-23.1.el7 will be installed
--> Processing Dependency: bacula-libs(ppc-64) = 5.2.13-23.1.el7 for package: bacula-console-5.2.13-23.1.el7.ppc64
--> Processing Dependency: libbaccfg-5.2.13.so()(64bit) for package: bacula-console-5.2.13-23.1.el7.ppc64
--> Processing Dependency: libbac-5.2.13.so()(64bit) for package: bacula-console-5.2.13-23.1.el7.ppc64
--> Running transaction check
---> Package bacula-libs.ppc64 0:5.2.13-23.1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package        Arch  Version           Repository                         Size
================================================================================
Installing:
 bacula-console ppc64 5.2.13-23.1.el7   rhel-ppc64-server-optional-7-beta  37 k
Installing for dependencies:
 bacula-libs    ppc64 5.2.13-23.1.el7   rhel-ppc64-server-7               202 k

Transaction Summary
================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 240 k
Installed size: 812 k
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/ppc64/7Server/rhel-ppc64-server-optional-7-beta/packages/bacula-console-5.2.13-23.1.el7.ppc64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Public key for bacula-console-5.2.13-23.1.el7.ppc64.rpm is not installed
(1/2): bacula-console-5.2.13-23.1.el7.ppc64.rpm          |  37 kB     00:00     
Public key for bacula-libs-5.2.13-23.1.el7.ppc64.rpm is not installed
(2/2): bacula-libs-5.2.13-23.1.el7.ppc64.rpm             | 202 kB     00:00     
--------------------------------------------------------------------------------
Total                                              295 kB/s | 240 kB  00:00     
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta


The GPG keys listed for the "RHEL Server Optional Beta (v. 7 for IBM POWER)" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.


 Failing package is: bacula-console-5.2.13-23.1.el7.ppc64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta

10.Add channel "rhel-ppc64-server-7-beta-debuginfo" 
# rhn-channel --add  --channel=rhel-ppc64-server-7-beta-debuginfo    --user=admin --password=nimda
# rhn-channel --list --user=admin --password=nimda
rhel-ppc64-server-7
rhel-ppc64-server-7-beta
rhel-ppc64-server-7-beta-debuginfo
11. Install the package "cmpi-bindings-debuginfo-0.9.5-6.el7.ppc64" 
Error information:
# yum install cmpi-bindings-debuginfo-0.9.5-6.el7.ppc64
Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-
              : manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
rhel-ppc64-server-7-beta-debuginfo                       | 1.0 kB     00:00     
rhel-ppc64-server-7-beta-debuginfo/primary               | 326 kB     00:00     
rhel-ppc64-server-7-beta-debuginfo                                    1832/1832
Resolving Dependencies
--> Running transaction check
---> Package cmpi-bindings-debuginfo.ppc64 0:0.9.5-6.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package             Arch  Version     Repository                          Size
================================================================================
Installing:
 cmpi-bindings-debuginfo
                     ppc64 0.9.5-6.el7 rhel-ppc64-server-7-beta-debuginfo 290 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 290 k
Installed size: 1.6 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/ppc64/7Server/rhel-ppc64-server-7-beta-debuginfo/packages/cmpi-bindings-debuginfo-0.9.5-6.el7.ppc64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Public key for cmpi-bindings-debuginfo-0.9.5-6.el7.ppc64.rpm is not installed
cmpi-bindings-debuginfo-0.9.5-6.el7.ppc64.rpm            | 290 kB     00:00     
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta


The GPG keys listed for the "RHEL Server Beta Debuginfo (v. 7 for IBM POWER)" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.


 Failing package is: cmpi-bindings-debuginfo-0.9.5-6.el7.ppc64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta



source-highlight-debuginfo-3.1.6-6.el7.ppc64
boost-python-1.53.0-26.el7.ppc64
bacula-console-5.2.13-23.1.el7.ppc64
cmpi-bindings-debuginfo-0.9.5-6.el7.ppc64

Actual results:
The package "source-highlight-debuginfo-3.1.6-6.el7.ppc64, boost-python-1.53.0-26.el7.ppc64, bacula-console-5.2.13-23.1.el7.ppc64, cmpi-bindings-debuginfo-0.9.5-6.el7.ppc64"failed to be installed.

Expected results:
The package "source-highlight-debuginfo-3.1.6-6.el7.ppc64, boost-python-1.53.0-26.el7.ppc64, bacula-console-5.2.13-23.1.el7.ppc64, cmpi-bindings-debuginfo-0.9.5-6.el7.ppc64 should be installed successfully.

Comment 2 Li Bin Liu 2016-08-24 09:55:40 UTC
Hi Jan,

Thanks for your information! According to the ticket [1], we know that the RHEL7.3 beta content sets are only pushed into shadow channels of RHN Prod, but above issues were found against RHN QA, could you please help further confirm if the content sets were also only pushed into shadow channels in RHN QA? Thanks!

[1] https://engineering.redhat.com/rt/Ticket/Display.html?id=415079#txn-8476661

Best Regards,
Libin

Comment 3 Jan Blazek 2016-08-24 10:12:37 UTC
I see. RHEL-7.3-Beta-1.1 has been pushed to normal (non-shadow) channels on RHN QA.

The package cmpi-bindings-debuginfo-0.9.5-6.el7.ppc64.rpm is there since RHEL 7.0 and is signed with redhatrelease2 key (fd431d51). I suggest you to import not only the beta key but also the redhat-release key for your test.

# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

Comment 4 yanpliu 2016-08-25 07:09:58 UTC
Hello Jan,

# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[root@ibm-p8-kvm-04-guest-05 rhn]# yum install yum install source-highlight-debuginfo-3.1.6-6.el7.ppc64
Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-
              : manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
Package yum-3.4.3-148.el7.noarch already installed and latest version
No package install available.
Resolving Dependencies
--> Running transaction check
---> Package source-highlight-debuginfo.ppc64 0:3.1.6-6.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package    Arch  Version     Repository                                   Size
================================================================================
Installing:
 source-highlight-debuginfo
            ppc64 3.1.6-6.el7 rhel-ppc64-server-optional-7-beta-debuginfo 2.4 M

Transaction Summary
================================================================================
Install  1 Package

Total size: 2.4 M
Installed size: 12 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : source-highlight-debuginfo-3.1.6-6.el7.ppc64                 1/1 
  Verifying  : source-highlight-debuginfo-3.1.6-6.el7.ppc64                 1/1 

Installed:
  source-highlight-debuginfo.ppc64 0:3.1.6-6.el7                                

Complete!

And the other rpm packages are all installed successfully after import the "/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release"

Comment 5 yanpliu 2016-08-29 09:00:48 UTC
Hello Jan,
These failed rpm packages are installed from Beta channel for RHEL7.3 Beta, so I think it should just import the Beta key "/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta", why is it needed to import the release key "/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release" manually? Besides, even if it's needed to import the release key, it should be configured in related repos in the repo.redhat file instead of requiring customer to import it manually, do you think so? So I would like to re-open the bug.

Comment 6 yanpliu 2016-09-09 05:50:46 UTC
RHN Beta still have this issue.
# yum install boost-python-1.53.0-26.el7.ppc64
Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-
              : manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
Resolving Dependencies
--> Running transaction check
---> Package boost-python.ppc64 0:1.53.0-26.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package         Arch     Version             Repository                   Size
================================================================================
Installing:
 boost-python    ppc64    1.53.0-26.el7       rhel-ppc64-server-7-beta    130 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 130 k
Installed size: 930 k
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/ppc64/7Server/rhel-ppc64-server-7-beta/packages/boost-python-1.53.0-26.el7.ppc64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Public key for boost-python-1.53.0-26.el7.ppc64.rpm is not installed
boost-python-1.53.0-26.el7.ppc64.rpm                     | 130 kB     00:00     
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta


The GPG keys listed for the "RHEL Server Beta (v. 7 for IBM POWER)" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.


 Failing package is: boost-python-1.53.0-26.el7.ppc64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta

Comment 7 Lubos Kocman 2017-01-04 11:44:30 UTC
Closing as won't fix since beta has been already cleared out.

Lubos