Re: [xcat-user] [External] Ansible and Confluent

2024-01-26 Thread David Magda
We have Confluent installed on a RH/CentOS 7 system that originally had/has xCat installed for deployment of our Lenovo hardware/HPC solution. I just installed it there as it was/is our 'install server'. (We don't want to touch it too much, as it was a previous team of folks that set things up,

Re: [xcat-user] [External] Ansible and Confluent

2024-01-26 Thread Jarrod Johnson
Ok, another track (trying to compensate for not being able to use selfcheck). Can you try sticking some file in the profile's syncfiles, then do: nodeapply -F And see if any errors happen, either in output or in the /var/log/confluet area. From: David Magda Sent

Re: [xcat-user] [External] Ansible and Confluent

2024-01-26 Thread David Magda
There’s no “syncfiles” in the default Ubuntu profile, nor anything in the web docs on its format, but I found a template in "/opt/confluent/lib/osdeploy/el9/profiles/default/syncfiles”. Created a file with the line: /etc/hosts -> /etc/hosts_test With the results: """ # nodeapply -F d

Re: [xcat-user] [External] Ansible and Confluent

2024-01-26 Thread Jarrod Johnson
# ls /var/lib/confluent/public/site/ssh/*pubkey From: David Magda Sent: Friday, January 26, 2024 3:40 PM To: xCAT Users Mailing list Subject: Re: [xcat-user] [External] Ansible and Confluent There’s no “syncfiles” in the default Ubuntu profile, nor anything in

Re: [xcat-user] [External] Ansible and Confluent

2024-01-26 Thread David Magda
""" # ls -lrth /var/lib/confluent/public/site/ssh/*pubkey -rw-r--r-- 1 confluent root 410 Oct 31 12:05 /var/lib/confluent/public/site/ssh/mp01.example.com.rootpubkey -rw-r--r-- 1 confluent root 129 Oct 31 12:05 /var/lib/confluent/public/site/ssh/mp01.example.com.automationpubkey # ssh dm-boot1

Re: [xcat-user] [External] Ansible and Confluent

2024-01-26 Thread Jarrod Johnson
Hmm, how odd # cat /var/lib/confluent/public/site/ssh/mp01.example.com.automationpubkey /etc/confluent/ssh/automation.pub Do they match? From: David Magda Sent: Friday, January 26, 2024 3:50 PM To: xCAT Users Mailing list Subject: Re: [xcat-user] [External

Re: [xcat-user] [External] Ansible and Confluent

2024-01-26 Thread David Magda
Yup: """ # sha1sum /var/lib/confluent/public/site/ssh/*pubkey /etc/confluent/ssh/automation.pub b88168467bf2920011f4a769d7cbd7aab0de0b35 /var/lib/confluent/public/site/ssh/mp01.example.com.automationpubkey 27574dd33ad3781bb588d7fcef2b8a6dd189d3cb /var/lib/confluent/public/site/ssh/mp01.exam

Re: [xcat-user] [External] Ansible and Confluent

2024-01-26 Thread Jarrod Johnson
create the following as a python script: import confluent.sshutil as ssh print(ssh.get_passphrase()) Then: export PYTHONPATH=/opt/confluent/lib/python python thatscript.py Then: sudo -u confluent bash eval $(ssh-agent) ssh-add /etc/confluent/ssh/automation Then paste in the passphrase from abov