gluster / gluster-ansible-features

Ansible role to enable a Gluster cluster with gluster-specific features like samba, ganesha etc.
GNU General Public License v3.0
10 stars 14 forks source link

[CTDB] adding local user via smbpasswd fails on Ubuntu 20.04 #49

Open hunter86bg opened 3 years ago

hunter86bg commented 3 years ago

When the flow is reaching the point to create the user, smbpasswd fails with :

TASK [gluster.features/roles/ctdb : Set smb password] *****************************************************************************************************************************************
fatal: [kubluster]: FAILED! => {"changed": true, "msg": "non-zero return code", "rc": 1, "stderr": "Shared connection to kubluster closed.\r\n", "stderr_lines": ["Shared connection to kubluster closed."], "stdout": "\r\n/bin/sh: 1: 1.1: not found\r\n/bin/sh: 1: AES256: not found\r\n/bin/sh: 1: 1.1: not found\r\n/bin/sh: 1: AES256: not found\r\nFailed to open /var/lib/samba/private/secrets.tdb\r\n", "stdout_lines": ["", "/bin/sh: 1: 1.1: not found", "/bin/sh: 1: AES256: not found", "/bin/sh: 1: 1.1: not found", "/bin/sh: 1: AES256: not found", "Failed to open /var/lib/samba/private/secrets.tdb"]}

It seems that 'clustering=yes' is the root cause. Commenting out the line allows the change of the pass.