gdeploy icon indicating copy to clipboard operation
gdeploy copied to clipboard

gluster_log_file missing for georep-session-config.yml

Open johnsimcall opened this issue 8 years ago • 0 comments

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

johnsimcall avatar Jun 08 '17 21:06 johnsimcall