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

Bug 2117369

Summary: Openshift-Ansible RHEL 8 CI update
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: InstallerAssignee: Brent Barbachem <bbarbach>
Installer sub component: openshift-ansible QA Contact: Gaoyun Pei <gpei>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: padillon, yselkowi
Version: 4.12   
Target Milestone: ---   
Target Release: 4.10.z   
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: 2022-08-23 18:29:03 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: 2105056    
Bug Blocks:    

Description OpenShift BugZilla Robot 2022-08-10 19:10:28 UTC
+++ This bug was initially created as a clone of Bug #2105056 +++

+++ This bug was initially created as a clone of Bug #2102371 +++

Thanks for opening a bug report!
Before hitting the button, please fill in as much of the template below as you can.
If you leave out information, it's harder to help you.
Be ready for follow-up questions, and please respond in a timely manner.
If we can't reproduce a bug we might close your issue.
If we're wrong, PLEASE feel free to reopen it and explain why.

Version:

$ openshift-install version
4.11

Platform:

#Please specify the platform type: aws, libvirt, openstack or baremetal etc.
gcp

Please specify:
* IPI (automated install with `openshift-install`. If you don't know, then it's IPI)
* UPI (semi-manual installation on customized infrastructure)
IPI

What happened?

#Enter text here.
The GCP/hosts.py script was updated to python3 and the requirements for running the script are missing as well as documentation on how to use the script.

The missing packages include: pycrypto >= 2.6, apache-libcloud.

**Note: pycrypto may not be necessary. 

#See the troubleshooting documentation (https://github.com/openshift/installer/blob/master/docs/user/troubleshooting.md) for ideas about what information to collect.

There is no troubleshooting documentation or documentation at all in this directory. Clean this up by adding documentation about the script as well as some of the required and option environment variables used through out the script.

REQUIRED:
GCE_EMAIL
GCE_PEM_FILE_PATH

OPTIONAL:
GCE_PROJECT
GCE_ZONE
GCE_INI_PATH
GCE_TAGGED_INSTANCES
INVENTORY_IP_TYPE

# If the installer fails to create resources (https://github.com/openshift/installer/blob/master/docs/user/troubleshooting.md#installer-fails-to-create-resources), attach the relevant portions of your `.openshift_install.log.`
# If the installer fails to bootstrap the cluster (https://github.com/openshift/installer/blob/master/docs/user/troubleshootingbootstrap.md), attach the bootstrap log bundle.
# If the installer fails to complete installation after bootstrapping completes (https://github.com/openshift/installer/blob/master/docs/user/troubleshooting.md#installer-fails-to-initialize-the-cluster), attach the must-gather log bundle using `oc adm must-gather`

# Always at least include the `.openshift_install.log`

What did you expect to happen?

Ability to execute the hosts.py script

How to reproduce it (as minimally and precisely as possible)?

$ your-commands-here

python (updates to python3) hosts.py 

Anything else we need to know?

#Enter text here.

--- Additional comment from bbarbach on 2022-06-30 19:57:55 UTC ---

Removed the unnecessary files rather than trying to fix them since it wouldn't work without back porting old files.

--- Additional comment from bbarbach on 2022-07-05 17:31:02 UTC ---

The script in question can be removed solving this BZ. The script requires python2 before and that can also be removed from dependencies.

Comment 2 Gaoyun Pei 2022-08-17 01:57:41 UTC
The latest 4.10 e2e-aws-workers-rhel8 are running well, 
such as 
https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-nightly-4.10-e2e-aws-workers-rhel8/1559371039366975488. It's good for us to mark this as verified.

Comment 5 errata-xmlrpc 2022-08-23 18:29:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.10.28 bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:6095