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

Check if member is in etcd cluster fails with SIGPIPE #7213

Closed
robinelfrink opened this issue Jan 26, 2021 · 0 comments · Fixed by #7214
Closed

Check if member is in etcd cluster fails with SIGPIPE #7213

robinelfrink opened this issue Jan 26, 2021 · 0 comments · Fixed by #7214
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@robinelfrink
Copy link
Contributor

Environment:

  • Cloud provider or hardware configuration:
    On premise (vSphere)

  • OS (printf "$(uname -srm)\n$(cat /etc/os-release)\n"):
    Flatcar Container Linux by Kinvolk 2605.7.0 (Oklo)

  • Version of Ansible (ansible --version):
    ansible 2.9.6

  • Version of Python (python --version):
    Python 3.6.9 (2ad108f17bdb, Apr 07 2020, 02:59:05)

Kubespray version (commit) (git rev-parse --short HEAD):
bba55faa

Network plugin used:
Calico

Full inventory with variables (ansible -i inventory/sample/inventory.ini all -m debug -a "var=hostvars[inventory_hostname]"):

Command used to invoke ansible:

ansible-playbook --ask-vault-pass \
    --inventory <path-to>/inventory \
    --limit etcd,kube-master \
    --extra-vars etcd_retries=30 \
    --extra-vars ignore_assert_errors=yes \
    upgrade-cluster.yml

Output of ansible run:

TASK [etcd : Configure | Check if member is in etcd cluster] ***********************************************************
Tuesday 26 January 2021  10:25:08 +0100 (0:00:00.035)       0:08:36.133 *******
ok: [etcd2]
fatal: [master3]: FAILED! => changed=false
  cmd: /opt/bin/etcdctl member list | grep -q <redacted-ip-address>
  delta: '0:00:00.026362'
  end: '2021-01-26 10:25:09.109536'
  msg: non-zero return code
  rc: 1
  start: '2021-01-26 10:25:09.083174'
  stderr: ''
  stderr_lines: <omitted>
  stdout: ''
  stdout_lines: <omitted>
...ignoring
ok: [etcd1]
ok: [etcd3]

Anything else do we need to know:
While trying to add a master node to the etcd-cluster the task Check if member is in etcd cluster fails with SIGPIPE.

This may be related, or even exactly the same, as #6702.

@robinelfrink robinelfrink added the kind/bug Categorizes issue or PR as related to a bug. label Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant