diff --git a/image/cli/mascli/functions/internal/install_config_storage_classes b/image/cli/mascli/functions/internal/install_config_storage_classes index e6fdee7415..3ad586ca0b 100644 --- a/image/cli/mascli/functions/internal/install_config_storage_classes +++ b/image/cli/mascli/functions/internal/install_config_storage_classes @@ -68,7 +68,7 @@ function install_config_storage_classes() { if [[ "$STORAGE_CLASS_RWX" == "" ]]; then oc get storageclass nfs-client &>> $LOGFILE if [[ $? == "0" ]]; then - echo -e "${COLOR_GREEN}Storage provider auto-detected: OpenShift Container Storage${TEXT_RESET}" + echo -e "${COLOR_GREEN}Storage provider auto-detected: NFS Client${TEXT_RESET}" echo "${TEXT_DIM} - Storage class (ReadWriteOnce): nfs-client" echo "${TEXT_DIM} - Storage class (ReadWriteMany): nfs-client" STORAGE_CLASS_PROVIDER=ocs diff --git a/python/src/mas/cli/install/app.py b/python/src/mas/cli/install/app.py index faf1962020..0505aef958 100644 --- a/python/src/mas/cli/install/app.py +++ b/python/src/mas/cli/install/app.py @@ -188,7 +188,7 @@ def configMongoDb(self) -> None: def configSpecialCharacters(self): self.printH1("Configure special characters for userID and username") self.yesOrNo("Do you want to allow special characters for user IDs and usernames?", "mas_special_characters") - + def configCP4D(self): if self.getParam("mas_catalog_version") in ["v9-240625-amd64", "v9-240730-amd64", "v9-240827-amd64"]: logger.debug(f"Using automatic CP4D product version: {self.getParam('cpd_product_version')}") @@ -484,15 +484,15 @@ def configStorageClasses(self): self.storageClassProvider = "ocs" self.params["storage_class_rwo"] = "ocs-storagecluster-ceph-rbd" self.params["storage_class_rwx"] = "ocs-storagecluster-cephfs" - # OCS quick burn uses nfs-client now + # 3. NFS Client elif getStorageClass(self.dynamicClient, "nfs-client") is not None: - print_formatted_text(HTML("Storage provider auto-detected: OpenShift Container Storage")) + print_formatted_text(HTML("Storage provider auto-detected: NFS Client")) print_formatted_text(HTML(" - Storage class (ReadWriteOnce): nfs-client")) print_formatted_text(HTML(" - Storage class (ReadWriteMany): nfs-client")) - self.storageClassProvider = "ocs" + self.storageClassProvider = "nfs" self.params["storage_class_rwo"] = "nfs-client" self.params["storage_class_rwx"] = "nfs-client" - # 3. Azure + # 4. Azure elif getStorageClass(self.dynamicClient, "managed-premium") is not None: print_formatted_text(HTML("Storage provider auto-detected: Azure Managed")) print_formatted_text(HTML(" - Storage class (ReadWriteOnce): managed-premium")) @@ -500,7 +500,7 @@ def configStorageClasses(self): self.storageClassProvider = "azure" self.params["storage_class_rwo"] = "managed-premium" self.params["storage_class_rwx"] = "azurefiles-premium" - # 4. AWS + # 5. AWS elif getStorageClass(self.dynamicClient, "gp2") is not None: print_formatted_text(HTML("Storage provider auto-detected: AWS gp2")) print_formatted_text(HTML(" - Storage class (ReadWriteOnce): gp2"))