Bug 2035906 - Missing network credential requests in “oc adm extract --credentials-requests”
Summary: Missing network credential requests in “oc adm extract --credentials-requests”
Keywords:
Status: CLOSED DUPLICATE of bug 2034413
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Ben Bennett
QA Contact: zhaozhanqi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-28 12:52 UTC by MayXu
Modified: 2022-01-03 10:00 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

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 ***


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