Bug 2002869

Summary: Package resource-agents-gcp not available in RHUI "ha for rhel 7" repo
Product: Red Hat Update Infrastructure for Cloud Providers Reporter: Liam Hopkins <liamh>
Component: OperationsAssignee: RHUI Bug List <rhui-bugs>
Status: CLOSED ERRATA QA Contact: Radek Bíba <rbiba>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 1.0   
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: 2021-09-15 05:58:24 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 Liam Hopkins 2021-09-09 21:45:40 UTC
Description of problem:

Currently, Google Cloud VMs running RHEL-7.6 SAP for HA image are unable to perform 'yum update' or similar commands due to a missing package. The package resource-agents depends on the package resource-agents-gcp of the same version, but this package is not available

Version-Release number of selected component (if applicable):
Missing package is resource-agents-gcp-4.1.1-12.el7_6.33.x86_64


How reproducible:
100%, 

Steps to Reproduce:
1. launch any rhel-7-6-sap-ha image
2. try to perform 'yum update' or similar.

Actual results:
Fails to update due to missing dependency

Expected results:
Successful update

Additional info:
Output:

# yum update
Resolving Dependencies
--> Running transaction check
---> Package glibc.x86_64 0:2.17-260.el7_6.6 will be updated
---> Package glibc.x86_64 0:2.17-260.el7_6.9 will be an update
---> Package glibc-common.x86_64 0:2.17-260.el7_6.6 will be updated
---> Package glibc-common.x86_64 0:2.17-260.el7_6.9 will be an update
---> Package glibc-devel.x86_64 0:2.17-260.el7_6.6 will be updated
---> Package glibc-devel.x86_64 0:2.17-260.el7_6.9 will be an update
---> Package glibc-headers.x86_64 0:2.17-260.el7_6.6 will be updated
---> Package glibc-headers.x86_64 0:2.17-260.el7_6.9 will be an update
---> Package google-cloud-sdk.x86_64 0:352.0.0-1 will be updated
---> Package google-cloud-sdk.x86_64 0:356.0.0-1 will be an update
---> Package google-osconfig-agent.x86_64 1:20210723.00-g1.el7 will be updated
---> Package google-osconfig-agent.x86_64 1:20210901.00-g1.el7 will be an update
---> Package kernel.x86_64 0:3.10.0-957.80.1.el7 will be installed
---> Package kernel-headers.x86_64 0:3.10.0-957.78.2.el7 will be updated
---> Package kernel-headers.x86_64 0:3.10.0-957.80.1.el7 will be an update
---> Package kernel-tools.x86_64 0:3.10.0-957.78.2.el7 will be updated
---> Package kernel-tools.x86_64 0:3.10.0-957.80.1.el7 will be an update
---> Package kernel-tools-libs.x86_64 0:3.10.0-957.78.2.el7 will be updated
---> Package kernel-tools-libs.x86_64 0:3.10.0-957.80.1.el7 will be an update
---> Package python-perf.x86_64 0:3.10.0-957.78.2.el7 will be updated
---> Package python-perf.x86_64 0:3.10.0-957.80.1.el7 will be an update
---> Package resource-agents.x86_64 0:4.1.1-12.el7_6.32 will be updated
--> Processing Dependency: resource-agents = 4.1.1-12.el7_6.32 for package: resource-agents-gcp-4.1.1-12.el7_6.32.x86_64
---> Package resource-agents.x86_64 0:4.1.1-12.el7_6.33 will be an update
---> Package resource-agents-sap.x86_64 0:4.1.1-12.el7_6.32 will be updated
---> Package resource-agents-sap.x86_64 0:4.1.1-12.el7_6.33 will be an update
---> Package resource-agents-sap-hana.x86_64 0:4.1.1-12.el7_6.32 will be updated
---> Package resource-agents-sap-hana.x86_64 0:4.1.1-12.el7_6.33 will be an update
---> Package rpm.x86_64 0:4.11.3-35.el7 will be updated
---> Package rpm.x86_64 0:4.11.3-35.el7_6.1 will be an update
---> Package rpm-build-libs.x86_64 0:4.11.3-35.el7 will be updated
---> Package rpm-build-libs.x86_64 0:4.11.3-35.el7_6.1 will be an update
---> Package rpm-libs.x86_64 0:4.11.3-35.el7 will be updated
---> Package rpm-libs.x86_64 0:4.11.3-35.el7_6.1 will be an update
---> Package rpm-python.x86_64 0:4.11.3-35.el7 will be updated
---> Package rpm-python.x86_64 0:4.11.3-35.el7_6.1 will be an update
--> Finished Dependency Resolution
Error: Package: resource-agents-gcp-4.1.1-12.el7_6.32.x86_64 (@rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
           Requires: resource-agents = 4.1.1-12.el7_6.32
           Removing: resource-agents-4.1.1-12.el7_6.32.x86_64 (@rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 4.1.1-12.el7_6.32
           Updated By: resource-agents-4.1.1-12.el7_6.33.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 4.1.1-12.el7_6.33
           Available: resource-agents-3.9.5-26.el7.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-26.el7
           Available: resource-agents-3.9.5-26.el7_0.5.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-26.el7_0.5
           Available: resource-agents-3.9.5-26.el7_0.6.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-26.el7_0.6
           Available: resource-agents-3.9.5-26.el7_0.7.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-26.el7_0.7
           Available: resource-agents-3.9.5-40.el7.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-40.el7
           Available: resource-agents-3.9.5-40.el7_1.2.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-40.el7_1.2
           Available: resource-agents-3.9.5-40.el7_1.3.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-40.el7_1.3
           Available: resource-agents-3.9.5-40.el7_1.4.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-40.el7_1.4
           Available: resource-agents-3.9.5-40.el7_1.6.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-40.el7_1.6
           Available: resource-agents-3.9.5-40.el7_1.9.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-40.el7_1.9
           Available: resource-agents-3.9.5-54.el7.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-54.el7
           Available: resource-agents-3.9.5-54.el7_2.1.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-54.el7_2.1
           Available: resource-agents-3.9.5-54.el7_2.6.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-54.el7_2.6
           Available: resource-agents-3.9.5-54.el7_2.8.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-54.el7_2.8
           Available: resource-agents-3.9.5-54.el7_2.9.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-54.el7_2.9
           Available: resource-agents-3.9.5-54.el7_2.10.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-54.el7_2.10
           Available: resource-agents-3.9.5-54.el7_2.16.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-54.el7_2.16
           Available: resource-agents-3.9.5-54.el7_2.17.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-54.el7_2.17
           Available: resource-agents-3.9.5-82.el7.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-82.el7
           Available: resource-agents-3.9.5-82.el7_3.1.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-82.el7_3.1
           Available: resource-agents-3.9.5-82.el7_3.3.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-82.el7_3.3
           Available: resource-agents-3.9.5-82.el7_3.4.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-82.el7_3.4
           Available: resource-agents-3.9.5-82.el7_3.6.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-82.el7_3.6
           Available: resource-agents-3.9.5-82.el7_3.9.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-82.el7_3.9
           Available: resource-agents-3.9.5-82.el7_3.11.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-82.el7_3.11
           Available: resource-agents-3.9.5-105.el7.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-105.el7
           Available: resource-agents-3.9.5-105.el7_4.2.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-105.el7_4.2
           Available: resource-agents-3.9.5-105.el7_4.3.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-105.el7_4.3
           Available: resource-agents-3.9.5-105.el7_4.6.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-105.el7_4.6
           Available: resource-agents-3.9.5-105.el7_4.11.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-105.el7_4.11
           Available: resource-agents-3.9.5-124.el7.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 3.9.5-124.el7
           Available: resource-agents-4.1.1-12.el7.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 4.1.1-12.el7
           Available: resource-agents-4.1.1-12.el7_6.4.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 4.1.1-12.el7_6.4
           Available: resource-agents-4.1.1-12.el7_6.6.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 4.1.1-12.el7_6.6
           Available: resource-agents-4.1.1-12.el7_6.7.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 4.1.1-12.el7_6.7
           Available: resource-agents-4.1.1-12.el7_6.8.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 4.1.1-12.el7_6.8
           Available: resource-agents-4.1.1-12.el7_6.10.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 4.1.1-12.el7_6.10
           Available: resource-agents-4.1.1-12.el7_6.13.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 4.1.1-12.el7_6.13
           Available: resource-agents-4.1.1-12.el7_6.19.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 4.1.1-12.el7_6.19
           Available: resource-agents-4.1.1-12.el7_6.23.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 4.1.1-12.el7_6.23
           Available: resource-agents-4.1.1-12.el7_6.26.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 4.1.1-12.el7_6.26
           Available: resource-agents-4.1.1-12.el7_6.27.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 4.1.1-12.el7_6.27
           Available: resource-agents-4.1.1-12.el7_6.28.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 4.1.1-12.el7_6.28
           Available: resource-agents-4.1.1-12.el7_6.29.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 4.1.1-12.el7_6.29
           Available: resource-agents-4.1.1-12.el7_6.31.x86_64 (rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms)
               resource-agents = 4.1.1-12.el7_6.31

# yum info resource-agents-gcp
Installed Packages
Name        : resource-agents-gcp
Arch        : x86_64
Version     : 4.1.1
Release     : 12.el7_6.32
Size        : 136 M
Repo        : installed
From repo   : rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms
Summary     : Google Cloud Platform resource agents
URL         : https://github.com/ClusterLabs/resource-agents
License     : GPLv2+ and LGPLv2+ and BSD and ASL 2.0 and MIT and Python
Description : The Google Cloud Platform resource agents allows Google Cloud
            : Platform instances to be managed in a cluster environment.

Comment 1 Radek Bíba 2021-09-10 06:07:39 UTC
I think I know where the problem lies. The latest advisory must have been shipped incorrectly. The advisory is here:

https://access.redhat.com/errata/RHBA-2021:3318

It contains resource-agents-4.1.1-12.el7_6.33.x86_64.rpm, which is available from the following repositories in Red Hat CDN (which is basically the upstream of RHUI):

Product (Variant, Version, Architecture)                                                              Repo Label
Red Hat Enterprise Linux Server - AUS 7.6 x86_64                                                      rhel-7-server-aus-rpms
                                                                                                      rhel-7-server-aus-optional-rpms
Red Hat Enterprise Linux High Availability - Update Services for SAP Solutions 7.6 x86_64             rhel-ha-for-rhel-7-server-e4s-rpms
Red Hat Enterprise Linux High Availability for x86_64 - Telecommunications Update Service 7.6 x86_64  rhel-ha-for-rhel-7-server-tus-rpms

So in GCP, you see this package in the rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms repository, which is a mirror of rhel-ha-for-rhel-7-server-e4s-rpms.

However, resource-agents-gcp-4.1.1-12.el7_6.33.x86_64.rpm from the same advisory is only available here:

Product (Variant, Version, Architecture)                                                              Repo Label
Red Hat Enterprise Linux Server - AUS 7.6 x86_64                                                      rhel-7-server-aus-optional-rpms
                                                                                                      rhel-7-server-aus-rpms
Red Hat Enterprise Linux High Availability for x86_64 - Telecommunications Update Service 7.6 x86_64  rhel-ha-for-rhel-7-server-tus-rpms

Unfortunately, RHUI can't do anything about this. Nevertheless, I can forward this issue to the people who can make sure the advisory is (re)shipped correctly.

Comment 2 Liam Hopkins 2021-09-10 20:12:46 UTC
Thank you Radek. Will we be able to track using this bug or is there someplace else we should follow for updates?

Comment 3 Radek Bíba 2021-09-10 21:33:55 UTC
You're welcome. The issue is now tracked internally and being worked on, and I'll update this bug when there's tangible progress.

Comment 4 Radek Bíba 2021-09-14 11:21:38 UTC
The missing package has been pushed to the repository in question in Red Hat CDN. Please note that it will take some time for the repository to become synced with the CDN, depending on the RHUI sync schedule in GCP. In other words, please try again in a few hours, or tomorrow.

Comment 5 Radek Bíba 2021-09-15 05:58:24 UTC
Works for me this morning:

# yum update
...
---> Package resource-agents-gcp.x86_64 0:4.1.1-12.el7_6.32 will be updated
---> Package resource-agents-gcp.x86_64 0:4.1.1-12.el7_6.33 will be an update
...
 resource-agents              x86_64 4.1.1-12.el7_6.33    rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms       452 k
 resource-agents-gcp          x86_64 4.1.1-12.el7_6.33    rhui-rhel-ha-for-rhel-7-server-e4s-rhui-rpms        20 M
 resource-agents-sap          x86_64 4.1.1-12.el7_6.33    rhui-rhel-sap-for-rhel-7-server-rhui-e4s-rpms       75 k
 resource-agents-sap-hana     x86_64 4.1.1-12.el7_6.33    rhui-rhel-sap-hana-for-rhel-7-server-rhui-e4s-rpms  82 k

Please let me know if you still run into an issue.