-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to get resourcegroup, it is created but cannot be seen with kubectl get #3329
Comments
Hi @shalinin00, could you please provide us with a bit more information on Also, For more information on ASO authentication modes, I'd suggest you refer to ASO authentication docs here |
Helm command -
Resource -
|
@super-harsh / Team, |
is that the full ASO logs? Can you share a more complete set of logs from the ASO pod? The TLS handshake error may be nothing of concern and the actual problem is somewhere else in the logs. Can you also confirm what message What version of Kubernetes are you running on? IIRC this TLS error may be due to a Go bug that impacted 1.23-1.24: kubernetes/kubernetes#109022. Note that if it is due to that bug, it's not breaking anything that I know of and the errors can mostly be ignored. |
@ matthchr Thank you so much for the explanation. Appreciate your response. |
Do you have ASOv1 installed as well? Or some other operator which installs a CRD called Can you try using the fully specified CRD name instead of the shorthand? You can also examine |
@matthchr Yes, i've ASOv1 installed. Now, I can GET all the created resources. Thank you so much!! I hope this could be documented in the ASO v2 which will be helpful. [A bit little of context] We have v1, and installing v2 as we need to migrate from v1 to v2. |
You'll only face this issue where the actual CRD shortnames overlap. MySQL and MySQLFlexibleServer short names don't overlap, so you won't have this issue. The only resource I am aware that has this issue in ASOv1 vs ASOv2 is ResourceGroup. It's not an "issue" so much as a confusing interaction. It's actually working as intended. I think your problem is solved, so I've closed this issue and filed #3342 tracking some documentation improvements that should call this out more explicitly. |
Version of Azure Service Operator
Describe the bug
Fyi - I've created managed identity and also federated identity.
I am trying to create resource group by helm install ASOv2 for Managed Identity.
Trying to create a resource group after following this wiki: https://github.com/Azure/azure-service-operator/blob/main/v2/README.md
I have exported all the variables and installed and then all controller pods are coming up fine.
When trying to create a resource group, getting the following error
kubectl get resourcegroup
No resources found in default namespace.
To Reproduce
Steps to reproduce the behavior: Follow the instructions in the wiki https://github.com/Azure/azure-service-operator/blob/main/v2/README.md
Trying to create Resource group step.
When I do ```
kubectl get resourcegroup
No resources found in default namespace.
2023/09/23 03:51:33 http: TLS handshake error from 173.74.2.34.47:9876353: EOF
2023/09/23 03:51:33 http: TLS handshake error from 173.74.2.34.47:9876353: EOF
2023/09/23 03:51:33 http: TLS handshake error from 173.74.2.34.47:9876353: EOF
2023/09/23 03:51:33 http: TLS handshake error from 173.74.2.34.47:9876353: EOF
I0923 03:51:34.384007 1 common.go:58] controllers/ResourceGroupController "msg"="Reconcile invoked" "annotations"={"serviceoperator.azure.com/operator-namespace":"azureserviceoperator-system"} "conditions"="[]" "creationTimestamp"="2023-09-23T03:51:33Z" "deletionTimestamp"=null "finalizers"=null "generation"=1 "kind"={"kind":"ResourceGroup","apiVersion":"resources.azure.com/v1api20200601storage"} "name"="aso-rg-sampletest" "namespace"="default"
The text was updated successfully, but these errors were encountered: