terraform-ibm-modules / terraform-ibm-cluster

Terraform modules to create and work with IBM Kubernetes cluster & Red Hat OpenShift Kubernetes cluster on IBM Cloud (Classic, VPC)
https://cloud.ibm.com/docs/containers
Apache License 2.0
11 stars 33 forks source link

The default version specified for the cluster does not support ODF maybe 4.7.40_openshift #78

Open powellquiring opened 2 years ago

powellquiring commented 2 years ago

In the docs I was exploring the path towards installing the ODF, Deploying OpenShift Data Foundation on VPC clusters which led me to

https://cloud.ibm.com/docs/openshift?topic=openshift-clusters#clusters_vpcg2 https://cloud.ibm.com/docs/openshift?topic=openshift-templates&interface=ui https://cloud.ibm.com/docs/openshift?topic=openshift-templates&interface=cli

which led me to this repository. after this using this repo I went to install ODF and the first command:

modules $ ibmcloud oc cluster addon versions
OK
Name                        Version           Supported Kubernetes Range   Supported Openshift Range
alb-oauth-proxy             1.0.0             >=1.16.0 <1.22.0             unsupported
alb-oauth-proxy             2.0.0 (default)   >=1.19.0                     unsupported
cluster-autoscaler          1.0.3             >=1.17.0 <1.22.0             >=4.3.0
cluster-autoscaler          1.0.4 (default)   >=1.19.0 <1.23.0             >=4.3.0
debug-tool                  2.0.0 (default)   >=1.13.0                     >=3.11.0
hpcs-router                 4.6.0             unsupported                  >=4.6.0 <4.7.0
hpcs-router                 4.7.0 (default)   unsupported                  >=4.7.0 <4.8.0
hpcs-router                 4.8.0             unsupported                  >=4.8.0 <4.9.0
image-key-synchronizer      1.0.0 (default)   unsupported                  >=4.4.0
istio                       1.11              >=1.19.0 <1.23.0             unsupported
istio                       1.10              >=1.18.0 <1.22.0             unsupported
istio                       1.12 (default)    >=1.20.0 <1.23.0             unsupported
openshift-data-foundation   4.8.0             unsupported                  >=4.8.0 <4.10.0
openshift-data-foundation   4.7.0 (default)   unsupported                  >=4.7.0 <4.9.0
static-route                1.0.0 (default)   >=1.14.0                     >=3.11.0
vpc-block-csi-driver        4.1 (default)     >=1.19.0                     >=4.6.0
vpc-block-csi-driver        3.0.1             >=1.15.0                     >=4.3.0
vpc-block-csi-driver        3.0.0             >=1.15.0                     >=4.3.0
vpc-block-csi-driver        4.0               >=1.17.0                     >=4.3.0

This indicates that openshift-data-foundation 4.7.0 (default) requires 4.7.0 but the default in

variable "ocp_version" {
  type        = string
  description = "Specify the Openshift version"
  default     = "4.6.23_1540_openshift"
}

Which no longer exists. So the latest 4.6 release was chosen (4.6.48_1570)? And it is not 4.7 so it is not compatible with my original intention of installing ODF. It seems like 4.7.40_openshift would be a better option?

ibmtfprovider commented 2 years ago

@powellquiring

Analysing the issue