Change in vdsm[ovirt-3.6.3]: net: Adjust the parsing of multiline tc error
fromani at redhat.com
fromani at redhat.com
Thu Mar 3 14:10:41 UTC 2016
Francesco Romani has submitted this change and it was merged.
Change subject: net: Adjust the parsing of multiline tc error
......................................................................
net: Adjust the parsing of multiline tc error
tc errors are parsed to determine the failure cause.
Recently a new error output has been seen, whith a multiline message
where the expected prefix ('RTNETLINK answers') was not in the first
line. ('Message truncated\nMessage truncated\nRTNETLINK answers:')
This patch fixes the parsing of the error message by checking each line
for the prefix.
Change-Id: I337aa1722ce72fef598565b00cd7a8935d64f171
Bug-Url: https://bugzilla.redhat.com/1303410
Signed-off-by: Edward Haas <edwardh at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/54229
Continuous-Integration: Jenkins CI
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/54237
Continuous-Integration: Dan Kenigsberg <danken at redhat.com>
Reviewed-by: Francesco Romani <fromani at redhat.com>
---
M vdsm/network/tc/_wrapper.py
1 file changed, 7 insertions(+), 4 deletions(-)
Approvals:
Dan Kenigsberg: Looks good to me, approved; Passed CI tests
Francesco Romani: Looks good to me, approved
Edward Haas: Verified
--
To view, visit https://gerrit.ovirt.org/54237
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I337aa1722ce72fef598565b00cd7a8935d64f171
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.6.3
Gerrit-Owner: Edward Haas <edwardh at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Edward Haas <edwardh at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the vdsm-patches
mailing list