yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #60135
[Bug 1653221] [NEW] availability_zone field is missing from the service.update notification payload
Public bug reported:
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": {
"nova_object.namespace": "nova",
"nova_object.name": "ServiceStatusPayload",
"nova_object.version": "1.0",
"nova_object.data": {
"host": "host1",
"disabled": false,
"last_seen_up": "2012-10-29T13:42:05Z",
"binary": "nova-compute",
"topic": "compute",
"disabled_reason": null,
"report_count": 1,
"forced_down": false,
"version": 15
"availability_zone": null
}
},
"event_type": "service.update",
"publisher_id": "nova-compute:host1"
}
Actual result
=============
{
"priority": "INFO",
"payload": {
"nova_object.namespace": "nova",
"nova_object.name": "ServiceStatusPayload",
"nova_object.version": "1.0",
"nova_object.data": {
"host": "host1",
"disabled": false,
"last_seen_up": "2012-10-29T13:42:05Z",
"binary": "nova-compute",
"topic": "compute",
"disabled_reason": null,
"report_count": 1,
"forced_down": false,
"version": 15
}
},
"event_type": "service.update",
"publisher_id": "nova-compute:host1"
}
Environment
===========
devstack with nova master a74d3ae4e815e3727961ef67bd801dada0267a0b
** Affects: nova
Importance: Undecided
Assignee: Balazs Gibizer (balazs-gibizer)
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/1653221
Title:
availability_zone field is missing from the service.update
notification payload
Status in OpenStack Compute (nova):
In Progress
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": {
"nova_object.namespace": "nova",
"nova_object.name": "ServiceStatusPayload",
"nova_object.version": "1.0",
"nova_object.data": {
"host": "host1",
"disabled": false,
"last_seen_up": "2012-10-29T13:42:05Z",
"binary": "nova-compute",
"topic": "compute",
"disabled_reason": null,
"report_count": 1,
"forced_down": false,
"version": 15
"availability_zone": null
}
},
"event_type": "service.update",
"publisher_id": "nova-compute:host1"
}
Actual result
=============
{
"priority": "INFO",
"payload": {
"nova_object.namespace": "nova",
"nova_object.name": "ServiceStatusPayload",
"nova_object.version": "1.0",
"nova_object.data": {
"host": "host1",
"disabled": false,
"last_seen_up": "2012-10-29T13:42:05Z",
"binary": "nova-compute",
"topic": "compute",
"disabled_reason": null,
"report_count": 1,
"forced_down": false,
"version": 15
}
},
"event_type": "service.update",
"publisher_id": "nova-compute:host1"
}
Environment
===========
devstack with nova master a74d3ae4e815e3727961ef67bd801dada0267a0b
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1653221/+subscriptions
Follow ups