Home > other >  Kolla deployment of all - in - one. The problem of MariaDB. OpneStack, R
Kolla deployment of all - in - one. The problem of MariaDB. OpneStack, R

Time:10-17

# : kolla ansible - i./all - in - one prechecks
Error:
TASK [mariadb: Checking free port for mariadb] * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Fatal: [localhost] : FAILED!=& gt; {" 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 a '/usr/share/kolla - ansible/ansible/roles/mariadb/tasks/precheck yml' : The line 9, The 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: 19 changed ok==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 kolla_action==/etc/kolla - e precheck/usr/share/kolla - ansible/ansible/site. Yml





Precheck. Yml file 9 line 3 columns:
9 - name: Checking free port for MariaDB
10 wait_for:
The host: "{{api_interface_address}}"
Port: "{{database_port}}"
13 connect_timeout: 1
14 the timeout: 1
15 state: stopped
16 the when:


Environment: all - in - one unused virtual network is consistent with other official documents

CodePudding user response:

Great god teach me how to solve this problem for all of you!