barbican-worker.py fails to start due to outdated log import

Bug #1424299 reported by John Vrbanac
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Barbican
Fix Released
Medium
John Vrbanac

Bug Description

bin/barbican-worker.py fails to start and shows the following traceback:

Traceback (most recent call last):
  File "bin/barbican-worker.py", line 40, in <module>
    from barbican.openstack.common import log
  File "/home/john/Repositories/github/barbican/barbican/openstack/common/log.py", line 193, in <module>
  File "/home/john/.virtualenvs/Barbican/lib/python2.7/site-packages/oslo_config/cfg.py", line 1748, in __inner
    result = f(self, *args, **kwargs)
  File "/home/john/.virtualenvs/Barbican/lib/python2.7/site-packages/oslo_config/cfg.py", line 1929, in register_cli_opts
    self.register_cli_opt(opt, group, clear_cache=False)
  File "/home/john/.virtualenvs/Barbican/lib/python2.7/site-packages/oslo_config/cfg.py", line 1752, in __inner
    return f(self, *args, **kwargs)
  File "/home/john/.virtualenvs/Barbican/lib/python2.7/site-packages/oslo_config/cfg.py", line 1923, in register_cli_opt
    return self.register_opt(opt, group, cli=True, clear_cache=False)
  File "/home/john/.virtualenvs/Barbican/lib/python2.7/site-packages/oslo_config/cfg.py", line 1752, in __inner
    return f(self, *args, **kwargs)
  File "/home/john/.virtualenvs/Barbican/lib/python2.7/site-packages/oslo_config/cfg.py", line 1894, in register_opt
    if _is_opt_registered(self._opts, opt):
  File "/home/john/.virtualenvs/Barbican/lib/python2.7/site-packages/oslo_config/cfg.py", line 573, in _is_opt_registered
    raise DuplicateOptError(opt.name)
oslo_config.cfg.DuplicateOptError: duplicate option: use-syslog

I'm assuming this has something to do with the transition to olso_log.

Changed in barbican:
assignee: nobody → John Vrbanac (john.vrbanac)
milestone: none → kilo-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to barbican (master)

Fix proposed to branch: master
Review: https://review.openstack.org/158095

Changed in barbican:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to barbican (master)

Reviewed: https://review.openstack.org/158095
Committed: https://git.openstack.org/cgit/openstack/barbican/commit/?id=b20b70c173bd351d2cf5c2f72659c8e8baf945b0
Submitter: Jenkins
Branch: master

commit b20b70c173bd351d2cf5c2f72659c8e8baf945b0
Author: John Vrbanac <email address hidden>
Date: Sat Feb 21 18:59:32 2015 -0600

    Fixing logging import for barbican-worker.py

    Change-Id: Idd0eda55f996200c4d3fe07243d45a7f5528f3bd
    Closes-Bug: 1424299

Changed in barbican:
status: In Progress → Fix Committed
Changed in barbican:
importance: Undecided → Medium
Thierry Carrez (ttx)
Changed in barbican:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in barbican:
milestone: kilo-3 → 2015.1.0
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.