-
Bug
-
Resolution: Done
-
Major
-
None
-
4.15
-
None
-
Quality / Stability / Reliability
-
False
-
-
None
-
Important
-
No
-
None
-
None
-
None
-
OSDOCS Sprint 249, OSDOCS Sprint 250
-
2
-
In Progress
-
Release Note Not Required
-
None
-
None
-
None
-
None
-
None
Description of problem:
- The 2nd step in "Adding config map and secret resources required for Nutanix CCM[1]" is not required. - We do not have to prepare this file manually as it is generated by "ccoctl" command. - This file contains the required credentials in base64 encoded format. [1] https://docs.openshift.com/container-platform/4.15/installing/installing_nutanix/installing-nutanix-installer-provisioned.html#nutanix-ccm-config_installing-nutanix-installer-provisioned
Version-Release number of selected component (if applicable):
RHOCP 4.15
How reproducible:
Steps to Reproduce:
1. Follow the procedure "Configuring IAM for Nutanix"[1] and verify the below file contains base64 encoded string with correct data. Files: $ cat openshift-cloud-controller-manager-nutanix-credentials-credentials.yaml ~~~ apiVersion: v1 kind: Secret metadata: name: nutanix-credentials namespace: openshift-cloud-controller-manager type: Opaque data: credentials: W3sidHlwZSI6ImJhc2ljXxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ~~~ [1] https://docs.openshift.com/container-platform/4.15/installing/installing_nutanix/installing-nutanix-installer-provisioned.html#manually-create-iam-nutanix_installing-nutanix-installer-provisioned
Actual results:
As per doc[1] : - We have to create a file named "openshift-cloud-controller-manager-nutanix-credentials-credentials.yaml" - & then update this file with the Nutanix credentials. =============================================================== ## Adding config map and secret resources required for Nutanix CCM: #2: Create a file with the name "openshift-cloud-controller-manager-nutanix-credentials-credentials.yaml" and add the following information: ~~~ apiVersion: v1 kind: Secret metadata: name: nutanix-credentials namespace: openshift-cloud-controller-manager type: Opaque stringData: credentials: "[{ \"type\":\"basic_auth\", \"data\":{ \"prismCentral\":{ \"username\":\"<username_for_prism_central>\", \"password\":\"<password_for_prism_central>\"}, \"prismElements\":null } }]" ~~~ o Specify the Prism Central username. o Specify the Prism Central password. ===============================================================
Expected results:
1. The file "openshift-cloud-controller-manager-nutanix-credentials-credentials.yaml" is getting generated using "ccoctl" commands mentioned in process of "Configuring IAM for Nutanix". 2. Also this file contains base64 encoded string with the same credentials data. 3. So there is no need of this step. Insted of the current step, We can add below: =============================================================== Verify the file with name "openshift-cloud-controller-manager-nutanix-credentials-credentials.yaml" contains the correct data: ~~~ echo "<encoded string>" | base64 -d ~~~ =============================================================== ## IMP: - This steps are not present in prior versions i.e RHCOP 4.11, 4.12