yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #56485
[Bug 1623176] Re: TypeError in neutron.cmd.checks._vf_management_support
Reviewed: https://review.openstack.org/369656
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=c231bfb6c4743baaa1429487621d3bf18e4f1c6a
Submitter: Jenkins
Branch: master
commit c231bfb6c4743baaa1429487621d3bf18e4f1c6a
Author: Matt Riedemann <mriedem@xxxxxxxxxx>
Date: Tue Sep 13 15:56:50 2016 -0400
Fix TypeError in sanity check logging format
The logger needs 'cap' in a replacement dict else you
get a TypeError when formatting.
Change-Id: I0bc9c8fe8f0f4e5fc44030fcc3217ccd1b485d51
Closes-Bug: #1623176
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1623176
Title:
TypeError in neutron.cmd.checks._vf_management_support
Status in neutron:
Fix Released
Bug description:
Seen here:
2016-09-13 19:39:39.079596 | 2016-09-13 19:39:39.079 | {3} neutron.tests.functional.sanity.test_sanity.SanityTestCaseRoot.test_vf_extended_management_runs [0.086337s] ... ok
2016-09-13 19:39:39.081288 | 2016-09-13 19:39:39.080 |
2016-09-13 19:39:39.083105 | 2016-09-13 19:39:39.082 | Captured stderr:
2016-09-13 19:39:39.084958 | 2016-09-13 19:39:39.084 | ~~~~~~~~~~~~~~~~
2016-09-13 19:39:39.095929 | 2016-09-13 19:39:39.088 | Traceback (most recent call last):
2016-09-13 19:39:39.100121 | 2016-09-13 19:39:39.099 | File "/usr/lib/python2.7/logging/__init__.py", line 851, in emit
2016-09-13 19:39:39.101455 | 2016-09-13 19:39:39.101 | msg = self.format(record)
2016-09-13 19:39:39.103616 | 2016-09-13 19:39:39.103 | File "/usr/lib/python2.7/logging/__init__.py", line 724, in format
2016-09-13 19:39:39.106691 | 2016-09-13 19:39:39.106 | return fmt.format(record)
2016-09-13 19:39:39.110263 | 2016-09-13 19:39:39.109 | File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/oslo_log/formatters.py", line 297, in format
2016-09-13 19:39:39.112274 | 2016-09-13 19:39:39.111 | return logging.Formatter.format(self, record)
2016-09-13 19:39:39.113743 | 2016-09-13 19:39:39.113 | File "/usr/lib/python2.7/logging/__init__.py", line 464, in format
2016-09-13 19:39:39.115538 | 2016-09-13 19:39:39.115 | record.message = record.getMessage()
2016-09-13 19:39:39.120019 | 2016-09-13 19:39:39.118 | File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage
2016-09-13 19:39:39.123320 | 2016-09-13 19:39:39.122 | msg = msg % self.args
2016-09-13 19:39:39.125517 | 2016-09-13 19:39:39.125 | TypeError: format requires a mapping
2016-09-13 19:39:39.127435 | 2016-09-13 19:39:39.127 | Logged from file checks.py, line 157
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1623176/+subscriptions
References