Fix volume attachment event parsing
the correct name of the server-identifying field in volume attach/detach notification is `instance_uud`, not `server_id`, see `cinder/objects/volume_attachment.py` Change-Id: I0da69c0cb19556dbcee3cc4321b8909b6708f038
This commit is contained in:
parent
5af99caad7
commit
790835f2b0
|
@ -89,7 +89,7 @@
|
|||
image_id:
|
||||
fields: payload.glance_metadata[?key=image_id].value
|
||||
instance_id:
|
||||
fields: payload.volume_attachment[0].server_id
|
||||
fields: payload.volume_attachment[0].instance_uuid
|
||||
- event_type: ['volume.exists', 'volume.retype', 'volume.create.*', 'volume.delete.*', 'volume.resize.*', 'volume.attach.*', 'volume.detach.*', 'volume.update.*']
|
||||
traits:
|
||||
<<: *cinder_traits
|
||||
|
|
Loading…
Reference in New Issue