Transform compute_task notifications
The following notifications have been transformed to the versioned notification framework. * compute_task.build_instances * compute_task.migrate_server * compute_task.rebuild_server Co-Authored-By: Takashi Natsume <natsume.takashi@lab.ntt.co.jp> Change-Id: Ibfb0a6db5920d921c4fc7cabf3f4d2838ea7f421 Implements: bp versioned-notification-transformation-stein
This commit is contained in:
committed by
Takashi NATSUME
parent
7217e38baf
commit
fe4e47d989
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"nova_object.version": "1.0",
|
||||
"nova_object.namespace": "nova",
|
||||
"nova_object.name": "ComputeTaskPayload",
|
||||
"nova_object.data": {
|
||||
"instance_uuid": "d5e6a7b7-80e5-4166-85a3-cd6115201082",
|
||||
"reason": {"$ref": "ExceptionPayload.json#"},
|
||||
"request_spec": {"$ref": "RequestSpecPayload.json#"},
|
||||
"state": "error"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"nova_object.version": "1.1",
|
||||
"nova_object.namespace": "nova",
|
||||
"nova_object.name": "ExceptionPayload",
|
||||
"nova_object.data": {
|
||||
"function_name": "_schedule_instances",
|
||||
"module_name": "nova.conductor.manager",
|
||||
"exception": "NoValidHost",
|
||||
"exception_message": "No valid host was found. There are not enough hosts available.",
|
||||
"traceback": "Traceback (most recent call last):\n File \"nova/conductor/manager.py\", line ..."
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"nova_object.namespace": "nova",
|
||||
"nova_object.data": {
|
||||
"checksum": null,
|
||||
"container_format": "raw",
|
||||
"created_at": "2011-01-01T01:02:03Z",
|
||||
"direct_url": null,
|
||||
"disk_format": "raw",
|
||||
"id": "155d900f-4e14-4e4c-a73d-069cbf4541e6",
|
||||
"min_disk": 0,
|
||||
"min_ram": 0,
|
||||
"name": "fakeimage123456",
|
||||
"owner": null,
|
||||
"properties": {"$ref":"ImageMetaPropsPayload.json#"},
|
||||
"protected": false,
|
||||
"size": 25165824,
|
||||
"status": "active",
|
||||
"tags": [
|
||||
"tag1",
|
||||
"tag2"
|
||||
],
|
||||
"updated_at": "2011-01-01T01:02:03Z",
|
||||
"virtual_size": null,
|
||||
"visibility": "public"
|
||||
},
|
||||
"nova_object.name": "ImageMetaPayload",
|
||||
"nova_object.version": "1.0"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"nova_object.namespace": "nova",
|
||||
"nova_object.data": {
|
||||
"hw_architecture": "x86_64"
|
||||
},
|
||||
"nova_object.name": "ImageMetaPropsPayload",
|
||||
"nova_object.version": "1.0"
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"nova_object.version": "1.0",
|
||||
"nova_object.namespace": "nova",
|
||||
"nova_object.name": "InstanceNUMACellPayload",
|
||||
"nova_object.data": {
|
||||
"cpu_pinning_raw": null,
|
||||
"cpu_policy": null,
|
||||
"cpu_thread_policy": null,
|
||||
"cpu_topology": null,
|
||||
"cpuset": [0],
|
||||
"cpuset_reserved": null,
|
||||
"id": 0,
|
||||
"memory": 512,
|
||||
"pagesize": null
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"nova_object.version": "1.0",
|
||||
"nova_object.namespace": "nova",
|
||||
"nova_object.name": "InstanceNUMATopologyPayload",
|
||||
"nova_object.data": {
|
||||
"cells": [
|
||||
{"$ref": "InstanceNUMACellPayload.json#"}
|
||||
],
|
||||
"emulator_threads_policy": null,
|
||||
"instance_uuid": "75cab9f7-57e2-4bd1-984f-a0383d9ee60e"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"nova_object.version": "1.0",
|
||||
"nova_object.namespace": "nova",
|
||||
"nova_object.name": "InstancePCIRequestsPayload",
|
||||
"nova_object.data":{
|
||||
"instance_uuid": "d5e6a7b7-80e5-4166-85a3-cd6115201082",
|
||||
"requests": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"nova_object.namespace": "nova",
|
||||
"nova_object.data": {
|
||||
"availability_zone": null,
|
||||
"flavor": {
|
||||
"$ref": "FlavorPayload.json#",
|
||||
"nova_object.data": {
|
||||
"extra_specs": {
|
||||
"hw:numa_cpus.0": "0",
|
||||
"hw:numa_mem.0": "512",
|
||||
"hw:numa_nodes": "1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"image": {"$ref": "ImageMetaPayload.json#"},
|
||||
"instance_uuid": "d5e6a7b7-80e5-4166-85a3-cd6115201082",
|
||||
"num_instances": 1,
|
||||
"numa_topology": {"$ref": "InstanceNUMATopologyPayload.json#"},
|
||||
"pci_requests": {"$ref": "InstancePCIRequestsPayload.json#"},
|
||||
"project_id": "6f70656e737461636b20342065766572",
|
||||
"user_id": "fake"
|
||||
},
|
||||
"nova_object.name": "RequestSpecPayload",
|
||||
"nova_object.version": "1.0"
|
||||
}
|
||||
Reference in New Issue
Block a user