Bug 2084547

Summary: [4.10] update azure arm templates to support customer provided vnet
Product: OpenShift Container Platform Reporter: Johnny Liu <jialiu>
Component: InstallerAssignee: Johnny Liu <jialiu>
Installer sub component: openshift-installer QA Contact: Johnny Liu <jialiu>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium    
Version: 4.10   
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: 2084539 Environment:
Last Closed: 2022-05-23 13:25:13 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: 2084539    
Bug Blocks:    

Description Johnny Liu 2022-05-12 12:12:38 UTC
+++ This bug was initially created as a clone of Bug #2084539 +++

Per the azure upi arm templates in https://github.com/openshift/installer/tree/master/upi/azure, it assumes the vnet is always created from 01_vnet.json with the same basename from infra id. 

Actually for some special cases, vnet maybe provisioned in advanced, UPI process will skip vnet creation step, e.g: https://github.com/openshift/release/pull/27977, create other resources in the provided customer vnet. 

So we need to update the existing templates to introduce a new optional parameter - vnetBaseName for that.

Version:

$ openshift-install version
<your output here>

Platform:

Azure

Please specify:
* UPI (semi-manual installation on customized infrastructure)

What happened?

Comment 5 errata-xmlrpc 2022-05-23 13:25:13 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.15 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:2258