Comment 2 for bug 1637639

Revision history for this message
Balazs Gibizer (balazs-gibizer) wrote :

For me the question is what data is needed for the searchlight project regarding the volume attachments? Do you need a list of BlockDeviceMapping objects [1] or just a list of attached volume ids or something else?

As a side note, adding the BDM information to the instance.update payloads means that we need an extra DB query to send the notification. In case of instance.create the bdm is available in the context of the notification sending.

[1] https://github.com/openstack/nova/blob/master/nova/objects/block_device.py#L67-L86