SUSE Support

Here When You Need Us

The salt-minion.service fails when the minion has 2 IP addresses. Python exception 'illegal IP address string passed to inet_pton'

This document (000020527) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Manager Versions Affected:
SUSE Manager 4.1
SUSE Manager 4.2

Client Environments Affected:
SLES 12
RHEL 7 Expanded Support


Situation

After upgrading salt packages to version 3000-46.156.1, the salt-minion.service (on minions with two IP addresses in an interface) fails with python exception 'illegal IP address string passed to inet_pton'.

Resolution

Update:

Engineering has released package updates that resolve the issue.

The following can be run to identify the patch status, and install package updates if needed.

For impacted SLES 12 systems:

# zypper lp -a -b1193565
# zypper patch -b1193565

Fixed package version(s) - SLES 12
salt-minion >= 3000-53.1             
python2-salt >= 3000-53.1               
salt >= 3000-53.1          


For impacted RES 7 systems:

# yum check-update --bzs=1193565
# yum update --bzs=1193565

Fixed package version(s) - RES 7
salt-minion >= 3000-192.1            
python2 >= salt-3000-192.1           
salt >= 3000-192.1

---

Previous, PTF involved solution

A temporary patch (Program Temporary Fix) had been made available for client systems affected by this situation. Since the issue can impact the SUSE Manager client registration process, if a client system is impacted by this issue, the packages containing the fix may need to be installed manually.

Mass PTF:
SLE 12 x86_64 - https://ptf.suse.com/f2cf38b50ed714a8409693060195b235/susemanager-client-tools-12/23372/x86_64/20211214

SLE 12 ppc64le - https://ptf.suse.com/f2cf38b50ed714a8409693060195b235/susemanager-client-tools-12/23372/ppc64le/20220120

RES 7 - https://ptf.suse.com/f2cf38b50ed714a8409693060195b235/res7-susemanager-client-tools-12/23441/x86_64/20211223


Best practice for applying Program Temporary Fixes (PTFs) - https://www.suse.com/support/kb/doc/?id=000018572

For impacted SLES 12 x86_64 clients install the following packages from the above link, then run `systemctl restart salt-minion`:
python2-salt-3000-46.156.1.23372.0.PTF.1193565.x86_64.rpm  
salt-3000-46.156.1.23372.0.PTF.1193565.x86_64.rpm 
salt-minion-3000-46.156.1.23372.0.PTF.1193565.x86_64.rpm 

For impacted SLES 12 ppc64le clients install the following packages from the above link, then run `systemctl restart salt-minion`:
python2-salt-3000-46.156.1.23372.0.PTF.1193565.ppc64le.rpm
salt-3000-46.156.1.23372.0.PTF.1193565.ppc64le.rpm  
salt-minion-3000-46.156.1.23372.0.PTF.1193565.ppc64le.rpm

For impacted RHEL/RES 7 clients install the following packages from the above link, then run `systemctl restart salt-minion`
salt-3000-189.1.23441.0.PTF.1193565.x86_64.rpm 
salt-minion-3000-189.1.23441.0.PTF.1193565.x86_64.rpm 
python2-salt-3000-189.1.23441.0.PTF.1193565.x86_64.rpm

Cause

Issue in grains code for clients that use python2-salt packages.

Status

Top Issue

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000020527
  • Creation Date: 15-Mar-2022
  • Modified Date:15-Mar-2022
    • SUSE Manager

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.