← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1515906] Re: lb: TypeError: %d format: a number is required, not unicode found in linuxbridge agent log

 

Had a quick look at 2 other patchsets - Haven't found this message in
there. So probably related to my patchset?

I set to invalid - try to investigate and if still exists, open this bug
again. Sorry for the inconvenience!

** Changed in: neutron
       Status: Triaged => Invalid

** Changed in: oslo.log
       Status: New => Invalid

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

Title:
  lb: TypeError: %d format: a number is required, not unicode found in
  linuxbridge agent log

Status in neutron:
  Invalid
Status in oslo.log:
  Invalid

Bug description:
  Seems NOT to have any functional impact!

  The following message showed up during linuxbridge tempest runs in
  q-agt logfile [1]:

  2015-11-12 09:20:08.548 DEBUG neutron.agent.linux.utils [req-b7d3dcbb-0a93-4474-b4dc-d8bfea202fb3 None None] Running command (rootwrap daemon): ['ip', 'link', 'set', 'tap4d65ca18-97', 'mtu', '1450'] execute_rootwrap_daemon /opt/stack/new/neutron/neutron/agent/linux/utils.py:99
  2015-11-12 09:20:08.552 DEBUG neutron.agent.linux.utils [req-b7d3dcbb-0a93-4474-b4dc-d8bfea202fb3 None None] Command: ['ip', 'link', 'set', u'tap4d65ca18-97', 'mtu', 1450]; Exit code: 0 execute /opt/stack/new/neutron/neutron/agent/linux/utils.py:150
  Traceback (most recent call last):
    File "/usr/lib/python2.7/logging/__init__.py", line 851, in emit
      msg = self.format(record)
    File "/usr/local/lib/python2.7/dist-packages/oslo_log/handlers.py", line 117, in format
      return logging.StreamHandler.format(self, record)
    File "/usr/lib/python2.7/logging/__init__.py", line 724, in format
      return fmt.format(record)
    File "/usr/local/lib/python2.7/dist-packages/oslo_log/formatters.py", line 236, in format
      return logging.Formatter.format(self, record)
    File "/usr/lib/python2.7/logging/__init__.py", line 464, in format
      record.message = record.getMessage()
    File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage
      msg = msg % self.args
  TypeError: %d format: a number is required, not unicode
  Logged from file linuxbridge_neutron_agent.py, line 458

  Line 458 in linuxbridge_neutron_agent.py is this line in the tested
  patchst:

    bridge_name = self.get_bridge_name(network_id)

  [1] http://logs.openstack.org/85/193485/13/check/gate-tempest-dsvm-
  neutron-linuxbridge/079f108/logs/screen-q-agt.txt.gz

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


References