Public bug reported: Description ===========
Setting the notifications.notify_on_api_faults configuration parameter to True and then producing an nova-api fault by injecting a ValueError does not lead to an api.fault notification. See the nova-api logs here [1] and the patch that inject the ValueError (and some extra traces) here [2]. [1] https://pastebin.com/Eu6rBjNN [2] https://pastebin.com/en4aFutc Steps to reproduce ================== 1) apply [2] 2) restart nova services 3) try to create a new aggregate: `nova aggregate-create my-aggregate2` 4) look at the message bus (or the logs if you set the notification driver to log first) Environment =========== nova version from master: bc4c91e7be8e4c52506a8f970078ecee6655ee82 config: default devstack + [notifications] notify_on_api_faults = True [oslo_messaging_notifications] driver = log ** Affects: nova Importance: Undecided Status: New ** Tags: notification ** Tags added: notification -- 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/1699115 Title: api.fault notification is never emitted Status in OpenStack Compute (nova): New Bug description: Description =========== Setting the notifications.notify_on_api_faults configuration parameter to True and then producing an nova-api fault by injecting a ValueError does not lead to an api.fault notification. See the nova-api logs here [1] and the patch that inject the ValueError (and some extra traces) here [2]. [1] https://pastebin.com/Eu6rBjNN [2] https://pastebin.com/en4aFutc Steps to reproduce ================== 1) apply [2] 2) restart nova services 3) try to create a new aggregate: `nova aggregate-create my-aggregate2` 4) look at the message bus (or the logs if you set the notification driver to log first) Environment =========== nova version from master: bc4c91e7be8e4c52506a8f970078ecee6655ee82 config: default devstack + [notifications] notify_on_api_faults = True [oslo_messaging_notifications] driver = log To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1699115/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

