-
-
Save e0ne/3c457c0e39f460ddbf70 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cinder.volume.manager._migrate_volume_generic (https://github.com/openstack/cinder/blob/master/cinder/volume/manager.py#L1623) | |
|| | |
\/ | |
... | |
cinder.volume.manager._copy_volume_data(src, dest) (https://github.com/openstack/cinder/blob/master/cinder/volume/manager.py#L1681) | |
|| | |
\/ | |
will try to attach 'src' and 'dest' volumes to the c-vol manager's host to copy volume data using `dd` tool | |
|| | |
\/ | |
cinder.volume.manager._attach_volume (https://github.com/openstack/cinder/blob/master/cinder/volume/manager.py#L1532) | |
|| | |
\/ | |
calls initialize_connection | |
calls _connect_device | |
|| | |
\/ | |
cinder.volume.manager._connect_device (https://github.com/openstack/cinder/blob/master/cinder/volume/manager.py#L1504) | |
|| | |
\/ | |
gets connector from os-brick an calls connect_volume | |
|| | |
\/ | |
connect_volume | |
|| | |
\/ | |
vol_utils.copy_volume(src_dev, dest_dev) | |
BUT: connect_volume doesn't `attach` volume for every protocol! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment