Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gluster_peer: Use mode=script for peer detach/probe commands #54843

Closed
sac opened this issue Apr 4, 2019 · 3 comments
Closed

gluster_peer: Use mode=script for peer detach/probe commands #54843

sac opened this issue Apr 4, 2019 · 3 comments
Labels
affects_2.7 This issue/PR affects Ansible v2.7 bug This issue/PR relates to a bug. glusterfs Glusterfs community has_pr This issue has an associated PR. module This issue/PR relates to a module. storage support:community This issue/PR relates to code supported by the Ansible community.

Comments

@sac
Copy link
Contributor

sac commented Apr 4, 2019

SUMMARY

With recent changes in Gluster commands. gluster peer detach will prompt for question.
Hence ansible appears to have been stuck, as it is waiting on the (y/n) prompt in the remote
node.

ISSUE TYPE
  • Bug Report
COMPONENT NAME

gluster_peer

ANSIBLE VERSION
ansible 2.7.8
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/home/sac/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.15 (default, Oct 15 2018, 15:24:06) [GCC 8.1.1 20180712 (Red Hat 8.1.1-5)]

CONFIGURATION
DEFAULT_ROLES_PATH(/etc/ansible/ansible.cfg) = [u'/etc/ansible/roles', u'/home/sac/work']
OS / ENVIRONMENT

Fedora 28

STEPS TO REPRODUCE
- name: Delete a node from the trusted storage pool by force
  gluster_peer:
         state: absent
         nodes:
              - 10.0.0.1
         force: true
EXPECTED RESULTS

Ansible playbook should complete successfully.

ACTUAL RESULTS

Ansible playbook appears to have stuck.

@ansibot
Copy link
Contributor

ansibot commented Apr 4, 2019

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibot
Copy link
Contributor

ansibot commented Apr 4, 2019

@ansibot ansibot added affects_2.7 This issue/PR affects Ansible v2.7 bug This issue/PR relates to a bug. glusterfs Glusterfs community module This issue/PR relates to a module. needs_triage Needs a first human triage before being processed. storage support:community This issue/PR relates to code supported by the Ansible community. labels Apr 4, 2019
@Akasurde
Copy link
Member

Akasurde commented Apr 5, 2019

resolved_by_pr #54895

@Akasurde Akasurde added has_pr This issue has an associated PR. and removed needs_triage Needs a first human triage before being processed. labels Apr 5, 2019
@ansibot ansibot closed this as completed Apr 5, 2019
@ansible ansible locked and limited conversation to collaborators Jul 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.7 This issue/PR affects Ansible v2.7 bug This issue/PR relates to a bug. glusterfs Glusterfs community has_pr This issue has an associated PR. module This issue/PR relates to a module. storage support:community This issue/PR relates to code supported by the Ansible community.
Projects
None yet
Development

No branches or pull requests

3 participants