Bug 1949672

Summary: [GCP] Update 4.8 UPI template to match ignition version: 3.2.0
Product: OpenShift Container Platform Reporter: To Hung Sze <tsze>
Component: InstallerAssignee: Aditya Narayanaswamy <anarayan>
Installer sub component: openshift-installer QA Contact: To Hung Sze <tsze>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: low CC: anarayan, jstuever, mstaeble
Version: 4.8   
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Changing GCP UPI template ignition version fomr 3.1.0 to 3.2.0
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-10 16:03:07 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:
Bug Depends On:    
Bug Blocks: 2011864    

Description To Hung Sze 2021-04-14 18:45:07 UTC
Description
I noticed that ignition files generated from openshift-install-linux-4.8.0-0.nightly-2021-04-13-171608 now shows"version":"3.2.0":

$ echo $MASTER_IGNITION
{"ignition":{"config":{"merge":[{"source":"https://api-int.tzegcp041421b.qe.gcp.devcluster.openshift.com:22623/config/master"}]},"security":{"tls":{"certificateAuthorities":[{"source":"data:text/plain;charset=utf-8;base64,LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0t.........UZJQ0FURS0tLS0tCg=="}]}},"version":"3.2.0"}}

Our user doc 04_bootstrap.py still shows
             'metadata': {
                'items': [{
                    'key': 'user-data',
                    'value': '{"ignition":{"config":{"replace":{"source":"' + context.properties['bootstrap_ign'] + '"}},"version":"3.1.0"}}',
                }]
            },


Better have the two matching each other.

Comment 1 Matthew Staebler 2021-04-19 17:19:30 UTC
We'll look at this next sprint.

Comment 2 Russell Teague 2021-08-02 17:31:36 UTC
Reviewed, still low priority.

Comment 6 To Hung Sze 2021-10-07 12:37:18 UTC
https://github.com/openshift/installer/blob/master/upi/gcp/04_bootstrap.py

shows 

'metadata': {
                'items': [{
                    'key': 'user-data',
                    'value': '{"ignition":{"config":{"replace":{"source":"' + context.properties['bootstrap_ign'] + '"}},"version":"3.2.0"}}',
                }]
            },

Comment 7 To Hung Sze 2021-10-07 14:59:19 UTC
This is for 4.10.

Github page is updated to 4.10:
https://github.com/openshift/installer/blob/master/upi/gcp/04_bootstrap.py#L25

No 4.10 user doc to verify at this point.

Closing.

Comment 8 To Hung Sze 2021-10-07 16:20:47 UTC
Will not be back ported to 4.8 / 4.9.

Comment 11 errata-xmlrpc 2022-03-10 16:03:07 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.10.3 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:0056