kubeflow / manifests

A repository for Kustomize manifests
Apache License 2.0
802 stars 867 forks source link

W0911 03:12:55.601024 1 metadata_store_server_main.cc:550] Connection Aborted with error: ABORTED: In the given db, MLMDEnv table exists but no schema_version can be found. This may be due to concurrent connection to the empty database. Please retry connection. I0911 03:12:55.601061 1 metadata_store_server_main.cc:551] Retry attempt 4 #2875

Open vak890 opened 6 days ago

vak890 commented 6 days ago

Validation Checklist

Version

1.9

Describe your issue

When I followed the kubeflow installation guide, metadata grpc deployment couldn't run successfully kubectl logs -f metadata-grpc-deployment-786f94dc8b-kfrgc -n kubeflow W0911 03:12:55.545574 1 metadata_store_server_main.cc:550] Connection Aborted with error: ABORTED: In the given db, MLMDEnv table exists but no schema_version can be found. This may be due to concurrent connection to the empty database. Please retry connection. I0911 03:12:55.545694 1 metadata_store_server_main.cc:551] Retry attempt 0 W0911 03:12:55.559099 1 metadata_store_server_main.cc:550] Connection Aborted with error: ABORTED: In the given db, MLMDEnv table exists but no schema_version can be found. This may be due to concurrent connection to the empty database. Please retry connection. I0911 03:12:55.559130 1 metadata_store_server_main.cc:551] Retry attempt 1 W0911 03:12:55.572381 1 metadata_store_server_main.cc:550] Connection Aborted with error: ABORTED: In the given db, MLMDEnv table exists but no schema_version can be found. This may be due to concurrent connection to the empty database. Please retry connection. I0911 03:12:55.572420 1 metadata_store_server_main.cc:551] Retry attempt 2 W0911 03:12:55.586738 1 metadata_store_server_main.cc:550] Connection Aborted with error: ABORTED: In the given db, MLMDEnv table exists but no schema_version can be found. This may be due to concurrent connection to the empty database. Please retry connection. I0911 03:12:55.586771 1 metadata_store_server_main.cc:551] Retry attempt 3 W0911 03:12:55.601024 1 metadata_store_server_main.cc:550] Connection Aborted with error: ABORTED: In the given db, MLMDEnv table exists but no schema_version can be found. This may be due to concurrent connection to the empty database. Please retry connection. I0911 03:12:55.601061 1 metadata_store_server_main.cc:551] Retry attempt 4 F0911 03:12:55.614584 1 metadata_store_server_main.cc:555] Check failed: absl::OkStatus() == status (OK vs. ABORTED: In the given db, MLMDEnv table exists but no schema_version can be found. This may be due to concurrent connection to the empty database. Please retry connection.) MetadataStore cannot be created with the given connection config. Check failure stack trace:

Steps to reproduce the issue

kustomize build apps/pipeline/upstream/env/cert-manager/platform-agnostic-multi-user | kubectl apply -f -

Put here any screenshots or videos (optional)

No response

vak890 commented 6 days ago

I found that the schema_version field is present in MySQL image mysql log: image

juliusvonkohout commented 6 days ago

It might be related to https://github.com/kubeflow/manifests/issues/2800#issuecomment-2340570754 and the merged PRs, although I did not check the details.

vak890 commented 5 days ago

@juliusvonkohout The solution is whether the kubeflow platform needs to be deployed in a new Kubernetes cluster, but our current Kubernetes cluster is native without any changes, and only some pods have been deployed in the cluster

juliusvonkohout commented 5 days ago

@juliusvonkohout The solution is whether the kubeflow platform needs to be deployed in a new Kubernetes cluster, but our current Kubernetes cluster is native without any changes, and only some pods have been deployed in the cluster

I do not understand your text. Please follow the new guidelines we just updated in the master branch in kubeflow/manifests/readme.md.