Minion bug on server with 2 IP addresses
Hello, I have on server with 2 IP adresses on one interface and salt-minion refuse to start. File "/usr/lib/python2.7/site-packages/salt/grains/core.py", line 2378, in ip6_interfaces socket.inet_pton(socket.AF_INET6, secondary["address"]) error: illegal IP address string passed to inet_pton Because is my only server with this issue, I just comment that line to run the minion, but not very happy about this solution. I found this recomandation on SUSE site: https://www.suse.com/support/kb/doc/?id=000020527. Exist some update for Uyuni 2021.12 stable ? -- Cristian Gherman Sysadmin @Reea SRL Romania | cristian.gherman@reea.net | www.reea.net
On jueves, 6 de enero de 2022 9:02:22 (CET) Cristian Gherman wrote:
Hello,
I have on server with 2 IP adresses on one interface and salt-minion refuse to start.
File "/usr/lib/python2.7/site-packages/salt/grains/core.py", line 2378, in ip6_interfaces socket.inet_pton(socket.AF_INET6, secondary["address"]) error: illegal IP address string passed to inet_pton
Because is my only server with this issue, I just comment that line to run the minion, but not very happy about this solution.
I found this recomandation on SUSE site: https://www.suse.com/support/kb/doc/?id=000020527. Exist some update for Uyuni 2021.12 stable ?
As far as I can tell from the link, the fix is on salt 3000 for SLE12 and CentOS7 and clones. However, Uyuni 2021.12 enabled the salt bundle for all minions [1] and I am not sure if the bundle is affected. I think you are still using the "classic" salt-minion package. Can you reproduce with the bundle? [1] https://www.uyuni-project.org/doc/2021.12/release-notes-uyuni-server.html#_s...
-- Cristian Gherman
Sysadmin @Reea SRL Romania | cristian.gherman@reea.net | www.reea.net
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
Hello, Yes I use salt-minion from Uyuni client repo: [root@admin cristi]# rpm -qi salt-minion Name : salt-minion Version : 3000 Release : 22.4.uyuni Architecture: x86_64 Install Date: Thu 06 Jan 2022 02:30:52 AM EST Group : System/Management Size : 41193 License : Apache-2.0 Signature : RSA/SHA256, Thu 25 Nov 2021 07:05:44 AM EST, Key ID 972e5d6c0d20833e Source RPM : salt-3000-22.4.uyuni.src.rpm Build Date : Thu 25 Nov 2021 07:05:25 AM EST Build Host : sheep86 Relocations : (not relocatable) Vendor : obs://build.opensuse.org/systemsmanagement:Uyuni URL : http://saltstack.org/ Summary : The client component for Saltstack Cristian Gherman Sysadmin @Reea SRL Romania | cristian.gherman@reea.net | www.reea.net On 1/10/22 11:44, Julio Gonzalez wrote:
On jueves, 6 de enero de 2022 9:02:22 (CET) Cristian Gherman wrote:
Hello,
I have on server with 2 IP adresses on one interface and salt-minion refuse to start.
File "/usr/lib/python2.7/site-packages/salt/grains/core.py", line 2378, in ip6_interfaces socket.inet_pton(socket.AF_INET6, secondary["address"]) error: illegal IP address string passed to inet_pton
Because is my only server with this issue, I just comment that line to run the minion, but not very happy about this solution.
I found this recomandation on SUSE site: https://www.suse.com/support/kb/doc/?id=000020527. Exist some update for Uyuni 2021.12 stable ? As far as I can tell from the link, the fix is on salt 3000 for SLE12 and CentOS7 and clones.
However, Uyuni 2021.12 enabled the salt bundle for all minions [1] and I am not sure if the bundle is affected. I think you are still using the "classic" salt-minion package.
Can you reproduce with the bundle?
[1] https://www.uyuni-project.org/doc/2021.12/release-notes-uyuni-server.html#_s...
-- Cristian Gherman
Sysadmin @Reea SRL Romania | cristian.gherman@reea.net | www.reea.net
On lunes, 10 de enero de 2022 10:50:34 (CET) Cristian Gherman wrote:
Hello,
Yes I use salt-minion from Uyuni client repo:
[root@admin cristi]# rpm -qi salt-minion Name : salt-minion Version : 3000 Release : 22.4.uyuni Architecture: x86_64 Install Date: Thu 06 Jan 2022 02:30:52 AM EST Group : System/Management Size : 41193 License : Apache-2.0 Signature : RSA/SHA256, Thu 25 Nov 2021 07:05:44 AM EST, Key ID 972e5d6c0d20833e Source RPM : salt-3000-22.4.uyuni.src.rpm Build Date : Thu 25 Nov 2021 07:05:25 AM EST Build Host : sheep86 Relocations : (not relocatable) Vendor : obs://build.opensuse.org/systemsmanagement:Uyuni URL : http://saltstack.org/ Summary : The client component for Saltstack
Can you reproduce with the salt bundle as well?
Cristian Gherman
Sysadmin @Reea SRL Romania | cristian.gherman@reea.net | www.reea.net
On 1/10/22 11:44, Julio Gonzalez wrote:
On jueves, 6 de enero de 2022 9:02:22 (CET) Cristian Gherman wrote:
Hello,
I have on server with 2 IP adresses on one interface and salt-minion refuse to start.
File "/usr/lib/python2.7/site-packages/salt/grains/core.py", line 2378, in ip6_interfaces
socket.inet_pton(socket.AF_INET6, secondary["address"])
error: illegal IP address string passed to inet_pton
Because is my only server with this issue, I just comment that line to run the minion, but not very happy about this solution.
I found this recomandation on SUSE site: https://www.suse.com/support/kb/doc/?id=000020527. Exist some update for Uyuni 2021.12 stable ?
As far as I can tell from the link, the fix is on salt 3000 for SLE12 and CentOS7 and clones.
However, Uyuni 2021.12 enabled the salt bundle for all minions [1] and I am not sure if the bundle is affected. I think you are still using the "classic" salt-minion package.
Can you reproduce with the bundle?
[1] https://www.uyuni-project.org/doc/2021.12/release-notes-uyuni-server.html #_salt_as_a_bundle
-- Cristian Gherman
Sysadmin @Reea SRL Romania | cristian.gherman@reea.net | www.reea.net
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
participants (2)
-
Cristian Gherman
-
Julio Gonzalez