Bug 1041017

Summary: [RFE][nova]: Add notification for host operations
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: openstack-novaAssignee: Vladan Popovic <vpopovic>
Status: CLOSED ERRATA QA Contact: Omri Hochman <ohochman>
Severity: low Docs Contact:
Priority: medium    
Version: unspecifiedCC: markmc, ndipanov, ohochman, sgordon, slong, vpopovic, yeylon
Target Milestone: Upstream M1Keywords: FutureFeature, Triaged
Target Release: 5.0 (RHEL 7)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/nova/+spec/host-operation-notification
Whiteboard: upstream_milestone_icehouse-1 upstream_status_implemented upstream_definition_approved
Fixed In Version: openstack-nova-2014.1-3.el7ost Doc Type: Enhancement
Doc Text:
Notifications are now generated when a Compute host is enabled, disabled, powered on, shut down, rebooted, put into maintenance mode, or taken out of maintenance mode.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-08 15:29:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-12 13:25:35 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/host-operation-notification.

Description:

When doing host operations, such as power action, maintain action etc, there is no notification.

It is better that we add notification for those operation to enable 3rd party callers can get operation result ASAP.

Notification for the following host operations should be added:
1) compute/api.py:set_host_enabled
2) compute/api.py:host_power_action
3) compute/api.py:set_host_maintenance

Specification URL (additional information):

None

Comment 2 Stephen Gordon 2014-01-23 20:42:46 UTC
Moving to POST based on upstream status (Implemented).

Comment 7 Omri Hochman 2014-03-24 14:25:47 UTC
Executed TCMS test plan for testing the notification in Ice-house RDO  :
https://tcms.engineering.redhat.com/run/123190/#caserun_4598657

Everything seems to be in order.

Comment 14 errata-xmlrpc 2014-07-08 15:29:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0853.html