Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2035906

Summary: Missing network credential requests in “oc adm extract --credentials-requests”
Product: OpenShift Container Platform Reporter: MayXu <maxu>
Component: NetworkingAssignee: Ben Bennett <bbennett>
Networking sub component: openshift-sdn QA Contact: zhaozhanqi <zzhao>
Status: CLOSED DUPLICATE Docs Contact:
Severity: medium    
Priority: unspecified CC: aconstan, huirwang, lwan, yunjiang
Version: 4.10   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-03 10:00:05 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:

Description MayXu 2021-12-28 12:52:30 UTC
Description of problem:
Missing "openshift-cloud-network-config-controller/cloud-credentials" credentials request in “oc adm extract --credentials-requests”

Version-Release number of selected component (if applicable):
4.10.0-0.nightly-2021-12-23-153012 

How reproducible:

With “oc adm release extract registry.ci.openshift.org/ocp/release:4.10.0-0.ci-2021-12-23-133912 --credentials-requests -a pull-secret” Or add “--cloud azure” 
Fail to find credential requests which 
  "name": "cloud-credentials",
  "namespace": "openshift-cloud-network-config-controller"

When users follow Ref [1][2][3] to create a cluster with manual cco, the missing “openshift-cloud-network-config-controller/cloud-credentials” secret caused the install failed, including network co failure.


Expected results:
Add the network credentials requests in “oc adm extract --credentials-requests”

Ref:
[1] https://docs.openshift.com/container-platform/4.9/installing/installing_aws/manually-creating-iam.html
[2] https://docs.openshift.com/container-platform/4.9/installing/installing_azure/manually-creating-iam-azure.html
[3] https://docs.openshift.com/container-platform/4.9/installing/installing_gcp/manually-creating-iam-gcp.html

Comment 1 wang lin 2021-12-29 07:47:06 UTC
The credentialsRequest CR also needs to add serviceAccountNames field in .spec, more details can reference Bug : https://bugzilla.redhat.com/show_bug.cgi?id=2029833

Comment 2 Alexander Constantinescu 2022-01-03 10:00:05 UTC
Seems to be a dupe of 2034413, closing

*** This bug has been marked as a duplicate of bug 2034413 ***