no such option: log_format

Bug #1518297 reported by Jean-Emile DARTOIS
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
watcher
Fix Released
Critical
Vincent Françoise

Bug Description

Using the latest Watcher code

I'm now seeing the following error when trying to create an audit :
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 235, in format
    self.conf.logging_user_identity_format %
  File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 1899, in __getattr__
    raise NoSuchOptError(name)
NoSuchOptError: no such option: logging_user_identity_format

Changed in watcher:
status: New → Confirmed
Changed in watcher:
importance: Undecided → High
Changed in watcher:
assignee: nobody → David TARDIVEL (david-tardivel)
status: Confirmed → In Progress
Changed in watcher:
assignee: David TARDIVEL (david-tardivel) → Vincent Françoise (vincent-francoise)
Changed in watcher:
importance: High → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to watcher (master)

Reviewed: https://review.openstack.org/249305
Committed: https://git.openstack.org/cgit/openstack/watcher/commit/?id=5f8a601c63b8d2da9a30d81f50de01be7fdb69fc
Submitter: Jenkins
Branch: master

commit 5f8a601c63b8d2da9a30d81f50de01be7fdb69fc
Author: Vincent Françoise <email address hidden>
Date: Tue Nov 24 17:15:23 2015 +0100

    Updated the config sample file generation command

    Following the update of the project requirements, we should now
    use the oslo.config namespace of oslo.log when generating ou
    Watcher config sample file.

    Change-Id: I7a1f3d555534b40c041b7f042f19fae231b7e80c
    Closes-Bug: #1518297

Changed in watcher:
status: In Progress → Fix Committed
Changed in watcher:
milestone: none → mitaka-1
Changed in watcher:
status: Fix Committed → 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.