Bug 1391419

Summary: resource-agents-sap &resource-agents-sap-hana failed to install RHEL7.3 shadow for missing resource-agents
Product: Red Hat Enterprise Linux 7 Reporter: yanpliu <yanpliu>
Component: relengAssignee: Jan Blazek <jblazek>
Status: CLOSED NEXTRELEASE QA Contact: Release Test Team <release-test-team>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.3CC: ftan, jgalipea, liliu, soliu, yanpliu
Target Milestone: rc   
Target Release: ---   
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: 2016-11-03 13:18:57 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-11-03 09:44:11 UTC
Description of problem:
resource-agents-sap &resource-agents-sap-hana failed to install RHEL7.3 shadow for missing resource-agents
Failed rpm and channels:
"rhel-x86_64-server-sap-7-shadow": [
   "resource-agents-sap-3.9.5-82.el7.x86_64.rpm"
], 
"rhel-x86_64-server-sap-hana-7-shadow": [
   "resource-agents-sap-hana-3.9.5-82.el7.x86_64.rpm"
]
Version-Release number of selected component (if applicable):
RHEL-7.3-20161019.0 Server  x86_64 

How reproducible:
100%

Steps to Reproduce:
1. Setup a SAT5.7 server and register to RHN 
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-server-7-shadow' 'rhel-x86_64-server-sap-7-shadow'
# rhn-channel --add  --channel=rhel-x86_64-server-7-shadow    --user=admin --password=nimda
# rhn-channel --add  --channel=rhel-x86_64-server-sap-7-shadow    --user=admin --password=nimda
# rhn-channel --list --user=admin --password=nimda
rhel-x86_64-server-7
rhel-x86_64-server-7-shadow
rhel-x86_64-server-sap-7-shadow
5. Install the package "install resource-agents-sap-3.9.5-82.el7.x86_64" 
Error information:
# yum install -y resource-agents-sap-3.9.5-82.el7.x86_64
Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-manager
              : manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
rhel-x86_64-server-7-shadow                              | 1.2 kB     00:00
rhel-x86_64-server-7-shadow/group                        | 628 kB     00:00
rhel-x86_64-server-7-shadow/primary                      | 2.2 MB     00:00
rhel-x86_64-server-7-shadow                                           4751/4751
rhel-x86_64-server-sap-hana-7-shadow                                                                                                             | 1.2 kB  00:00:00
This system is receiving updates from RHN Classic or Red Hat Satellite.
rhel-x86_64-server-sap-hana-7-shadow/group                                                                                                       | 1.6 kB  00:00:00
rhel-x86_64-server-sap-hana-7-shadow/primary                                                                                                     | 1.5 kB  00:00:00
rhel-x86_64-server-sap-hana-7-shadow                                                                                                                                3/3
Resolving Dependencies
--> Running transaction check
---> Package resource-agents-sap-hana.x86_64 0:3.9.5-82.el7 will be installed
--> Processing Dependency: resource-agents = 3.9.5-82.el7 for package: resource-agents-sap-hana-3.9.5-82.el7.x86_64
--> Finished Dependency Resolution
Error: Package: resource-agents-sap-hana-3.9.5-82.el7.x86_64 (rhel-x86_64-server-sap-hana-7-shadow)
           Requires: resource-agents = 3.9.5-82.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
No package .x86_64 available.
Resolving Dependencies
--> Running transaction check
---> Package resource-agents-sap-hana.x86_64 0:3.9.5-82.el7 will be installed
--> Processing Dependency: resource-agents = 3.9.5-82.el7 for package: resource-agents-sap-hana-3.9.5-82.el7.x86_64
--> Finished Dependency Resolution
Error: Package: resource-agents-sap-hana-3.9.5-82.el7.x86_64 (rhel-x86_64-server-sap-hana-7-shadow)
           Requires: resource-agents = 3.9.5-82.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
      

5. Add channel'rhel-x86_64-server-7-shadow' 'rhel-x86_64-server-sap-hana-7-shadow'
# rhn-channel --add  --channel=rhel-x86_64-server-7-shadow    --user=admin --password=nimda
# rhn-channel --add  --channel=rhel-x86_64-server-sap-hana-7-shadow   --user=admin --password=nimda
# rhn-channel --list --user=admin --password=nimda
rhel-x86_64-server-7
rhel-x86_64-server-7-shadow
rhel-x86_64-server-sap-hana-7-shadow
5. Install the package "install resource-agents-sap-hana-3.9.5-82.el7.x86_64" 
Error information:
# yum install -y resource-agents-sap-hana-3.9.5-82.el7.x86_64
03 Nov 2016 03:03:37    INFO|          RemoteSHH.py:  82|: Error: Package: resource-agents-sap-hana-3.9.5-82.el7.x86_64 (rhel-x86_64-server-sap-hana-7-shadow)
           Requires: resource-agents = 3.9.5-82.el7
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 resource-agents-sap-hana.x86_64 0:3.9.5-82.el7 will be installed
--> Processing Dependency: resource-agents = 3.9.5-82.el7 for package: resource-agents-sap-hana-3.9.5-82.el7.x86_64
--> Finished Dependency Resolution
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest



Actual results: 
resource-agents-sap-hana-3.9.5-82.el7.x86_64 and resource-agents-sap-3.9.5-82.el7.x86_64 failed to be installed.

Expected results:
resource-agents-sap-hana-3.9.5-82.el7.x86_64 and resource-agents-sap-3.9.5-82.el7.x86_64 should be installed successfully.

Comment 1 Jan Blazek 2016-11-03 09:54:41 UTC
Why do you test shadow channels now on the GA day?

Comment 2 Jenny Severance 2016-11-03 13:18:57 UTC
Jan .. totally agree.  Closing bug.  It is too late for shadow channels.


Plus installability is the responsibility of the qe package owner and the execution of TPS and DistQA testing.