Bug 1041181

Summary: [RFE][nova]: Migration history extenstion
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/nova/+spec/bp-migration-history-ext
Whiteboard: upstream_milestone_none upstream_status_needs-code-review upstream_definition_obsolete
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 17:19:35 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:52:04 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/bp-migration-history-ext.

Description:

Add a extension to list migration history for instances.

Admins are frequently in need of reviewing migration history for instances for various
purposes. There is currently no clean way to do this. This purposes to add an extension
to access this information through the openstack API, so that we dont have to go to the
db to get this info.

Usage:
GET on
/v2/<project_id>/servers/<server_uuid>/os-migration-history 

to get migration history for the instance <server_uuid> in the form:
{
	    "migrations": [
	        {
	            "created_at": "2013-03-25 01:00:00.000000",
	            "dest_compute": "compute-2",
	            "id": "1",
	            "instance_uuid": "00000000-0000-0000-0000-000000000001",
	            "new_instance_type_id": "2",
	            "old_instance_type_id": "1",
	            "source_compute": "compute-1",
	            "status": "confirmed",
	            "updated_at": "2013-03-25 01:20:00.000000"
	        }
	    ]
	}

Specification URL (additional information):

None