We should be using OVO instances as much as possible in the volume
manager's code, but we still have some instances of ORM instances being
passed to drivers.
This patch fixes only 1 specific case, so there are more cases still
pending to change to OVOs, which is the call from the
copy_volume_to_image method in the manager to the respective driver
method.
Reviewed: https:/ /review. openstack. org/397219 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=93a26471bb9 3ff76131a817883 e7d37f1b3adc37
Committed: https:/
Submitter: Jenkins
Branch: master
commit 93a26471bb93ff7 6131a817883e7d3 7f1b3adc37
Author: Gorka Eguileor <email address hidden>
Date: Mon Nov 14 15:34:11 2016 +0100
Pass OVO instance to copy_volume_ to_image
We should be using OVO instances as much as possible in the volume
manager's code, but we still have some instances of ORM instances being
passed to drivers.
This patch fixes only 1 specific case, so there are more cases still volume_ to_image method in the manager to the respective driver
pending to change to OVOs, which is the call from the
copy_
method.
Closes-Bug: #1641611 88b12ed3bd4c753 066b80d39c9
Change-Id: If30d3521d3a284