48259c2bd7
This adds the description field to the FlavorPayload for versioned notifications on flavor create/update/delete notifications. Part of blueprint flavor-description Change-Id: I9a5dc8b603b5e4e0d37c59cf2749e3ffc217580c
92 lines
3.4 KiB
JSON
92 lines
3.4 KiB
JSON
{
|
|
"event_type":"instance.resize.error",
|
|
"payload":{
|
|
"nova_object.data":{
|
|
"architecture":"x86_64",
|
|
"auto_disk_config":"MANUAL",
|
|
"availability_zone":"nova",
|
|
"block_devices":[],
|
|
"created_at":"2012-10-29T13:42:11Z",
|
|
"deleted_at":null,
|
|
"display_description":"some-server",
|
|
"display_name":"some-server",
|
|
"fault":{
|
|
"nova_object.data":{
|
|
"exception":"FlavorDiskTooSmall",
|
|
"exception_message":"The created instance's disk would be too small.",
|
|
"function_name":"_build_resources",
|
|
"module_name":"nova.tests.functional.notification_sample_tests.test_instance"
|
|
},
|
|
"nova_object.name":"ExceptionPayload",
|
|
"nova_object.namespace":"nova",
|
|
"nova_object.version":"1.0"
|
|
},
|
|
"flavor":{
|
|
"nova_object.data":{
|
|
"disabled":false,
|
|
"ephemeral_gb":0,
|
|
"extra_specs":{
|
|
"hw:watchdog_action":"disabled"
|
|
},
|
|
"flavorid":"a22d5517-147c-4147-a0d1-e698df5cd4e3",
|
|
"is_public":true,
|
|
"memory_mb":512,
|
|
"name":"test_flavor",
|
|
"projects":null,
|
|
"root_gb":1,
|
|
"rxtx_factor":1.0,
|
|
"swap":0,
|
|
"vcpu_weight":0,
|
|
"vcpus":1,
|
|
"description":null
|
|
},
|
|
"nova_object.name":"FlavorPayload",
|
|
"nova_object.namespace":"nova",
|
|
"nova_object.version":"1.4"
|
|
},
|
|
"host":"compute",
|
|
"host_name":"some-server",
|
|
"image_uuid":"155d900f-4e14-4e4c-a73d-069cbf4541e6",
|
|
"ip_addresses":[
|
|
{
|
|
"nova_object.data":{
|
|
"address":"192.168.1.3",
|
|
"device_name":"tapce531f90-19",
|
|
"label":"private-network",
|
|
"mac":"fa:16:3e:4c:2c:30",
|
|
"meta":{},
|
|
"port_uuid":"ce531f90-199f-48c0-816c-13e38010b442",
|
|
"version":4
|
|
},
|
|
"nova_object.name":"IpPayload",
|
|
"nova_object.namespace":"nova",
|
|
"nova_object.version":"1.0"
|
|
}
|
|
],
|
|
"kernel_id":"",
|
|
"key_name":"my-key",
|
|
"launched_at":"2012-10-29T13:42:11Z",
|
|
"locked":false,
|
|
"metadata":{},
|
|
"node":"fake-mini",
|
|
"os_type":null,
|
|
"power_state":"running",
|
|
"progress":0,
|
|
"ramdisk_id":"",
|
|
"reservation_id":"r-fekt9l17",
|
|
"state":"active",
|
|
"task_state":"resize_prep",
|
|
"tenant_id":"6f70656e737461636b20342065766572",
|
|
"terminated_at":null,
|
|
"user_id":"fake",
|
|
"updated_at": "2012-10-29T13:42:11Z",
|
|
"uuid":"6db66f8a-0cdc-45b8-a851-41d79536883b"
|
|
},
|
|
"nova_object.name":"InstanceActionPayload",
|
|
"nova_object.namespace":"nova",
|
|
"nova_object.version":"1.5"
|
|
},
|
|
"priority":"ERROR",
|
|
"publisher_id":"nova-compute:compute"
|
|
}
|