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

[求助/Help] #21064

Closed
tomorrrow666 opened this issue Aug 20, 2024 · 2 comments
Closed

[求助/Help] #21064

tomorrrow666 opened this issue Aug 20, 2024 · 2 comments
Labels
question Further information is requested

Comments

@tomorrrow666
Copy link

$ ./ocboot.py install ./config-k8s-ha.yml 报错:
vars: {'onecloud_version': 'v3.11.6', 'onecloud_major_version': 'v3_11', 'extra_packages': [], 'yunion_qemu_package': 'yunion-qemu-4.2.0', 'is_controller_node': 'true'}
ansible-playbook -e @/tmp/oc_vars.yml -i /tmp/host_inventory.yml ./onecloud/install-cluster.yml

PLAY [all] *********************************************************************

TASK [Gathering Facts] *********************************************************
fatal: [$MASTER_1_IP]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: hostname contains invalid characters", "unreachable": true}
fatal: [$MASTER_2_IP]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: hostname contains invalid characters", "unreachable": true}
fatal: [$PRIMARY_IP]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: hostname contains invalid characters", "unreachable": true}

NO MORE HOSTS LEFT *************************************************************

PLAY RECAP *********************************************************************
$MASTER_1_IP : ok=0 changed=0 unreachable=1 failed=0 skipped=0 rescued=0 ignored=0
$MASTER_2_IP : ok=0 changed=0 unreachable=1 failed=0 skipped=0 rescued=0 ignored=0
$PRIMARY_IP : ok=0 changed=0 unreachable=1 failed=0 skipped=0 rescued=0 ignored=0

@tomorrrow666 tomorrrow666 added the question Further information is requested label Aug 20, 2024
@maguoweng
Copy link

是不是主机名有特殊字符?

@zexi
Copy link
Member

zexi commented Aug 20, 2024

@tomorrrow666 看下每台机器的 hostname ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants