 但是经过我查看发现/opt/zstack-dvd/x86_64/h84r/Packages/zstack-release_h84r_all.deb,这个文件确实不存在,而且包都是rpm结尾的 
Activity
ayo19900212 commentedon Nov 8, 2024
@yuxingwei ZStack-x86_64-DVD-4.8.18-240929-h84r.iso
ayo19900212 commentedon Nov 8, 2024
@yuxingwei
ayo19900212 commentedon Nov 8, 2024
ok,多谢,我试试 @yuxingwei
ayo19900212 commentedon Nov 8, 2024
shell command[sudo bash -c '. /var/lib/zstack/virtualenv/zstacksys/bin/activate; PYTHONPATH=/usr/local/zstack/ansible/files/zstacklib timeout 10800 python2 /usr/local/zstack/ansible/kvm.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 '''{ "init": "true", "chrony_servers": "10.21.255.170", "trusted_host": "10.21.255.170", "restart_libvirtd": "false", "remote_port": "22", "update_packages": "true", "host_uuid": "337ab8a149d34f319f9660c8631ccac5", "zstack_root": "/var/lib/zstack", "isEnableKsm": "none", "remote_user": "root", "hostname": "10-21-0-11.zstack.org", "pkg_kvmagent": "kvmagent-4.8.0.tar.gz", "post_url": "http://10.21.255.170:8080/zstack/kvm/ansiblelog/337ab8a149d34f319f9660c8631ccac5\n", "mn_ip": "10.21.255.170", "remote_pass": "*****", "host": "10.21.0.11", "pip_url": "http://10.21.255.170:8080/zstack/static/pypi/simple", "zstack_repo": ""zstack-mn,qemu-kvm-ev-mn"", "yum_server": "10.21.255.170:8080", "pkg_zstacklib": "zstacklib-4.8.0.tar.gz" }''] failed ret code: 1 stderr: ERROR: [ HOST: 10.21.0.11 ] 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. If you are using a module and expect the file to exist on the remote, see the remote_src option stdout:
@yuxingwei root用户也不行
ayo19900212 commentedon Nov 8, 2024
"root":{2 items
"error":{5 items
"code":string"SYS.1006"
"description":string"An operation failed"
"details":string" shell command[sudo bash -c '. /var/lib/zstack/virtualenv/zstacksys/bin/activate; PYTHONPATH=/usr/local/zstack/ansible/files/zstacklib timeout 10800 python2 /usr/local/zstack/ansible/kvm.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 '''{ "init": "true", "chrony_servers": "10.21.255.170", "trusted_host": "10.21.255.170", "restart_libvirtd": "false", "remote_port": "22", "update_packages": "true", "host_uuid": "337ab8a149d34f319f9660c8631ccac5", "zstack_root": "/var/lib/zstack", "isEnableKsm": "none", "remote_user": "root", "hostname": "10-21-0-11.zstack.org", "pkg_kvmagent": "kvmagent-4.8.0.tar.gz", "post_url": "http://10.21.255.170:8080/zstack/kvm/ansiblelog/337ab8a149d34f319f9660c8631ccac5\n", "mn_ip": "10.21.255.170", "remote_pass": "", "host": "10.21.0.11", "pip_url": "http://10.21.255.170:8080/zstack/static/pypi/simple", "zstack_repo": ""zstack-mn,qemu-kvm-ev-mn"", "yum_server": "10.21.255.170:8080", "pkg_zstacklib": "zstacklib-4.8.0.tar.gz" }''] failed ret code: 1 stderr: ERROR: [ HOST: 10.21.0.11 ] 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. If you are using a module and expect the file to exist on the remote, see the remote_src option stdout: "
"location":string"HostManagerImpl.java: send-connect-host-message (location:2/5)"
"cost":string"109ms"
}
"name":string"apiError"
}
请求
:
"root":{7 items
"username":string"root"
"password":string"***"
"sshPort":int22
"name":string"host1"
"managementIp":string"10.21.0.11"
"clusterUuid":string"b2a7045c20aa404fb037fd7c9f672ef3"
"systemTags":[1 item
0:string"pageTableExtensionDisabled"
]
}
zhangzp0127 commentedon Dec 20, 2024
ZStack-Cloud-x86_64-DVD-5.3.0-h84r.iso在平台添加物理机的时候遇到同样问题。我的物理机是之前装好系统的,ubuntu-20.04.6-desktop-amd64.iso
1437496027 commentedon Sep 17, 2025
你好,这个问题解决了嘛,我这边也遇到了