OpenShift icon indicating copy to clipboard operation
OpenShift copied to clipboard

The resource type could not be found in the namespace 'Microsoft.RedHatOpenShift' for api version '2020-04-30'.

Open nelsonflorez11 opened this issue 5 years ago • 5 comments

Hello I am getting the same error "The resource type could not be found in the namespace 'Microsoft.RedHatOpenShift' for api version '2020-04-30'." I followed the guide "https://docs.microsoft.com/en-us/azure/openshift/howto-setup-environment" to register providers in azure, the group of recluses I have it in eastus and it is already processing the form "https : //forms.office.com/Pages/ResponsePage.aspx? id = v4j5cvGGr0GRqy180BHbR7jB9LP0WixMrZdOqsTraZVUMkYzUFM4OUNFWFNXTldZTUpBMTBCMzA4Ny4u ", did you get the error? I try to deploy ARO 4.3

nelsonflorez11 avatar Apr 16 '20 19:04 nelsonflorez11

Hi, Exactly the same error, following this documentation : https://github.com/Azure/OpenShift/blob/master/docs/ARO%204.3/create/create-cluster.md

az aro create --resource-group $resourceGroup --name $clusterName --vnet $vnet --master-subnet $masterSubnet ` --worker-subnet $workerSubnet az : Command group 'aro' is in preview. It may be changed/removed in a future release. At line:1 char:1

  • az aro create --resource-group $resourceGroup --name $clusterName --v ...
  •   + CategoryInfo          : NotSpecified: (Command group '...future release.:String) [], RemoteException
      + FullyQualifiedErrorId : NativeCommandError
    
    

No --pull-secret provided: cluster will not include samples or operators from Red Hat or from certified partners. The resource type could not be found in the namespace 'Microsoft.RedHatOpenShift' for api version '2020-04-30'.

stephgou avatar Apr 20 '20 21:04 stephgou

Hi, Same error for private cluster creation. az aro create --resource-group $resourceGroup --name $clusterName --vnet $vnet --master-subnet $masterSubnet ` --worker-subnet $workerSubnet --apiserver-visibility Private --ingress-visibility Private az : Command group 'aro' is in preview. It may be changed/removed in a future release. At line:1 char:1

  • az aro create --resource-group $resourceGroup --name $clusterName --v ...
  •   + CategoryInfo          : NotSpecified: (Command group '...future release.:String) [], RemoteException
      + FullyQualifiedErrorId : NativeCommandError
    
    

No --pull-secret provided: cluster will not include samples or operators from Red Hat or from certified partners. The resource type could not be found in the namespace 'Microsoft.RedHatOpenShift' for api version '2020-04-30'.

stephgou avatar Apr 20 '20 22:04 stephgou

It works fine with the command : az aro create --resource-group $resourceGroup --name $clusterName --vnet $vnet --master-subnet $masterSubnet -worker-subnet $workerSubnet --cluster-resource-group "aro-$clusterName" --domain "$clusterName" The reason I had this erros was the following. I had not registered the Microsoft.RedHatOpenShift with the command : az feature register --namespace Microsoft.RedHatOpenShift -n aropreview

stephgou avatar Apr 28 '20 21:04 stephgou

We changed this with our GA last week. This shouldn't be happening anymore. Is it still happening @nelsonflorez11 ?

JackQuincy avatar May 04 '20 17:05 JackQuincy

We shouldn't need the aropreview feature flag anymore

JackQuincy avatar May 04 '20 17:05 JackQuincy