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

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

Open
johnnylagnh opened this issue Oct 26, 2024 · 2 comments
Open

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

johnnylagnh opened this issue Oct 26, 2024 · 2 comments

Comments

@johnnylagnh
Copy link

主控节点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."
}
}

@johnnylagnh
Copy link
Author

日志里有这样一行,找不到zstack-release_h84r_all.deb,我进这个目录看了里面都是rpm包,你们底层系统是rockyliunx为什么会有这个提示,是BUG?

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.

@yuxingwei
Copy link

yuxingwei commented Nov 8, 2024

日志里有这样一行,找不到zstack-release_h84r_all.deb,我进这个目录看了里面都是rpm包,你们底层系统是rockyliunx为什么会有这个提示,是BUG?

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.

@johnnylagnh hi,麻烦附上ISO版本信息和文件MD5值,ISO版本信息可以通过下面的命令查询

$ cat /opt/zstack-dvd/x86_64/h84r/VERSION

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