← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1399788] [NEW] neutron doesn't log tenant_id and user_id along side req-id in logs

 

Public bug reported:

neutron logs:  [req-94a39f87-e470-4032-82af-9a6b429b60fa None]
while nova logs: [req-c0b4dfb9-8af3-40eb-b0dd-7b576cfd1d55 AggregatesAdminTestJSON-917687995 AggregatesAdminTestJSON-394398414]


Nova uses the format: #logging_context_format_string=%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s

Without knowing the user and tenant its hard to understand what the logs
are doing when multiple tenants are using the cloud.

** Affects: neutron
     Importance: High
         Status: Confirmed


** Tags: low-hanging-fruit

** Tags added: low-hanging-fruit

** Changed in: neutron
       Status: New => Confirmed

** Changed in: neutron
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1399788

Title:
  neutron doesn't log tenant_id and user_id along side req-id in logs

Status in OpenStack Neutron (virtual network service):
  Confirmed

Bug description:
  neutron logs:  [req-94a39f87-e470-4032-82af-9a6b429b60fa None]
  while nova logs: [req-c0b4dfb9-8af3-40eb-b0dd-7b576cfd1d55 AggregatesAdminTestJSON-917687995 AggregatesAdminTestJSON-394398414]

  
  Nova uses the format: #logging_context_format_string=%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s

  Without knowing the user and tenant its hard to understand what the
  logs are doing when multiple tenants are using the cloud.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1399788/+subscriptions


Follow ups

References