Bug 2218042

Summary: Update failing in five regions
Product: Red Hat Update Infrastructure for Cloud Providers Reporter: peninm
Component: OperationsAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED COMPLETED QA Contact: Radek Bíba <rbiba>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.0.0   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-28 19:25: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 peninm 2023-06-27 22:45:56 UTC
Description of problem:

Unable to update AMIs in five regions (ap-southeast-1, eu-south-1, eu-south-2, il-central-1, us-west-1)


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


How reproducible:


Steps to Reproduce:
1. Launch latest RHEL 8.8 AMI in affected region: RHEL-8.8.0_HVM-20230503-x86_64-54-Hourly2-GP2 
2. Run update
3. Fail

Actual results:
Error:
 Problem 1: package NetworkManager-cloud-setup-1:1.40.16-1.el8.x86_64 requires NetworkManager = 1:1.40.16-1.el8, but none of the providers can be installed
  - cannot install both NetworkManager-1:1.40.16-3.el8_8.x86_64 and NetworkManager-1:1.40.16-1.el8.x86_64
  - cannot install the best update candidate for package NetworkManager-cloud-setup-1:1.40.16-1.el8.x86_64
  - cannot install the best update candidate for package NetworkManager-1:1.40.16-1.el8.x86_64
 Problem 2: problem with installed package NetworkManager-cloud-setup-1:1.40.16-1.el8.x86_64
  - package NetworkManager-cloud-setup-1:1.40.16-1.el8.x86_64 requires NetworkManager-libnm(x86-64) = 1:1.40.16-1.el8, but none of the providers can be installed
  - cannot install both NetworkManager-libnm-1:1.40.16-3.el8_8.x86_64 and NetworkManager-libnm-1:1.40.16-1.el8.x86_64
  - cannot install the best update candidate for package NetworkManager-libnm-1:1.40.16-1.el8.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Expected results:
Update successful

Additional info:

Comment 1 Gregg Tanzillo 2023-06-28 02:42:35 UTC
I was able to reproduce in eu-south-1

[ec2-user@ip-172-31-13-219 ~]$ sudo yum update
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (RPMs)                                                                                                                     77 MB/s |  57 MB     00:00
Red Hat Enterprise Linux 8 for x86_64 - BaseOS from RHUI (RPMs)                                                                                                                        91 MB/s |  62 MB     00:00
Red Hat Ansible Engine 2 for RHEL 8 (RPMs) from RHUI                                                                                                                                   17 MB/s | 2.5 MB     00:00
RHUI Client Configuration Server 8                                                                                                                                                     40 kB/s | 3.5 kB     00:00
Error:
 Problem 1: package NetworkManager-cloud-setup-1:1.40.16-1.el8.x86_64 requires NetworkManager = 1:1.40.16-1.el8, but none of the providers can be installed
  - cannot install both NetworkManager-1:1.40.16-3.el8_8.x86_64 and NetworkManager-1:1.40.16-1.el8.x86_64
  - cannot install the best update candidate for package NetworkManager-cloud-setup-1:1.40.16-1.el8.x86_64
  - cannot install the best update candidate for package NetworkManager-1:1.40.16-1.el8.x86_64
 Problem 2: problem with installed package NetworkManager-cloud-setup-1:1.40.16-1.el8.x86_64
  - package NetworkManager-cloud-setup-1:1.40.16-1.el8.x86_64 requires NetworkManager-libnm(x86-64) = 1:1.40.16-1.el8, but none of the providers can be installed
  - cannot install both NetworkManager-libnm-1:1.40.16-3.el8_8.x86_64 and NetworkManager-libnm-1:1.40.16-1.el8.x86_64
  - cannot install the best update candidate for package NetworkManager-libnm-1:1.40.16-1.el8.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

It looks to be the same issue as https://bugzilla.redhat.com/show_bug.cgi?id=2138460 where the root cause was duplicate package ids.

Comment 2 peninm 2023-06-28 19:25:24 UTC
Launched some test instances and they updated successfully. Looks like the issue has been fixed. Thanks!