Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:saltstack:products:testing
py27-compat-salt
fix-possible-traceback-on-ip6_interface-grain-b...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-possible-traceback-on-ip6_interface-grain-bsc-11.patch of Package py27-compat-salt
From 96e906ec612541fe6d4c2596481e027191447022 Mon Sep 17 00:00:00 2001 From: Victor Zhestkov <vzhestkov@suse.com> Date: Fri, 28 Jan 2022 16:37:18 +0300 Subject: [PATCH] Fix possible traceback on ip6_interface grain (bsc#1193565) (#465) --- salt/grains/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/grains/core.py b/salt/grains/core.py index 8642ee80ff..de838c04b7 100644 --- a/salt/grains/core.py +++ b/salt/grains/core.py @@ -2377,7 +2377,7 @@ def ip6_interfaces(): try: socket.inet_pton(socket.AF_INET6, secondary["address"]) iface_ips.append(secondary["address"]) - except OSError: + except (OSError, socket.error): pass ret[face] = iface_ips return {'ip6_interfaces': ret} -- 2.34.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor