Клиент в домен вводиться, но какие -то ошибки с salt или в скрипте не пойму. никто не сталкивался? Вроде на работоспособность не влияет но все же
root@astratemplate:~# sudo /opt/rbta/aldpro/client/bin/aldpro-client-installer -c gdo.loc -u admin -p Yu1ekY4543ZJI:tX -d astratemplate -i -f
systemctl mask aldpro-client-service-discovery.service
/usr/bin/astra-freeipa-client -d "gdo.loc" -u "admin" -p "Yu1ekY4543ZJI:tX" -y --par "--hostname=astratemplate.gdo.loc --force-join"
Discovery was successful!
Client hostname: astratemplate.gdo.loc
Realm: GDO.LOC
DNS Domain: gdo.loc
IPA Server: 01-dc-astra.gdo.loc
BaseDN: dc=gdo,dc=loc
Synchronizing time
Configuration of chrony was changed by installer.
Attempting to sync time with chronyc.
Time synchronization was successful.
Successfully retrieved CA cert
Subject: CN=CA Signing Certificate
Issuer: CN=CA Signing Certificate
Valid From: 2023-08-30 09:28:14
Valid Until: 2043-08-25 09:28:14
Enrolled in IPA realm GDO.LOC
Created /etc/ipa/default.conf
Configured sudoers in /etc/nsswitch.conf
Configured /etc/sssd/sssd.conf
Configured /etc/krb5.conf for IPA realm GDO.LOC
Systemwide CA database updated.
Adding SSH public key from /etc/ssh/ssh_host_rsa_key.pub
Adding SSH public key from /etc/ssh/ssh_host_ecdsa_key.pub
Adding SSH public key from /etc/ssh/ssh_host_ed25519_key.pub
SSSD enabled
Configured /etc/openldap/ldap.conf
Configured /etc/ssh/ssh_config
Configured /etc/ssh/sshd_config
Configuring gdo.loc as NIS domain.
Client configuration complete.
The ipa-client-install command was successful
rm -f /etc/salt/minion_id
/usr/bin/python3 /opt/rbta/aldpro/client/bin/aldpro-service-discovery.py
Traceback (most recent call last):
File "/opt/rbta/aldpro/client/bin/aldpro-service-discovery.py", line 277, in <module>
DnsDiscoverier().run()
File "/opt/rbta/aldpro/client/bin/aldpro-service-discovery.py", line 162, in run
current_masters_dict = self.read_salt_masters_json()
File "/opt/rbta/aldpro/client/bin/aldpro-service-discovery.py", line 81, in read_salt_masters_json
with open(self.json_file_path, "w") as outfile:
FileNotFoundError: [Errno 2] No such file or directory: '/var/run/aldpro-client-discovering/masters_dict.json'
Traceback (most recent call last):
File "main.py", line 41, in <module>
File "console_app/install.py", line 17, in add_to_domain
console_app.install.BashException: Команда /usr/bin/python3 /opt/rbta/aldpro/client/bin/aldpro-service-discovery.py завершилась с ошибкой.
[5397] Failed to execute script main
root@astratemplate:~# sudo /opt/rbta/aldpro/client/bin/aldpro-client-installer -c gdo.loc -u admin -p Yu1ekY4543ZJI:tX -d astratemplate -i -f
systemctl mask aldpro-client-service-discovery.service
/usr/bin/astra-freeipa-client -d "gdo.loc" -u "admin" -p "Yu1ekY4543ZJI:tX" -y --par "--hostname=astratemplate.gdo.loc --force-join"
Discovery was successful!
Client hostname: astratemplate.gdo.loc
Realm: GDO.LOC
DNS Domain: gdo.loc
IPA Server: 01-dc-astra.gdo.loc
BaseDN: dc=gdo,dc=loc
Synchronizing time
Configuration of chrony was changed by installer.
Attempting to sync time with chronyc.
Time synchronization was successful.
Successfully retrieved CA cert
Subject: CN=CA Signing Certificate
Issuer: CN=CA Signing Certificate
Valid From: 2023-08-30 09:28:14
Valid Until: 2043-08-25 09:28:14
Enrolled in IPA realm GDO.LOC
Created /etc/ipa/default.conf
Configured sudoers in /etc/nsswitch.conf
Configured /etc/sssd/sssd.conf
Configured /etc/krb5.conf for IPA realm GDO.LOC
Systemwide CA database updated.
Adding SSH public key from /etc/ssh/ssh_host_rsa_key.pub
Adding SSH public key from /etc/ssh/ssh_host_ecdsa_key.pub
Adding SSH public key from /etc/ssh/ssh_host_ed25519_key.pub
SSSD enabled
Configured /etc/openldap/ldap.conf
Configured /etc/ssh/ssh_config
Configured /etc/ssh/sshd_config
Configuring gdo.loc as NIS domain.
Client configuration complete.
The ipa-client-install command was successful
rm -f /etc/salt/minion_id
/usr/bin/python3 /opt/rbta/aldpro/client/bin/aldpro-service-discovery.py
Traceback (most recent call last):
File "/opt/rbta/aldpro/client/bin/aldpro-service-discovery.py", line 277, in <module>
DnsDiscoverier().run()
File "/opt/rbta/aldpro/client/bin/aldpro-service-discovery.py", line 162, in run
current_masters_dict = self.read_salt_masters_json()
File "/opt/rbta/aldpro/client/bin/aldpro-service-discovery.py", line 81, in read_salt_masters_json
with open(self.json_file_path, "w") as outfile:
FileNotFoundError: [Errno 2] No such file or directory: '/var/run/aldpro-client-discovering/masters_dict.json'
Traceback (most recent call last):
File "main.py", line 41, in <module>
File "console_app/install.py", line 17, in add_to_domain
console_app.install.BashException: Команда /usr/bin/python3 /opt/rbta/aldpro/client/bin/aldpro-service-discovery.py завершилась с ошибкой.
[5397] Failed to execute script main