Bug 2095226

Summary: Added changes to verify cloud connection and dhcpservices quota of a powervs instance
Product: OpenShift Container Platform Reporter: Basheer <bkhadars>
Component: InstallerAssignee: Nobody <nobody>
Installer sub component: openshift-installer QA Contact: Julie <mjulie>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: cnorman, mkumatag
Version: 4.11   
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: ppc64le   
OS: Linux   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 11:17:14 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:

Description Basheer 2022-06-09 10:43:20 UTC
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.


$ openshift-install version
<your output here>

Power VS IPI.

#Please specify the platform type: aws, libvirt, openstack or baremetal etc.

Please specify:
* IPI (automated install with `openshift-install`. If you don't know, then it's IPI)
* UPI (semi-manual installation on customized infrastructure)

What happened?

#Added quota changes for cloudconnection and dhcpservices of powervs instance.

#See the troubleshooting documentation (https://github.com/openshift/installer/blob/master/docs/user/troubleshooting.md) for ideas about what information to collect.

#For example, 

# 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?

#Enter text here.

How to reproduce it (as minimally and precisely as possible)?

$ your-commands-here

Anything else we need to know?

#Enter text here.

Comment 4 Julie 2022-07-21 10:57:17 UTC
Verified the quota for cloud connection, with OpenShift Installer 4.11.0-rc.4 build

This error message is displayed,
"FATAL failed to fetch Cluster: failed to fetch dependency of "Cluster": failed to generate asset "Platform Quota Check": 
failed to meet the prerequisite for Cloud Connections: only one Cloud connection can be attached to any DHCP network per account per zone".

Comment 5 Julie 2022-07-21 18:12:54 UTC
Verified the quota for DHCPService, with OpenShift Installer 4.11.0-rc.4 build.
Tried creating a new cluster, when one already exists under the same Power VS service instance.

Installer displays this error message,
"FATAL failed to fetch Cluster: failed to fetch dependency of "Cluster": failed to generate asset "Platform Quota Check": failed to meet the prerequisite of one DHCP service per Power VS instance: DHCP service already exists for provided cloud instance".

Comment 7 errata-xmlrpc 2022-08-10 11:17:14 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 (Important: OpenShift Container Platform 4.11.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.