-
Bug
-
Resolution: Done
-
Minor
-
4.18.0
-
Quality / Stability / Reliability
-
False
-
-
None
-
Low
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
Doc: https://docs.openshift.com/container-platform/4.18/installing/installing_aws/upi/installing-aws-user-infra.html#installation-creating-aws-worker_installing-aws-user-infra In JSON Example format the `ParameterValue` for `CertificateAuthorities` and `WorkerInstanceProfileName` is empty.
Version-Release number of selected component (if applicable):
In all 4.X RHOCP versions.
Actual results:
~~~
[
{
"ParameterKey": "InfrastructureName",
"ParameterValue": "mycluster-<random_string>"
},
{
"ParameterKey": "RhcosAmi",
"ParameterValue": "ami-<random_string>"
},
{
"ParameterKey": "Subnet",
"ParameterValue": "subnet-<random_string>"
},
{
"ParameterKey": "WorkerSecurityGroupId",
"ParameterValue": "sg-<random_string>"
},
{
"ParameterKey": "IgnitionLocation",
"ParameterValue": "https://api-int.<cluster_name>.<domain_name>:22623/config/worker"
},
{
"ParameterKey": "CertificateAuthorities",
"ParameterValue": "" <========================
},
{
"ParameterKey": "WorkerInstanceProfileName",
"ParameterValue": "" <========================
},
{
"ParameterKey": "WorkerInstanceType",
"ParameterValue": ""
}
]
~~~
Expected results:
~~~
[
{
"ParameterKey": "InfrastructureName",
"ParameterValue": "mycluster-<random_string>"
},
{
"ParameterKey": "RhcosAmi",
"ParameterValue": "ami-<random_string>"
},
{
"ParameterKey": "Subnet",
"ParameterValue": "subnet-<random_string>"
},
{
"ParameterKey": "WorkerSecurityGroupId",
"ParameterValue": "sg-<random_string>"
},
{
"ParameterKey": "IgnitionLocation",
"ParameterValue": "https://api-int.<cluster_name>.<domain_name>:22623/config/worker"
},
{
"ParameterKey": "CertificateAuthorities",
"ParameterValue": "data:text/plain;charset=utf-8;base64,ABC...xYz==" <==========
},
{
"ParameterKey": "WorkerInstanceProfileName",
"ParameterValue": "<roles_stack>-WorkerInstanceProfile-<random_string>" <============
},
{
"ParameterKey": "WorkerInstanceType",
"ParameterValue": ""
}
]
~~~
Additional info:
Same refereance are added for Control Plane docuemantaion in JSON example.
Doc: https://docs.openshift.com/container-platform/4.18/installing/installing_aws/upi/installing-aws-user-infra.html#installation-creating-aws-control-plane_installing-aws-user-infra
~~~
<..>
{
"ParameterKey": "IgnitionLocation",
"ParameterValue": "https://api-int.<cluster_name>.<domain_name>:22623/config/master"
},
{
"ParameterKey": "CertificateAuthorities",
"ParameterValue": "data:text/plain;charset=utf-8;base64,ABC...xYz=="
}, <=================
{
"ParameterKey": "MasterInstanceProfileName",
"ParameterValue": "<roles_stack>-MasterInstanceProfile-<random_string>"
}, <==================
{
"ParameterKey": "MasterInstanceType",
"ParameterValue": ""
},
<..>
~~~