Missing information in log message for Invalid tunnel type

Bug #1863888 reported by Alexandros Soumplis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Brian Haley

Bug Description

When a host has an invalid tunnel type, neutron-api raises an error like the following:

2020-02-18 06:25:10.258 1170 ERROR oslo_messaging.rpc.server [req-97f7791d-d58d-4315-b7f9-3516f790c46b - - - - -] Exception during message handling: neutron_lib.exceptions.InvalidInput: Invalid input for operation: Network type value 'gre' not supported.

This info does not help track the offending host, we need the host name and tunnel ip logged.

Tags: logging
Changed in neutron:
assignee: nobody → Alexandros Soumplis (soumplis)
status: New → In Progress
Revision history for this message
Alexandros Soumplis (soumplis) wrote :
tags: added: logging
Changed in neutron:
importance: Undecided → Medium
summary: - Invalid tunnel type
+ Missing informations in log message for Invalid tunnel type
summary: - Missing informations in log message for Invalid tunnel type
+ Missing information in log message for Invalid tunnel type
Changed in neutron:
assignee: Alexandros Soumplis (soumplis) → Brian Haley (brian-haley)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/708634
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=e4de8d0dd3fed2145a309cf2ca7a487f73545af3
Submitter: Zuul
Branch: master

commit e4de8d0dd3fed2145a309cf2ca7a487f73545af3
Author: Alexandros Soumplis <email address hidden>
Date: Wed Feb 19 14:02:25 2020 +0200

    Improve log message on exception for invalid tunnel type

    When a tunnel with an invalid or unsupported type is to be created an
    exception is raised but does not contain info for the offending host.
    Add the host info and tunnel ip address to the exception error message
    for better debugging

    Change-Id: Id989f20043c252ff61ab9a6ee227e8c9c7c5029b
    Closes-Bug: #1863888

Changed in neutron:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.