Hi Vladimir and Daniel,

I’m having same issue but inventory is having client_ssh_user and cluster_ssh_user set in vars.

Do i need to set them again for primary node?

One more question. After running the ansible-playbook second time the error appearing as helm plugin already exists. 

Ali 



On Wed, Nov 13, 2024 at 7:58 PM Vladimir Kozhukalov <kozhukalov@gmail.com> wrote:
Hi, 

You are right, the doc is missing the recommendation to set the client_ssh_user and cluster_ssh_user variables. They must be defined. I'll fix the doc.

All the defaults can be found here [1]

[1] https://opendev.org/openstack/openstack-helm-infra/src/branch/master/roles/deploy-env/defaults/main.yaml

On Mon, Nov 11, 2024 at 7:32 PM <daniel890723@gmail.com> wrote:
Hello today i'm testing installation with completely new enviroment
i was following the guide from Openstack-helm document and install k8s cluster using ansible and deploy-env playbook
but i encounter this error when setup ssh cluster
TASK [deploy-env : Generate ssh key pair] ******************************************************************************************************************
skipping: [node-1]
fatal: [primary]: FAILED! => {"msg": "Failed to change ownership of the temporary files Ansible (via chmod nor setfacl) needs to create despite connecting as a privileged user. Unprivileged become user would be unable to read the file."}
and the log with -vvv output:
debug2: mux_client_hello_exchange: master version 4
debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
debug3: mux_client_request_session: entering
debug3: mux_client_request_alive: entering
debug3: mux_client_request_alive: done pid = 114038
debug3: mux_client_request_session: session request sent
debug1: mux_client_request_session: master session id: 2
chown: invalid user: ‘zuul’
debug3: mux_client_read_packet: read header failed: Broken pipe
debug2: Received exit status from master 1

And by checking the playbook we can see the playbook is using
 "{{ client_ssh_user }}" on primary node and "{{ cluster_ssh_user }}" with cluster node
which is not defined in inventory.yaml Causing it using default user zuul
by adding client_ssh_user & cluster_ssh_user in ansible inventory it works normally
Is this meant to be like this? or the document missing some variables in inventory.yaml


--
Best regards,
Kozhukalov Vladimir