Bug 2012235 - [IBMCLOUD] IPI: IBM cloud provider requires ResourceGroupName in cloudproviderconfig
Summary: [IBMCLOUD] IPI: IBM cloud provider requires ResourceGroupName in cloudprovide...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.10.0
Assignee: aos-install
QA Contact: Pedro Amoedo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-08 15:49 UTC by Christopher J Schaefer
Modified: 2022-03-10 16:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 16:18:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift installer pull 5294 0 None open Bug 2012235: IBM Cloud: Add RG to CP config 2021-10-13 18:58:51 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:19:10 UTC

Description Christopher J Schaefer 2021-10-08 15:49:41 UTC
Version:
4.10

Platform:
ibmcloud

Please specify:
IPI

What happened?
The IBM Cloud provider expects the ResourceGroupName is injected into the cloud-provider-config configmap. Without it, the CCM fails.

What did you expect to happen?
IBM CCM runs properly, initiating masters and workers for workloads.

How to reproduce it (as minimally and precisely as possible)?
IPI deployment on IBM Cloud using existing 4.10 releases
# openshift-install create cluster

Anything else we need to know?
IBM Cloud is working on a fix to inject the ResourceGroupName into the cloudproviderconfig

Comment 1 Pedro Amoedo 2021-10-14 09:32:36 UTC
[Pre-merge QA Summary]

[Version]

~~~
$ ./openshift-install-local version
./openshift-install-local unreleased-master-5105-gb018924f1f97737518147bf6088e3463f9c7ceb9
built from commit b018924f1f97737518147bf6088e3463f9c7ceb9
release image registry.ci.openshift.org/origin/release:4.8
release architecture amd64
~~~

[Parameters]

~~~
apiVersion: v1
baseDomain: ibmcloud.qe.devcluster.openshift.com
compute:
- architecture: amd64
  hyperthreading: Enabled
  name: worker
  platform:
    ibmcloud: {}
  replicas: 0
controlPlane:
  architecture: amd64
  hyperthreading: Enabled
  name: master
  platform:
    ibmcloud:
      type: bx2-8x32
  replicas: 3
metadata:
  creationTimestamp: null
  name: pamoedo-test
networking:
  clusterNetwork:
  - cidr: 10.128.0.0/14
    hostPrefix: 23
  machineNetwork:
  - cidr: 10.0.0.0/16
  networkType: OpenShiftSDN
  serviceNetwork:
  - 172.30.0.0/16
platform:
  ibmcloud:
    region: eu-de
    resourceGroupName: pamoedom-rg
publish: External
pullSecret:
sshKey:
~~~

[Results]

~~~
$ ./openshift-install-local create manifests --dir test39/ --log-level debug
DEBUG OpenShift Installer unreleased-master-5105-gb018924f1f97737518147bf6088e3463f9c7ceb9 
DEBUG Built from commit b018924f1f97737518147bf6088e3463f9c7ceb9
...
DEBUG Generating Openshift Manifests...            
INFO Manifests created in: test39/manifests and test39/openshift

$ grep "ResourceGroup" test39/manifests/cloud-provider-config.yaml 
    g2ResourceGroupName = pamoedom-rg
~~~

*** PASSED ***

Comment 5 errata-xmlrpc 2022-03-10 16:18:42 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


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