availability_zone field is missing from the service.update notification payload
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Balazs Gibizer |
Bug Description
Description
===========
The payload of the service.update notification is defined to contain the availability_zone of the service however if there is no availability zone is associated to the service the field was missing from the notification payload.
Steps to reproduce
==================
1) set up a devstack with log notification driver
2) disable the state of one of the nova service with
nova service disable
3) check the log to see the content of the emitted service.update notification
Expected result
===============
{
"priority": "INFO",
"payload": {
"host": "host1",
}
},
"event_type": "service.update",
"publisher_id": "nova-compute:
}
Actual result
=============
{
"priority": "INFO",
"payload": {
"host": "host1",
}
},
"event_type": "service.update",
"publisher_id": "nova-compute:
}
Environment
===========
devstack with nova master a74d3ae4e815e37
Changed in nova: | |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. openstack. org/415857
Review: https:/