gdeploy
gdeploy copied to clipboard
gluster_log_file missing for georep-session-config.yml
Errors and failures occur when trying to modify geo-replication configuration.
# Alter geo-rep variables
[geo-replication]
action=config
mastervol=gluster1:vol1
slavevol=gluster-geo1:geo-vol1
sync-jobs=6
Using /etc/ansible/ansible.cfg as config file
PLAYBOOK: georep-session-config.yml ********************************************
1 plays in /tmp/tmpTFZOYh/georep-session-config.yml
PLAY [georep_master] ***********************************************************
TASK [Configures the geo-rep session] ******************************************
task path: /tmp/tmpTFZOYh/georep-session-config.yml:7
fatal: [gluster1]: FAILED! => {"changed": false, "failed": true, "msg": "Please provide gluster_log_file option in the playbook!"}
to retry, use: --limit @/tmp/tmpTFZOYh/georep-session-config.retry
PLAY RECAP *********************************************************************
gluster1 : ok=0 changed=0 unreachable=0 failed=1
Ignoring errors...
[root@srvr]# find /tmp/tmpTFZOYh/ -type f -exec grep -Hi "gluster_log_file" {} \;
ERROR-geo-rep-configure/group_vars/all:gluster_log_file: null
ERROR-geo-rep-configure/georep-session-config.yml: gluster_log_file="{{ gluster_log_file}}"