Bug 1369632

Summary: Failed to install 'hyphen-it-0.20071127-10.el7.noarch' and 'libspiro-debuginfo-20071029-12.el7.x86_64' package on Server-x86_64
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:37:31 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 03:05:41 UTC
Description of problem:
Failed to install package 'hyphen-it-0.20071127-10.el7.noarch' of channel 'rhel-x86_64-server-optional-7-beta'.
Failed to install package 'libspiro-debuginfo-20071029-12.el7.x86_64' of channel 'rhel-x86_64-server-7-beta-debuginfo'.

Failed rpm packages:
Channel:rhel-x86_64-server-optional-7-beta
hyphen-it-0.20071127-10.el7.noarch
Channel:rhel-x86_64-server-7-beta-debuginfo
libspiro-debuginfo-20071029-12.el7.x86_64

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

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-x86_64-server-7
4. Add channel 'rhel-x86_64-client-optional-7-beta'
# rhn-channel --add  --channel=rhel-x86_64-server-7-beta    --user=admin --password=nimda
# rhn-channel --add  --channel=rhel-x86_64-server-optional-7-beta    --user=admin --password=nimda
# rhn-channel --list --user=admin --password=nimda
rhel-x86_64-server-7
rhel-x86_64-server-7-beta
rhel-x86_64-server-optional-7-beta
4. Install the package "install hyphen-it-0.20071127-10.el7.noarch" 
Error information:
# # yum install hyphen-it-0.20071127-10.el7.noarch
Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-
              : manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
rhel-x86_64-server-7-beta                                | 1.2 kB     00:00     
rhel-x86_64-server-7-beta/group                          | 628 kB     00:00     
rhel-x86_64-server-7-beta/primary                        | 2.2 MB     00:00     
rhel-x86_64-server-7-beta                                             4778/4778
rhel-x86_64-server-optional-7-beta                       | 1.2 kB     00:00     
rhel-x86_64-server-optional-7-beta/group                 |  21 kB     00:00     
rhel-x86_64-server-optional-7-beta/primary               | 1.1 MB     00:00     
rhel-x86_64-server-optional-7-beta                                    4473/4473
Resolving Dependencies
--> Running transaction check
---> Package hyphen-it.noarch 0:0.20071127-10.el7 will be installed
--> Processing Dependency: hyphen for package: hyphen-it-0.20071127-10.el7.noarch
--> Running transaction check
---> Package hyphen.x86_64 0:2.8.6-5.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package   Arch   Version              Repository                          Size
================================================================================
Installing:
 hyphen-it noarch 0.20071127-10.el7    rhel-x86_64-server-optional-7-beta 6.5 k
Installing for dependencies:
 hyphen    x86_64 2.8.6-5.el7          rhel-x86_64-server-optional-7-beta  26 k

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

Total download size: 33 k
Installed size: 52 k
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7Server/rhel-x86_64-server-optional-7-beta/packages/hyphen-2.8.6-5.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Public key for hyphen-2.8.6-5.el7.x86_64.rpm is not installed
(1/2): hyphen-2.8.6-5.el7.x86_64.rpm                     |  26 kB     00:00     
(2/2): hyphen-it-0.20071127-10.el7.noarch.rpm            | 6.5 kB     00:00     
--------------------------------------------------------------------------------
Total                                               66 kB/s |  33 kB  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.x86_64 (@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.x86_64 (@beaker-Server/7.3)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
Is this ok [y/N]: y


Public key for hyphen-2.8.6-5.el7.x86_64.rpm is not installed


Failing package is: hyphen-2.8.6-5.el7.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta


            
5.Add channel "rhel-x86_64-server-7-beta-debuginfo" 
# rhn-channel --remove  --channel=rhel-x86_64-server-optional-7-beta    --user=admin --password=nimda
# rhn-channel --list --user=admin --password=nimda
rhel-x86_64-server-7
rhel-x86_64-server-7-beta
# rhn-channel --add  --channel=rhel-x86_64-server-7-beta-debuginfo    --user=admin --password=nimda
# rhn-channel --list --user=admin --password=nimda
rhel-x86_64-server-7
rhel-x86_64-server-7-beta
rhel-x86_64-server-7-beta-debuginfo

[root@cloud-qe-16-vm-01 rhn]# yum install libspiro-debuginfo-20071029-12.el7.x86_64

6. Install the package "libspiro-debuginfo-20071029-12.el7.x86_64" 
Error information:
# yum install libspiro-debuginfo-20071029-12.el7.x86_64
Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-
              : manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
rhel-x86_64-server-7-beta-debuginfo                      | 1.0 kB     00:00     
rhel-x86_64-server-7-beta-debuginfo/primary              | 366 kB     00:00     
rhel-x86_64-server-7-beta-debuginfo                                   2072/2072
Resolving Dependencies
--> Running transaction check
---> Package libspiro-debuginfo.x86_64 0:20071029-12.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package       Arch   Version         Repository                           Size
================================================================================
Installing:
 libspiro-debuginfo
               x86_64 20071029-12.el7 rhel-x86_64-server-7-beta-debuginfo  27 k

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

Total download size: 27 k
Installed size: 87 k
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7Server/rhel-x86_64-server-7-beta-debuginfo/packages/libspiro-debuginfo-20071029-12.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Public key for libspiro-debuginfo-20071029-12.el7.x86_64.rpm is not installed
libspiro-debuginfo-20071029-12.el7.x86_64.rpm            |  27 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 x86_64)" 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: libspiro-debuginfo-20071029-12.el7.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta



Actual results:
The package "hyphen-it-0.20071127-10.el7.noarch" and "libspiro-debuginfo-20071029-12.el7.x86_64" failed to be installed.

Expected results:
The package "hyphen-it-0.20071127-10.el7.noarch" and "libspiro-debuginfo-20071029-12.el7.x86_64" should be installed successfully.

Comment 2 yanpliu 2016-08-25 07:28:56 UTC
Hello Jan,
# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[root@bkr-hv03-guest07 rhn]# yum install hyphen-it-0.20071127-10.el7.noarch
Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-
              : manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
rhel-x86_64-server-7-beta                                | 1.2 kB     00:00     
rhel-x86_64-server-7-beta/group                          | 628 kB     00:00     
rhel-x86_64-server-7-beta/primary                        | 2.2 MB     00:00     
rhel-x86_64-server-7-beta                                             4778/4778
rhel-x86_64-server-optional-7-beta                       | 1.2 kB     00:00     
rhel-x86_64-server-optional-7-beta/group                 |  21 kB     00:00     
rhel-x86_64-server-optional-7-beta/primary               | 1.1 MB     00:00     
rhel-x86_64-server-optional-7-beta                                    4473/4473
Resolving Dependencies
--> Running transaction check
---> Package hyphen-it.noarch 0:0.20071127-10.el7 will be installed
--> Processing Dependency: hyphen for package: hyphen-it-0.20071127-10.el7.noarch
--> Running transaction check
---> Package hyphen.x86_64 0:2.8.6-5.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package   Arch   Version              Repository                          Size
================================================================================
Installing:
 hyphen-it noarch 0.20071127-10.el7    rhel-x86_64-server-optional-7-beta 6.5 k
Installing for dependencies:
 hyphen    x86_64 2.8.6-5.el7          rhel-x86_64-server-optional-7-beta  26 k

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

Total download size: 33 k
Installed size: 52 k
Is this ok [y/d/N]: y
Downloading packages:
(1/2): hyphen-2.8.6-5.el7.x86_64.rpm                     |  26 kB     00:00     
(2/2): hyphen-it-0.20071127-10.el7.noarch.rpm            | 6.5 kB     00:00     
--------------------------------------------------------------------------------
Total                                               68 kB/s |  33 kB  00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : hyphen-2.8.6-5.el7.x86_64                                    1/2 
  Installing : hyphen-it-0.20071127-10.el7.noarch                           2/2 
  Verifying  : hyphen-2.8.6-5.el7.x86_64                                    1/2 
  Verifying  : hyphen-it-0.20071127-10.el7.noarch                           2/2 

Installed:
  hyphen-it.noarch 0:0.20071127-10.el7                                          

Dependency Installed:
  hyphen.x86_64 0:2.8.6-5.el7                                                   

Complete!

2. Install the package "libspiro-debuginfo-20071029-12.el7.x86_64" also work well  after import "/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release"

Comment 3 yanpliu 2016-08-29 09:01:07 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 4 yanpliu 2016-09-09 03:20:50 UTC
Have retried to install on RHN Beta,these issue still exist.
# rhn-channel --list --user=admin --password=nimda
rhel-x86_64-server-7
rhel-x86_64-server-7-beta
rhel-x86_64-server-7-beta-debuginfo
[root@cloud-qe-16-vm-03 rhn]# yum install libspiro-debuginfo-20071029-12.el7.x86_64
Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-
              : manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
rhel-x86_64-server-7-beta-debuginfo                      | 1.0 kB     00:00     
rhel-x86_64-server-7-beta-debuginfo/primary              | 359 kB     00:00     
rhel-x86_64-server-7-beta-debuginfo                                   2060/2060
Resolving Dependencies
--> Running transaction check
---> Package libspiro-debuginfo.x86_64 0:20071029-12.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package       Arch   Version         Repository                           Size
================================================================================
Installing:
 libspiro-debuginfo
               x86_64 20071029-12.el7 rhel-x86_64-server-7-beta-debuginfo  27 k

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

Total download size: 27 k
Installed size: 87 k
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7Server/rhel-x86_64-server-7-beta-debuginfo/packages/libspiro-debuginfo-20071029-12.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Public key for libspiro-debuginfo-20071029-12.el7.x86_64.rpm is not installed
libspiro-debuginfo-20071029-12.el7.x86_64.rpm            |  27 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 x86_64)" 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: libspiro-debuginfo-20071029-12.el7.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta


# yum install hyphen-it-0.20071127-10.el7.noarch
Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-
              : manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
rhel-x86_64-server-7-beta                                | 1.2 kB     00:00     
rhel-x86_64-server-7-beta/group                          | 628 kB     00:00     
rhel-x86_64-server-7-beta/primary                        | 2.2 MB     00:00     
rhel-x86_64-server-7-beta                                             4760/4760
rhel-x86_64-server-optional-7-beta                       | 1.2 kB     00:00     
rhel-x86_64-server-optional-7-beta/group                 |  21 kB     00:00     
rhel-x86_64-server-optional-7-beta/primary               | 1.1 MB     00:00     
rhel-x86_64-server-optional-7-beta                                    4444/4444
Resolving Dependencies
--> Running transaction check
---> Package hyphen-it.noarch 0:0.20071127-10.el7 will be installed
--> Processing Dependency: hyphen for package: hyphen-it-0.20071127-10.el7.noarch
--> Running transaction check
---> Package hyphen.x86_64 0:2.8.6-5.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package   Arch   Version              Repository                          Size
================================================================================
Installing:
 hyphen-it noarch 0.20071127-10.el7    rhel-x86_64-server-optional-7-beta 6.5 k
Installing for dependencies:
 hyphen    x86_64 2.8.6-5.el7          rhel-x86_64-server-optional-7-beta  26 k

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

Total download size: 33 k
Installed size: 52 k
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7Server/rhel-x86_64-server-optional-7-beta/packages/hyphen-2.8.6-5.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Public key for hyphen-2.8.6-5.el7.x86_64.rpm is not installed
(1/2): hyphen-2.8.6-5.el7.x86_64.rpm                     |  26 kB     00:00     
(2/2): hyphen-it-0.20071127-10.el7.noarch.rpm            | 6.5 kB     00:00     
--------------------------------------------------------------------------------
Total                                               66 kB/s |  33 kB  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.x86_64 (@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.x86_64 (@beaker-Server/7.3)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
Is this ok [y/N]: y


Public key for hyphen-2.8.6-5.el7.x86_64.rpm is not installed


 Failing package is: hyphen-2.8.6-5.el7.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta

Comment 5 Lubos Kocman 2017-01-04 11:37:31 UTC
Closing this issue since it's relevant to Beta, which was already cleared out after RHEL-7.3 GA release.

Thanks for understanding

Lubos