Skip to content

[BUG]最新版本一鍵allinone部署cmp錯誤 #24982

Description

@johnnylagnh

问题描述/What happened:

使用命令 MAGE_REPOSITORY=docker.io/yunion ./ocboot.sh run.py cmp 10.10.10.10 安裝
全新安裝4.0.3版本,安裝到ceph退出報錯,再次執行安裝通過,到啓動集群時一直pending無法創建

环境/Environment:
Centos Stream8

首次安裝報錯:
"docker.io/yunion/ceph:v16.2.14: resolved |\u001b[32m++++++++++++++++++++++++++++++++++++++\u001b[0m| ", "index-sha256:245ba1cf5ef9ff8427bf01e542b3fb40da2a47e5988ee3949e35b24d928534fe: done |\u001b[32m++++++++++++++++++++++++++++++++++++++\u001b[0m| ", "manifest-sha256:485a61c0d03ad0dd6a7ddd23f77660c19514ed6cfabaa422236c319e3442dfd4: done |\u001b[32m++++++++++++++++++++++++++++++++++++++\u001b[0m| ", "config-sha256:08a9618ee91c3afe707e77e3564df542419d6ad07b7d6217175ccbd0d2e4e749: done |\u001b[32m++++++++++++++++++++++++++++++++++++++\u001b[0m| ", "layer-sha256:c50d33876916cb36cf6d7e740f8f05d2149612cc4f3ca6d20f4401772bb7b886: done |\u001b[32m++++++++++++++++++++++++++++++++++++++\u001b[0m| ", "layer-sha256:a594e37f39ae0686ac78e3b7a08414169985dbbfa01c64c06856a46698f22354: downloading |\u001b[32m+++++++++++++++++++++++++++++++++++\u001b[0m---| 302.0 Mi/319.0 MiB ", "elapsed: 20.0s total: 378.8 (18.9 MiB/s) ", "docker.io/yunion/ceph:v16.2.14: resolved |\u001b[32m++++++++++++++++++++++++++++++++++++++\u001b[0m| ", "index-sha256:245ba1cf5ef9ff8427bf01e542b3fb40da2a47e5988ee3949e35b24d928534fe: done |\u001b[32m++++++++++++++++++++++++++++++++++++++\u001b[0m| ", "manifest-sha256:485a61c0d03ad0dd6a7ddd23f77660c19514ed6cfabaa422236c319e3442dfd4: done |\u001b[32m++++++++++++++++++++++++++++++++++++++\u001b[0m| ", "config-sha256:08a9618ee91c3afe707e77e3564df542419d6ad07b7d6217175ccbd0d2e4e749: done |\u001b[32m++++++++++++++++++++++++++++++++++++++\u001b[0m| ", "layer-sha256:c50d33876916cb36cf6d7e740f8f05d2149612cc4f3ca6d20f4401772bb7b886: done subprocess exited with status 2
Error: exit status 2

再次安裝報錯:
TASK [primary-master-node/setup_cloud : Create onecloud cluster CRD] ***********
FAILED - RETRYING: [10.10.10.10]: Create onecloud cluster CRD (6 retries left).

卡在:
TASK [primary-master-node/setup_cloud : Execute /opt/yunion/bin/wait-onecloud-services.sh to wait essential services to be running. You can open another terminal and execute kubectl get pods -n onecloud -w to watch the process.] ***

執行:kubectl get pods -n onecloud -w查看到一直在pending
NAME READY STATUS RESTARTS AGE
onecloud-operator-6ff6c7d8d4-lqrhk 0/1 Pending 0 8m45s

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions