Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1518545 - [RFE] otopi should log on failure list of network connections
[RFE] otopi should log on failure list of network connections
Status: CLOSED CURRENTRELEASE
Product: otopi
Classification: oVirt
Component: Plugins.General (Show other bugs)
master
Unspecified Unspecified
unspecified Severity unspecified (vote)
: ovirt-4.1.9
: 1.6.3
Assigned To: Yedidyah Bar David
Lucie Leistnerova
: FutureFeature
Depends On:
Blocks: 1532525
  Show dependency treegraph
 
Reported: 2017-11-29 02:48 EST by Yedidyah Bar David
Modified: 2018-01-28 20:11 EST (History)
5 users (show)

See Also:
Fixed In Version: otopi-1.6.3
Doc Type: Enhancement
Doc Text:
otopi now optionally logs the list of network connections on the machine after failures. Enable this by installing the optional otopi-debug-plugins package. This can help debug failures to start network services due to "Address already in use" errors.
Story Points: ---
Clone Of:
: 1518689 (view as bug list)
Environment:
Last Closed: 2018-01-24 05:40:45 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Integration
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
sbonazzo: ovirt‑4.1?
rule-engine: planning_ack?
sbonazzo: devel_ack+
lsvaty: testing_ack+


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 84849 otopi-1.6 MERGED core: Name TRANSACTION_INIT 2017-11-29 05:13 EST
oVirt gerrit 84850 otopi-1.6 MERGED plugins: debug: Add debug_failure 2017-11-29 05:13 EST
oVirt gerrit 84851 otopi-1.6 MERGED automation: Test failure 2017-11-29 05:13 EST
oVirt gerrit 84925 otopi-1.6 MERGED plugins: debug: Fix debug_failure out of transaction 2017-11-30 09:44 EST

  None (edit)
Description Yedidyah Bar David 2017-11-29 02:48:44 EST
Description of problem:

We had several different cases lately of engine-setup or host-deploy failing to start services due to "Address already in use". It will be helpful if otopi logs e.g. the output of 'ss -anp' on failure.

This was already merged in the master branch, as a new debug plugin, always active if 'otopi-debug-plugins' is installed. Opening current bug for consideration for 4.1 (otopi 1.6 branch).
Comment 2 Lucie Leistnerova 2018-01-22 09:49:37 EST
with installed rpm otopi-debug-plugins when engine-setup or host deploy fails, log contains:

2018-01-22 15:14:14 DEBUG otopi.plugins.otopi.debug.debug_failure.debug_failure debug_failure._notification:100 tcp connections:
id uid local foreign state pid exe
0: 29 0.0.0.0:40398 0.0.0.0:0 LISTEN 19376 /usr/sbin/rpc.statd
...

verified in otopi-1.6.3-1.el7ev.noarch, otopi-debug-plugins-1.6.3-1.el7ev.noarch with ovirt-engine-4.1.9-0.2.el7.noarch
Comment 3 Sandro Bonazzola 2018-01-24 05:40:45 EST
This bugzilla is included in oVirt 4.1.9 release, published on Jan 24th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.1.9 release, published on Jan 24th 2018, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.

Note You need to log in before you can comment on or make changes to this bug.