Unable to create Openshift cluster 4.12.25 due to Internal Server Error

Manish Kumar Mani 0 Reputation points
2024-05-08T10:52:54.8533333+00:00

If I am using the client secret as value. I am getting the below error :

C:\Users\Administrator>az aro create --resource-group ihub-openshift-latest --name ihub-openshift-cluster-latest412 --vnet ihub-openshift-latest-vnet --location eastus --master-subnet ihub-openshift-latest-master-subnet --worker-subnet ihub-openshift-latest-worker-subnet --master-enc-host true --worker-enc-host true --apiserver-visibility Public --client-id f8a8516c-9734-4a3a-9f01-d003a070110a --client-secret wm88Q~PC3KaqwDKHUTJ5QC7.kIxSj4ORMYbatbcW --ingress-visibility Public --worker-count 4 --worker-vm-size Standard_D4s_v3 --worker-vm-disk-size-gb 128 --domain ihub-aro-cluster412 --pull-secret C:/installer/pull-secret.txt --version  4.12.25

(InternalServerError) Deployment failed.

Code: InternalServerError

Message: Deployment failed.

Azure Red Hat OpenShift
Azure Red Hat OpenShift
An Azure service that provides a flexible, self-service deployment of fully managed OpenShift clusters.
84 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 25,156 Reputation points
    2024-05-08T13:20:32.3933333+00:00

    Hi @Manish Kumar Mani

    Could you try creating the cluster from azure portal. If it still fails, change the command line that you shared using something like below

    #!/bin/bash

    set -x
    Get Account Infomration and Alias:

    EngAlias=az account show --query user.name -otsv | cut -d"@" -f1

    ARODATE=date -u +"%F"

    AROTIME=date -u +"%T" | sed 's/:/-/g'

    AROQueryTime=date -u +"%FT%TZ"

    Define Envrinoment Variables :

    LOCATION=westeurope # Location of your ARO cluster

    AROCluster="aro-$EngAlias-$ARODATE-pub" # Name of the ARO Cluster

    ARORG="$AROCluster-rg" # Name of Resource Group where you want to create your ARO Cluster

    VNETName="$AROCluster-vnet" # Name of ARO VNET

    VNETAddr="10.0.0.0/22" # VNET Address Prefixes

    MasterSubNet="$AROCluster-master-subnet" # Name of ARO Master Subnet

    MasterAddr="10.0.2.0/24" # Master Subnet Address Prefixes

    WorkerSubNet="$AROCluster-worker-subnet" # Name of ARO Worker Subnet

    WorkerAddr="10.0.3.0/24" # Worker Subnet Address Prefixes

    ARONodeRG="$AROCluster-mc-rg"
    Create ARO Cluster Prerequisites :

    az group create --name $ARORG --location $LOCATION

    az network vnet create --resource-group $ARORG --name $VNETName --address-prefixes $VNETAddr

    az network vnet subnet create --resource-group $ARORG --vnet-name $VNETName --name $MasterSubNet --address-prefixes $MasterAddr --service-endpoints Microsoft.ContainerRegistry

    az network vnet subnet create --resource-group $ARORG --vnet-name $VNETName --name $WorkerSubNet --address-prefixes $WorkerAddr --service-endpoints Microsoft.ContainerRegistry

    az network vnet subnet update --name $MasterSubNet --resource-group $ARORG --vnet-name $VNETName --disable-private-link-service-network-policies true
    Create ARO Cluster without Predefined SP :

    az aro create --resource-group $ARORG --name $AROCluster --vnet $VNETName --master-subnet $MasterSubNet --worker-subnet $WorkerSubNet --pull-secret @pull-secret.txt --cluster-resource-group $ARONodeRG --debug

    If you still face any issue, let me know in the comments by tagging me.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.