This is a follow up patch to https://review.openstack.org/#/c/116998/, where libvirt
volume's connect_volume method were split into get_config and
connect_volume. The following patch changes libvirt driver
to call the appropriate volume method, get_config or
connect_volume, instead of the old monolithic call to
connect_volume. connect_volume will no longer need to return
the libvirt xml after this switch over. This will improve
performance and eliminate possible race conditions.
Reviewed: https:/ /review. openstack. org/121965 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=36cfe6dce40 3a7dde6c5c12c8c 6486f6048c9d35
Committed: https:/
Submitter: Jenkins
Branch: master
commit 36cfe6dce403a7d de6c5c12c8c6486 f6048c9d35
Author: Thang Pham <email address hidden>
Date: Mon Sep 15 14:54:40 2014 -0400
Make separate calls to libvirt volume
This is a follow up patch to /review. openstack. org/#/c/ 116998/, where libvirt
https:/
volume's connect_volume method were split into get_config and
connect_volume. The following patch changes libvirt driver
to call the appropriate volume method, get_config or
connect_volume, instead of the old monolithic call to
connect_volume. connect_volume will no longer need to return
the libvirt xml after this switch over. This will improve
performance and eliminate possible race conditions.
Change-Id: I0d0d7ba98c53ad 7509c28bb4866c4 88c0a049d2f
Closes-Bug: #1359617