XenAPI: Use local rsync rather than remote if possible
Using ssh depends on the host being set up to be able to SSH into
itself which is not a common scenario. While this is unavoidable for
the current implementation of resize across multiple hosts, if there
is a single host (i.e. a test scenario) or the resize is restricted
to the same host then we can succeed without SSH access
Dependency on Ia310e31d31aaf5c979e41c64af8223202a18e03a is because the
tests will always fail without Ia310 therefore this fix cannot be tested
without taking Ia310 as well.
Reviewed: https:/ /review. openstack. org/87958 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=b634bf3a0b3 dbccec6c3d7b26a b2a67d8eb1a6e5
Committed: https:/
Submitter: Jenkins
Branch: master
commit b634bf3a0b3dbcc ec6c3d7b26ab2a6 7d8eb1a6e5
Author: Bob Ball <email address hidden>
Date: Wed Apr 16 13:23:45 2014 +0100
XenAPI: Use local rsync rather than remote if possible
Using ssh depends on the host being set up to be able to SSH into
itself which is not a common scenario. While this is unavoidable for
the current implementation of resize across multiple hosts, if there
is a single host (i.e. a test scenario) or the resize is restricted
to the same host then we can succeed without SSH access
Dependency on Ia310e31d31aaf5 c979e41c64af822 3202a18e03a is because the
tests will always fail without Ia310 therefore this fix cannot be tested
without taking Ia310 as well.
Closes-bug: 1308064
Change-Id: I15802a1d97d380 b1c5b74fc9f92ec e2494fe789a