Red Hat Bugzilla – Bug 842136
[nova][RFE][Resize|Migrate][preformance] avoid ssh/scp on shared nova-lib dir.
Last modified: 2016-04-26 18:25:43 EDT
Description of problem:
nova should avoid ssh/scp when Resizing/Migrating to remote host with shared nova-lib directory
it can use check_shared_storage_test_file to indicate if its on shared storage or not and act differently.
ssh 10.35.77.4 mkdir -p /mnt/nova-lib/instances/instance-00000174 from (pid=14823) execute /
scp /mnt/nova-lib/instances/instance-00000174_resize/disk_rbase 10.35.77.4:/mnt/nova-lib/instances/instance-00000174/disk from (pid=14823) execute /usr/lib/python2.6/site-packages/nova/utils.py:220
Version-Release number of selected component (if applicable):
Yep should look into this in detail.
rsync might mitigate somewhat, though that might be foiled by the
mv ... ..._resize operation done on the directory.
Moving this to Grizzly as we have
... shipped Folsom and we won't be adding any features to it.
It looks like the fix landed in havana-1 and was backported to Grizzly (d34d4cacf7b20f72c67f7873dcf2c372abc60ecd).
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.