#:kolla-ansible -i ./all-in-one prechecks
錯誤:
TASK [mariadb : Checking free port for MariaDB] ***************************************************************
fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'ansible.vars.hostvars.HostVarsVars object' has no attribute u'ansible_ens33'\n\nThe error appears to be in '/usr/share/kolla-ansible/ansible/roles/mariadb/tasks/precheck.yml': line 9, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Checking free port for MariaDB\n ^ here\n"}
PLAY RECAP ****************************************************************************************************
localhost : ok=19 changed=0 unreachable=0 failed=1 skipped=8 rescued=0 ignored=0
Command failed ansible-playbook -i ./all-in-one -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla -e kolla_action=precheck /usr/share/kolla-ansible/ansible/site.yml
precheck.yml檔案9行3列:
9 - name: Checking free port for MariaDB
10 wait_for:
11 host: "{{ api_interface_address }}"
12 port: "{{ database_port }}"
13 connect_timeout: 1
14 timeout: 1
15 state: stopped
16 when:
環境:all-in-one 未使用虛擬網路其他與官方檔案一致
uj5u.com熱心網友回復:
求各位大神教教我這個問題怎么解決!轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/30775.html
標籤:服務器
