Skip to content
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

kubeflow deployment fails with asm error #419

Closed
yecohn opened this issue Mar 26, 2023 · 3 comments
Closed

kubeflow deployment fails with asm error #419

yecohn opened this issue Mar 26, 2023 · 3 comments

Comments

@yecohn
Copy link

yecohn commented Mar 26, 2023

Hi,
I am trying to deploy kubeflow 1.6

I am getting this issue:
asmcli: Downloading ASM kpt package... asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/kpt pkg get --auto-set=false /~https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages.git/asm@1.14.1-asm.3+config6 asm' asmcli: ------------- fetching package "/asm" from "/~https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages" to "asm/asm" asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/kpt pkg get --auto-set=false /~https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages.git/samples@1.14.1-asm.3+config6 samples' asmcli: ------------- fetching package "/samples" from "/~https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages" to "samples/samples" asmcli: Verifying cluster registration. asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/kubectl --kubeconfig /Users/yosh/kubeflow-distribution/kubeflow/asm/package/asm_kubeconfig --context gke_project-ai-381709_us-central1-c_kubeflow get memberships.hub.gke.io membership -o=json' asmcli: ------------- asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/kubectl --kubeconfig /Users/yosh/kubeflow-distribution/kubeflow/asm/package/asm_kubeconfig --context gke_project-ai-381709_us-central1-c_kubeflow get memberships.hub.gke.io membership -o=jsonpath={.spec.identity_provider}' asmcli: ------------- asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/gcloud container hub memberships list --project project-ai-381709 --format=json' asmcli: ------------- asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/gcloud projects describe project-ai-381709 --format value(projectNumber)' asmcli: ------------- asmcli: Verified cluster is registered to project-ai-381709 asmcli: Enabling required APIs... asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/gcloud services enable --project=project-ai-381709 mesh.googleapis.com' asmcli: ------------- asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/gcloud container clusters describe --project=project-ai-381709 --region us-central1-c kubeflow --format=json' asmcli: ------------- asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/gcloud container clusters describe --project=project-ai-381709 --region us-central1-c kubeflow --format=json' asmcli: ------------- asmcli: Verifying cluster registration. asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/gcloud container hub memberships list --project project-ai-381709 --format=json' asmcli: ------------- asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/gcloud projects describe project-ai-381709 --format value(projectNumber)' asmcli: ------------- asmcli: Verified cluster is registered to project-ai-381709 asmcli: Verifying cluster registration. asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/gcloud container hub memberships list --project project-ai-381709 --format=json' asmcli: ------------- asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/gcloud projects describe project-ai-381709 --format value(projectNumber)' asmcli: ------------- asmcli: Verified cluster is registered to project-ai-381709 asmcli: Checking for project project-ai-381709... asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/gcloud projects describe project-ai-381709 --format=value(projectNumber)' asmcli: ------------- asmcli: Reading labels for us-central1-c/kubeflow... asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/gcloud container clusters describe kubeflow --zone=us-central1-c --project=project-ai-381709 --format=value(resourceLabels)[delimiter=","]' asmcli: ------------- asmcli: Querying for core/account... asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/gcloud config get-value core/account' asmcli: ------------- asmcli: Binding yehoshua.cohen.91@gmail.com to cluster admin role... asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/kubectl --kubeconfig /Users/yosh/kubeflow-distribution/kubeflow/asm/package/asm_kubeconfig --context gke_project-ai-381709_us-central1-c_kubeflow create clusterrolebinding yehoshua.cohen.91-cluster-admin-binding --clusterrole=cluster-admin --user=yehoshua.cohen.91@gmail.com --dry-run=client -o yaml' asmcli: ------------- asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/kubectl --kubeconfig /Users/yosh/kubeflow-distribution/kubeflow/asm/package/asm_kubeconfig --context gke_project-ai-381709_us-central1-c_kubeflow apply -f -' asmcli: ------------- clusterrolebinding.rbac.authorization.k8s.io/yehoshua.cohen.91-cluster-admin-binding configured asmcli: Creating istio-system namespace... asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/kubectl --kubeconfig /Users/yosh/kubeflow-distribution/kubeflow/asm/package/asm_kubeconfig --context gke_project-ai-381709_us-central1-c_kubeflow get ns' asmcli: ------------- asmcli: [ERROR]: Autopilot clusters are only supported with managed control plane. make[1]: *** [install-asm] Error 2 make: *** [apply] Error 1
It seems to be an issue with asm version.

@gkcalat
Copy link
Contributor

gkcalat commented Mar 27, 2023

Hi @yecohn!

This is a duplicate of #413. Try using pre-release v1.7.0-rc.0 instead of v1.6.1.

Important: you will need to migrate or redeploy v1.7.0 once it's released (ETA: 1-2 weeks).

@gkcalat gkcalat closed this as completed Mar 27, 2023
@yecohn
Copy link
Author

yecohn commented Mar 28, 2023

indeed, it is working now !

@gkcalat
Copy link
Contributor

gkcalat commented Mar 30, 2023

Kubeflow on Google Cloud v1.7.0 has been released. Please, upgrade your deployment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants