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,
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
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
# 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
"""
# 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
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
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
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