← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1467982] [NEW] Profiler raises an error when it is enabled

 

Public bug reported:

Description:

When OSProfiler is enabled in Glance API and Registry, they raise the
following exception:

CRITICAL glance [-] AttributeError: 'module' object has no attribute 'messaging'
TRACE glance Traceback (most recent call last):
TRACE glance   File "/usr/bin/glance-api", line 10, in <module>
TRACE glance     sys.exit(main())
TRACE glance   File "/usr/lib/python2.7/site-packages/glance/cmd/api.py", line 80, in main
TRACE glance     notifier.messaging, {},
TRACE glance AttributeError: 'module' object has no attribute 'messaging'
TRACE glance


Steps to reproduce:
1. Enable profiler in glance-api.conf and glance-registry.conf

[profiler]
enabled = True

2. Restart API and Registry Services


Expected Behavior:
Start services with profiler enabled

** Affects: glance
     Importance: Undecided
     Assignee: Obed N Munoz (obed-n-munoz)
         Status: New

** Changed in: glance
     Assignee: (unassigned) => Obed N Munoz (obed-n-munoz)

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

Title:
  Profiler raises an error when it is enabled

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  Description:

  When OSProfiler is enabled in Glance API and Registry, they raise the
  following exception:

  CRITICAL glance [-] AttributeError: 'module' object has no attribute 'messaging'
  TRACE glance Traceback (most recent call last):
  TRACE glance   File "/usr/bin/glance-api", line 10, in <module>
  TRACE glance     sys.exit(main())
  TRACE glance   File "/usr/lib/python2.7/site-packages/glance/cmd/api.py", line 80, in main
  TRACE glance     notifier.messaging, {},
  TRACE glance AttributeError: 'module' object has no attribute 'messaging'
  TRACE glance

  
  Steps to reproduce:
  1. Enable profiler in glance-api.conf and glance-registry.conf

  [profiler]
  enabled = True

  2. Restart API and Registry Services

  
  Expected Behavior:
  Start services with profiler enabled

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


Follow ups

References