Bug 2105056 - Openshift-Ansible RHEL 8 CI update
Summary: Openshift-Ansible RHEL 8 CI update
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.12
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.11.z
Assignee: Brent Barbachem
QA Contact: Gaoyun Pei
URL:
Whiteboard:
Depends On: 2102371
Blocks: 2117369
TreeView+ depends on / blocked
 
Reported: 2022-07-07 19:49 UTC by OpenShift BugZilla Robot
Modified: 2022-08-23 15:08 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-23 15:08:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift openshift-ansible pull 12412 0 None open Bug 2105056: Openshift ansible 4.11 ansible core backport 2022-07-21 19:52:32 UTC
Red Hat Product Errata RHSA-2022:6103 0 None None None 2022-08-23 15:08:49 UTC

Description OpenShift BugZilla Robot 2022-07-07 19:49:48 UTC
+++ 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 5 errata-xmlrpc 2022-08-23 15:08:36 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 (Moderate: OpenShift Container Platform 4.11.1 bug fix and security 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/RHSA-2022:6103


Note You need to log in before you can comment on or make changes to this bug.