Skip to content

ceph镜像服务器添加失败 #1356

@johnnylagnh

Description

@johnnylagnh

主控节点10.100.100.101网络到ceph mon节点10.100.100.1正常,可以正常SSH登录

失败原因:unable to connect to the ceph backup storage[uuid:25796c97f9604cb0a73ca0e7885e2f80], failed to connect all ceph monitors.
API明细:
AddCephBackupStorageAction
{
"执行API结果": "失败",
"失败原因": "unable to connect to the ceph backup storage[uuid:25796c97f9604cb0a73ca0e7885e2f80], failed to connect all ceph monitors.",
"操作时间": "2024-10-26 20:34:54",
"完成时间": "2024-10-26 20:35:07",
"API ID": "13d9480e372b4d36af80f31e338b63ed",
"请求": {
"zoneUuid": "6bffd7e23f0141c8b5091434bbf74647",
"monUrls": [
"*@10.100.100.1:22"
],
"name": "Ceph-V11",
"poolName": "pool_ssd",
"description": "",
"type": "Ceph",
"systemTags": []
},
"错误返回": {
"error": {
"code": "SYS.1002",
"description": "Unable to create a resource",
"details": "unable to connect to the ceph backup storage[uuid:25796c97f9604cb0a73ca0e7885e2f80], failed to connect all ceph monitors.",
"cause": {
"code": "SYS.1006",
"description": "An operation failed",
"details": "unable to connect to the ceph backup storage[uuid:25796c97f9604cb0a73ca0e7885e2f80], failed to connect all ceph monitors.",
"location": "CephBackupStorageBase.java: connect-monitor (location:1/5)",
"cause": {
"causes": [
{
"code": "SYS.1006",
"description": "An operation failed",
"details": "\nshell command[sudo bash -c '. /var/lib/zstack/virtualenv/zstacksys/bin/activate; PYTHONPATH=/usr/local/zstack/ansible/files/zstacklib timeout 1800 python2 /usr/local/zstack/ansible/cephb.py -i /usr/local/zstack/ansible/hosts --private-key /usr/local/zstack/apache-tomcat-8.5.99/webapps/zstack/WEB-INF/classes/ansible/rsaKeys/id_rsa -e '\''{\n "chrony_servers": "10.100.100.101",\n "trusted_host": "10.100.100.101",\n "pkg_cephbagent": "cephbackupstorage-4.8.0.tar.gz",\n "remote_port": "22",\n "host_uuid": "687859184e384835827a851f5132d3c2",\n "zstack_root": "/var/lib/zstack",\n "remote_user": "root",\n "mn_ip": "10.100.100.101",\n "remote_pass": "
",\n "host": "10.100.100.1",\n "pip_url": "http://10.100.100.101:8080/zstack/static/pypi/simple",\n "zstack_repo": "\"zstack-mn,qemu-kvm-ev-mn\"",\n "yum_server": "10.100.100.101:8080",\n "pkg_zstacklib": "zstacklib-4.8.0.tar.gz"\n}'\'] failed\nret code: 1\nstderr: ERROR: [ HOST: 10.100.100.1 ] ERROR: copy /opt/zstack-dvd/x86_64/h84r/Packages/zstack-release_h84r_all.deb to /opt failed error: Could not find or access '/opt/zstack-dvd/x86_64/h84r/Packages/zstack-release_h84r_all.deb' on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option\n\nstdout: ",
"location": "CephBackupStorageMonBase.java: deploy-agent (location:2/5)",
"cost": "100ms"
}
]
}
}
},
"name": "apiError"
}
}

RunTimeError
{
"执行API结果": "失败",
"操作时间": "2024-10-26 20:35:07",
"完成时间": null,
"API ID": "f1fa91fa9b944349a7d10cf1c592ab2d",
"请求": {},
"错误返回": {
"message": "Cannot destructure property 'fields' of 'result' as it is undefined."
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions