Bug 1830123 - Azure: Installer is using resource_group_name in its templates which is now depricated
Summary: Azure: Installer is using resource_group_name in its templates which is now d...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.5
Hardware: All
OS: Linux
high
high
Target Milestone: ---
: 4.5.0
Assignee: Abhinav Dahiya
QA Contact: Mike Gahagan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-30 20:49 UTC by Mike Gahagan
Modified: 2020-07-13 17:34 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-13 17:34:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift installer pull 3534 0 None closed bug 1807111: terraform/exec: suppress the warnings from error to debug 2020-06-24 01:32:54 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-07-13 17:34:22 UTC

Description Mike Gahagan 2020-04-30 20:49:39 UTC
Description of problem:
On Azure, openshift-installer is emitting the following warning during installation:

INFO Creating infrastructure resources...         
ERROR                                              
ERROR Warning: "resource_group_name": [DEPRECATED] This field has been deprecated and is no longer used - will be removed in 2.0 of the Azure Provider 
ERROR                                              
ERROR   on ../../../../tmp/openshift-install-375307578/main.tf line 162, in resource "azurerm_storage_container" "vhd": 
ERROR  162: resource "azurerm_storage_container" "vhd" { 
ERROR                                              
ERROR (and 3 more similar warnings elsewhere)      
ERROR

The install still appears to work as this appears to be a warning so far. 


Version-Release number of the following components:
openshift-install-linux-4.5.0-0.nightly-2020-04-30-112808

How reproducible:
always

Steps to Reproduce:
1. Start IPI installation on Azure.
2. Input all needed credentials
3. Wait for warning to appear during infrastructure provisioning.

Actual results:

INFO Creating infrastructure resources...         
ERROR                                              
ERROR Warning: "resource_group_name": [DEPRECATED] This field has been deprecated and is no longer used - will be removed in 2.0 of the Azure Provider 
ERROR                                              
ERROR   on ../../../../tmp/openshift-install-375307578/main.tf line 162, in resource "azurerm_storage_container" "vhd": 
ERROR  162: resource "azurerm_storage_container" "vhd" { 
ERROR                                              
ERROR (and 3 more similar warnings elsewhere)      
ERROR                                              
INFO Waiting up to 20m0s for the Kubernetes API at https://api.mgahagan-143004.qe.azure.devcluster.openshift.com:6443... 
INFO API v1.18.0-rc.1 up                          
INFO Waiting up to 40m0s for bootstrapping to complete...

Expected results:

Installation proceeds without warning. 

Additional info:
Please attach logs from ansible-playbook with the -vvv flag

Comment 1 Mike Gahagan 2020-05-12 20:14:58 UTC
DEBUG module.master.azurerm_virtual_machine.master[1]: Creation complete after 5m42s [id=/subscriptions/53b8f551-f0fc-4bea-8cba-6d1fefd54c8a/resourceGroups/mgahagan-161205-tv9zl-rg/providers/Microsoft.Compute/virtualMachines/mgahagan-161205-tv9zl-master-1] 
DEBUG                                              
DEBUG Warning: "resource_group_name": [DEPRECATED] This field has been deprecated and is no longer used - will be removed in 2.0 of the Azure Provider 
DEBUG                                              
DEBUG   on ../../../../tmp/openshift-install-946924625/main.tf line 162, in resource "azurerm_storage_container" "vhd": 
DEBUG  162: resource "azurerm_storage_container" "vhd" { 
DEBUG                                              
DEBUG (and 3 more similar warnings elsewhere)      
DEBUG                                              
DEBUG                                              
DEBUG Apply complete! Resources: 52 added, 0 changed, 0 destroyed. 
DEBUG OpenShift Installer 4.5.0-0.nightly-2020-05-11-193026 
DEBUG Built from commit e476c483ed99c9cf2982529178e668dbcaf3ed5e 
INFO Waiting up to 20m0s for the Kubernetes API at https://api.mgahagan-161205.qe.azure.devcluster.openshift.com:6443... 
INFO API v1.18.2 up

confirm deprication warnings are now at debug level on 4.5.0-0.nightly-2020-05-11-193026

Comment 3 errata-xmlrpc 2020-07-13 17:34: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, 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-2020:2409


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