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.
Removed the unnecessary files rather than trying to fix them since it wouldn't work without back porting old files.
The script in question can be removed solving this BZ. The script requires python2 before and that can also be removed from dependencies.
Checked on the latest 4.12 workers-rhel8 CI job https://storage.googleapis.com/origin-ci-test/logs/periodic-ci-openshift-release-master-nightly-4.12-e2e-aws-workers-rhel8/1546288278045462528/build-log.txt it's failing with the following error. Although it's not related to the centos:stream8 changes, still assign it back to get it fixed to make the CI successful, thanks. " \"errorMessage\": \"error launching instance: The key pair 'openshift-dev' does not exist\",", " \"errorReason\": \"InvalidConfiguration\",", " \"lastUpdated\": \"2022-07-11T00:54:47Z\",",
The 4.11 and 4.12 periodic jobs have been red for quite some time, clearly not related to the recent changes. I would suggest we limit the scope of this BZ to the pre-commit E2E tests, and handle that particular issue separately.
Sure, so let me move this as VERIFIED then, thanks.
https://github.com/openshift/release/pull/30352 should fix the periodic jobs.
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.12.0 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:7399