apecloud / kubeblocks

KubeBlocks is an open-source control plane software that runs and manages databases, message queues and other stateful applications on K8s.
https://kubeblocks.io
GNU Affero General Public License v3.0
2.14k stars 176 forks source link

[BUG] Mongodb cluster used kbcli create without conditions cannot connect with kbcli #7847

Open haowen159 opened 3 months ago

haowen159 commented 3 months ago

Describe the bug A clear and concise description of what the bug is.

kbcli version
Kubernetes: v1.28.10-gke.1075001
KubeBlocks: 0.9.1-beta.3
kbcli: 0.9.1-beta.6
WARNING: version difference between kbcli (0.9.1-beta.6) and kubeblocks (0.9.1-beta.3) 

To Reproduce Steps to reproduce the behavior:

  1. create cluster
    kbcli cluster create mongodb m1
    kbcli cluster list             
    NAME           NAMESPACE   CLUSTER-DEFINITION   VERSION             TERMINATION-POLICY   STATUS    CREATED-TIME                 
    m1             default                          mongodb-5.0         Delete               Running   Jul 22,2024 10:09 UTC+0800 
  2. connect cluster
    kbcli cluster connect m1
    error: fail to get the target engine type

    kbcli cluster connect may not support mongodb created with cmpd Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

github-actions[bot] commented 2 months ago

This issue has been marked as stale because it has been open for 30 days with no activity