Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1773645

Summary: openshift-ansible scaleup.yaml playbook fails on s390x & ppc64le (release-4.2)
Product: OpenShift Container Platform Reporter: Scott Dodson <sdodson>
Component: Multi-ArchAssignee: Andy McCrae <amccrae>
Status: CLOSED NEXTRELEASE QA Contact: Jeremy Poulin <jpoulin>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2.zCC: amccrae, bdonahue, dgilmore, jpoulin
Target Milestone: ---   
Target Release: 4.2.z   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: The scaleup.yaml playbook attempts to install packages that are not available on s390x and ppc64le. Consequence: The scaleup.yaml playbook fails to run successfully. Fix: Set the appropriate packages per architecture when running the scaleup.yaml openshift-ansible playbook. Result: The scaleup.yaml paybook in openshift-ansible will now work against ppc64le and s390x.
Story Points: ---
Clone Of: 1773634 Environment:
Last Closed: 2020-07-10 17:39:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1773634    
Bug Blocks:    

Description Scott Dodson 2019-11-18 15:54:19 UTC
+++ This bug was initially created as a clone of Bug #1773634 +++

Description of problem:

When setting up a Rhel worker node by running the openshift_node role within openshift-ansible, the role attempts to install packages that aren't available for all architectures, as such it fails on non-x86_64 architectures.

Version-Release number of selected component (if applicable):
openshift-ansible release-4.2


How reproducible:
Consistent


Steps to Reproduce:
1. Against a ppc64le or s390x cluster run the scaleup.yml playbook (following https://access.redhat.com/documentation/en-us/openshift_container_platform/4.1/html/machine_management/adding-rhel-compute) to add an additional Rhel worker node.

Actual results:
The Install openshift support packages task fails:
TASK [openshift_node : Install openshift support packages] ************************************************************
Monday 04 November 2019  10:45:20 -0600 (0:00:00.141)       0:00:40.708 ******* 
FAILED - RETRYING: Install openshift support packages (3 retries left).
FAILED - RETRYING: Install openshift support packages (2 retries left).
FAILED - RETRYING: Install openshift support packages (1 retries left).
fatal: [192.168.79.50]: FAILED! => {"ansible_job_id": "972667483958.18155", "attempts": 3, "changed": false, "finished": 1, "msg": "No package matching 'microcode_ctl' found available, installed or updated", "rc": 126, "results": ["No package matching 'microcode_ctl' found available, installed or updated"]}

PLAY RECAP ************************************************************************************************************
192.168.79.50              : ok=2    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0   


Expected results:
The task succeeds and required packages are installed.


Additional info:
A fix has gone into release-4.3 so would only be required for release-4.2.