Bug 1046204

Summary: [RFE][nova]: Improve instance action events based on object model
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: openstack-novaAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact: Ami Jeain <ajeain>
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: markmc, ndipanov, sgordon, yeylon
Target Milestone: ---Keywords: FutureFeature, Triaged, Upstream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/nova/+spec/improve-instance-action-events-2
Whiteboard: upstream_milestone_next upstream_status_started upstream_definition_review
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-15 14:54:10 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-24 05:01:32 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/improve-instance-action-events-2.

Description:

This is a continuation of work related to blueprint improve-instance-action-events.

This BP depends on blueprint make-instance-action-use-objects
https://blueprints.launchpad.net/nova/+spec/make-instance-action-use-objects

Work items including

* Add action reporter in api layer, to catch not only action start time, but also finish time. This data could be useful to track the whole time span (action level) and break down of the whole action level time (event level)

* Original action/events design generate two db access, which is totally unnecessary. Could be written to DB at the ending place. ActionReporter and ActionEventReport guarantee it's happening.

Specification URL (additional information):

None