Giter VIP home page Giter VIP logo

ansible-pacemaker-corosync's Introduction

ansible-pacemaker-corosync role

Deploys corosync/pacemaker on Ubuntu 14.04

Variables

  • pacemaker_corosync_group: Ansible group name for corosync cluster (default: false, mandatory)
  • pacemaker_corosync_ring_interface: Interface to use for ring0 communications (default: false, mandatory)

ansible-pacemaker-corosync's People

Contributors

leucos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ansible-pacemaker-corosync's Issues

synchronize module hangs indefinitely when synchronizing between 2 remote hosts

Ansible Version:

ansible 2.2.1.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides

Ansible Configuration: default

Environment:

Host: Debian 9
VMs Virtualbox - Vagrant
Vms OS: Ubuntu 14.04

Summary:

The synchronize module hangs indefinitely if used to synchronize a file between two remote hosts with the delegate_to option.

TASK [pacemaker : Copy authkey to other nodes] *********************************
task path: /etc/ansible/roles/pacemaker/tasks/pacemaker.yml:26
skipping: [192.168.222.201] => {
    "changed": false, 
    "skip_reason": "Conditional check failed", 
    "skipped": true
}
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/files/synchronize.py
<192.168.222.201> ESTABLISH SSH CONNECTION FOR USER: root
<192.168.222.201> SSH: EXEC ssh -o ForwardAgent=yes -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 192.168.222.201 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo ~/.ansible/tmp/ansible-tmp-1497978080.92-156849403813773 `" && echo ansible-tmp-1497978080.92-156849403813773="` echo ~/.ansible/tmp/ansible-tmp-1497978080.92-156849403813773 `" ) && sleep 0'"'"''
<192.168.222.201> PUT /tmp/tmpobrVhO TO /root/.ansible/tmp/ansible-tmp-1497978080.92-156849403813773/synchronize.py
<192.168.222.201> SSH: EXEC sftp -b - -o ForwardAgent=yes -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 '[192.168.222.201]'
<192.168.222.201> ESTABLISH SSH CONNECTION FOR USER: root
<192.168.222.201> SSH: EXEC ssh -o ForwardAgent=yes -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 192.168.222.201 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1497978080.92-156849403813773/ /root/.ansible/tmp/ansible-tmp-1497978080.92-156849403813773/synchronize.py && sleep 0'"'"''
<192.168.222.201> ESTABLISH SSH CONNECTION FOR USER: root
<192.168.222.201> SSH: EXEC ssh -o ForwardAgent=yes -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -tt 192.168.222.201 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1497978080.92-156849403813773/synchronize.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1497978080.92-156849403813773/" > /dev/null 2>&1 && sleep 0'"'"''

What did

  • Adding -o ForwardAgent = yes to the ssh_args setting in /etc/ansible/ansible.cfg
  • Ensure rsync run on both VMs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.