-
Bug
-
Resolution: Done
-
Minor
-
None
-
4.13.z
-
None
-
Moderate
-
No
-
False
-
-
Release Note Not Required
-
In Progress
Description of problem:
Step to manually create nutanix cloud-controller-manager credentials and configs seems redundant and somewhat confusing
Version-Release number of selected component (if applicable):
4.13/4.14 of openshift-install/ccoctl components
How reproducible:
Very
Steps to Reproduce:
Starting in this section of document: https://docs.openshift.com/container-platform/4.13/installing/installing_nutanix/installing-nutanix-installer-provisioned.html#manually-create-iam-nutanix_installing-nutanix-installer-provisioned 1. After you create nutanix pc credentials yaml file and run through procedures to do `oc adm release extract` (example below) of `oc adm release extract --credentials-requests --cloud=nutanix --to=credrequests -a pull-secret.json $RELEASE_IMAGE` the output of that directory is actually: ``` 0000_26_cloud-controller-manager-operator_18_credentialsrequest-nutanix.yaml 0000_30_machine-api-operator_00_credentials-request.yaml ``` vs. what is documented in 4.13+ scenarios in step 3 (which seems to be output of versions prior: `0000_30_machine-api-operator_00_credentials-request.yaml` 2. In the following step, when you run `ccoctl nutanix create-shared-secrets` the manifests folder seems to be created with the following files: ``` Saved credentials configuration to: manifests/openshift-cloud-controller-manager-nutanix-credentials-credentials.yaml Saved credentials configuration to: manifests/openshift-machine-api-nutanix-credentials-credentials.yaml ``` 3. After running `openshift-install create manifests` step and copying in the credentials files as directed, the final output actually looks like the following: ```$ ll manifests/ total 72 -rw-r-----. 1 nutanix nutanix 580 Dec 3 19:15 cloud-provider-config.yaml -rw-r-----. 1 nutanix nutanix 3193 Dec 3 19:15 cluster-config.yaml -rw-r-----. 1 nutanix nutanix 160 Dec 3 19:15 cluster-dns-02-config.yml -rw-r-----. 1 nutanix nutanix 993 Dec 3 19:15 cluster-infrastructure-02-config.yml -rw-r-----. 1 nutanix nutanix 235 Dec 3 19:15 cluster-ingress-02-config.yml -rw-r-----. 1 nutanix nutanix 9607 Dec 3 19:15 cluster-network-01-crd.yml -rw-r-----. 1 nutanix nutanix 273 Dec 3 19:15 cluster-network-02-config.yml -rw-r-----. 1 nutanix nutanix 142 Dec 3 19:15 cluster-proxy-01-config.yaml -rw-r-----. 1 nutanix nutanix 171 Dec 3 19:15 cluster-scheduler-02-config.yml -rw-r-----. 1 nutanix nutanix 200 Dec 3 19:15 cvo-overrides.yaml -rw-r-----. 1 nutanix nutanix 118 Dec 3 19:15 kube-cloud-config.yaml -rw-r-----. 1 nutanix nutanix 1304 Dec 3 19:15 kube-system-configmap-root-ca.yaml -rw-r-----. 1 nutanix nutanix 4094 Dec 3 19:15 machine-config-server-tls-secret.yaml -rw-------. 1 nutanix nutanix 300 Dec 3 19:15 openshift-cloud-controller-manager-nutanix-credentials-credentials.yaml -rw-r-----. 1 nutanix nutanix 3889 Dec 3 19:15 openshift-config-secret-pull-secret.yaml -rw-------. 1 nutanix nutanix 287 Dec 3 19:15 openshift-machine-api-nutanix-credentials-credentials.yaml``` vs what is actually documented in output of step 7: ``` -rw-r----- 1 <user> <user> 2335 Jul 8 12:22 cluster-config.yaml -rw-r----- 1 <user> <user> 161 Jul 8 12:22 cluster-dns-02-config.yml -rw-r----- 1 <user> <user> 864 Jul 8 12:22 cluster-infrastructure-02-config.yml -rw-r----- 1 <user> <user> 191 Jul 8 12:22 cluster-ingress-02-config.yml -rw-r----- 1 <user> <user> 9607 Jul 8 12:22 cluster-network-01-crd.yml -rw-r----- 1 <user> <user> 272 Jul 8 12:22 cluster-network-02-config.yml -rw-r----- 1 <user> <user> 142 Jul 8 12:22 cluster-proxy-01-config.yaml -rw-r----- 1 <user> <user> 171 Jul 8 12:22 cluster-scheduler-02-config.yml -rw-r----- 1 <user> <user> 200 Jul 8 12:22 cvo-overrides.yaml -rw-r----- 1 <user> <user> 118 Jul 8 12:22 kube-cloud-config.yaml -rw-r----- 1 <user> <user> 1304 Jul 8 12:22 kube-system-configmap-root-ca.yaml -rw-r----- 1 <user> <user> 4090 Jul 8 12:22 machine-config-server-tls-secret.yaml -rw-r----- 1 <user> <user> 3961 Jul 8 12:22 openshift-config-secret-pull-secret.yaml -rw------- 1 <user> <user> 283 Jul 8 12:24 openshift-machine-api-nutanix-credentials-credentials.yaml ``` The difference between the two directory structures being that the `cloud-provider-config.yaml` and `openshift-cloud-controller-manager-nutanix-credentials-credentials.yaml` already exists. The confusion is that the section right after this one states that the user needs to manually create and modify both of those same files respectively even though they already exists manually before running `openshift cluster install step`. https://docs.openshift.com/container-platform/4.13/installing/installing_nutanix/installing-nutanix-installer-provisioned.html#nutanix-ccm-config_installing-nutanix-installer-provisioned
Actual results:
Steps documented in this section seemed to not be required https://docs.openshift.com/container-platform/4.13/installing/installing_nutanix/installing-nutanix-installer-provisioned.html#nutanix-ccm-config_installing-nutanix-installer-provisioned
Additional info:
This is also documented in 4.14
- split to
-
OCPBUGS-25121 Update cred requests related outputs for 4.13+
- Closed