← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1496197] [NEW] notify_decorator bad getattr default value

 

Public bug reported:

branch: master
In nova/notifications.py:

91        method = getattr(notifier, CONF.default_notification_level.lower(),
92                                         'info')
93        method(ctxt, name, body)

getattr tries to get method from notifier by its name in config. If it
fails string 'info' is returned and then called

** Affects: nova
     Importance: Undecided
     Assignee: Andrei V. Ostapenko (aostapenko)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1496197

Title:
  notify_decorator bad getattr default value

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  branch: master
  In nova/notifications.py:

  91        method = getattr(notifier, CONF.default_notification_level.lower(),
  92                                         'info')
  93        method(ctxt, name, body)

  getattr tries to get method from notifier by its name in config. If it
  fails string 'info' is returned and then called

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


Follow ups