Bug 1206633
| Summary: | networking plugin fails if NetworkManager is disabled | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Peter Portante <pportant> | |
| Component: | sos | Assignee: | Pavel Moravec <pmoravec> | |
| Status: | CLOSED ERRATA | QA Contact: | David Kutálek <dkutalek> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 7.1 | CC: | agk, bmr, dkutalek, gavin, isenfeld, jherrman, jkurik, plambri, sbradley | |
| Target Milestone: | rc | Keywords: | Patch, ZStream | |
| Target Release: | --- | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | sos-3.2-17.el7 | Doc Type: | Bug Fix | |
| Doc Text: |
The networking plug-in for the sos utility previously reported an "unhandled exception" error when the Network Manager tool was disabled. With this update, the status of the nmcli utility is properly checked before the networking plug-in processes its output, which prevents the plug-in from generating the error.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1206661 1214025 (view as bug list) | Environment: | ||
| Last Closed: | 2015-11-19 12:17:08 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1206661, 1214025 | |||
|
Description
Peter Portante
2015-03-27 15:08:00 UTC
Trivial backport of https://github.com/sosreport/sos/commit/d19bc046d549aaf634314a257dd22623df731648 Reproducer (on RHEL7): # systemctl stop NetworkManager.service # sosreport -o networking --batch sosreport (version 3.2) This command will collect diagnostic and configuration information from this Red Hat Enterprise Linux system and installed applications. An archive containing the collected information will be generated in /var/tmp and may be provided to a Red Hat support representative. Any information provided to Red Hat will be treated in accordance with the published support policies at: https://access.redhat.com/support/ The generated archive may contain data considered sensitive and its content should be reviewed by the originating organization before being passed to any third party. No changes will be made to system configuration. Setting up archive ... Setting up plugins ... Running plugins. Please wait ... Running 1/1: networking... caught exception in plugin method "networking.collect()" writing traceback to sos_logs/networking-plugin-errors.txt Creating compressed archive... Your sosreport has been generated and saved in: /var/tmp/sosreport-pmoravec-rhel7-sat6.gsslab.brq.redhat.com-20150419193646.tar.xz The checksum is: 0c4ef9d8a8cd44806bde51472e1141cd Please send this file to your support representative. # See the "sos_logs/networking-plugin-errors.txt". Running with -v shows more specific info: [plugin:networking] collecting output of 'nmcli con show conf 'Error: nmcli (0.9.9.1) and NetworkManager (unknown) versions don't match. Force execution using --nocheck, but the results are unpredictable.'' caught exception in plugin method "networking.collect()" writing traceback to sos_logs/networking-plugin-errors.txt Wrong BZ for the see also.. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2118.html |