Skip to content

zstack安装完成后,添加物理机失败 #1357

Open

Description

@ayo19900212

image
但是经过我查看发现/opt/zstack-dvd/x86_64/h84r/Packages/zstack-release_h84r_all.deb,这个文件确实不存在,而且包都是rpm结尾的
image

Activity

  1. ayo19900212 commented on Nov 8, 2024

    @ayo19900212
    Author

    @yuxingwei ZStack-x86_64-DVD-4.8.18-240929-h84r.iso

  2. ayo19900212 commented on Nov 8, 2024

    @ayo19900212
    Author
  3. ayo19900212 commented on Nov 8, 2024

    @ayo19900212
    Author

    ok,多谢,我试试 @yuxingwei

  4. ayo19900212 commented on Nov 8, 2024

    @ayo19900212
    Author

    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用户也不行

  5. ayo19900212 commented on Nov 8, 2024

    @ayo19900212
    Author

    "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"
    ]
    }

  6. zhangzp0127 commented on Dec 20, 2024

    @zhangzp0127

    ZStack-Cloud-x86_64-DVD-5.3.0-h84r.iso在平台添加物理机的时候遇到同样问题。我的物理机是之前装好系统的,ubuntu-20.04.6-desktop-amd64.iso

  7. 1437496027 commented on Sep 17, 2025

    @1437496027

    ZStack-Cloud-x86_64-DVD-5.3.0-h84r.iso在平台添加物理机的时候遇到同样问题。我的物理机是之前装好系统的,ubuntu-20.04.6-desktop-amd64.iso

    你好,这个问题解决了嘛,我这边也遇到了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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