Unversioned notifications not being sent.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Balazs Gibizer | ||
Pike |
Fix Committed
|
High
|
Matt Riedemann |
Bug Description
Description
===========
After a vm moves from state 'building' to 'error' an unversioned notification is no longer sent if CONF.notificati
Steps to reproduce
==================
In nova.conf set
[notifications]
notification_format = unversioned
Setup environment so VM deploy fails.
To reproduce easily in my environment I raised a generic Exception just after the call to spawn in orchestrator's start_deploy_
Attempt to deploy VM.
Wait for deploy to fail.
Expected result
===============
When the vm_state changes to 'error' an unversioned notification should be sent.
Actual result
=============
The unversioned notification is not sent.
Environment
===========
(pike)nova-
Additional Info:
================
Problem seems to stem from this change: https:/
if (NOTIFIER.
Because 'unversioned' is not in the list, the @rpc.if_
Changed in nova: | |
status: | New → Confirmed |
status: | Confirmed → New |
tags: | added: notifications |
I think the observation is correct. The if_notification s_enabled decorator is applied to early in the send_instance_ update_ notification call chain.