When IPv6 address literal is used as host in rsync call, it should be
enclosed in square brackets. This is already done for copy_file method
outside of driver in changeset Ia5f28673e79158d948980f2b3ce496c6a56882af
Create helper function format_remote_path(host, path) and use where
appropriate.
Reviewed: https:/ /review. openstack. org/340386 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=270be6906c1 3bc621a7ad507b8 ae729a940609d2
Committed: https:/
Submitter: Jenkins
Branch: master
commit 270be6906c13bc6 21a7ad507b8ae72 9a940609d2
Author: Alexey I. Froloff <email address hidden>
Date: Mon Jul 11 16:31:09 2016 +0300
Properly quote IPv6 address in RsyncDriver
When IPv6 address literal is used as host in rsync call, it should be d948980f2b3ce49 6c6a56882af
enclosed in square brackets. This is already done for copy_file method
outside of driver in changeset Ia5f28673e79158
Create helper function format_ remote_ path(host, path) and use where
appropriate.
Closes-Bug: 1601822 fb764f5f638a7ee 0a10b1ef534
Change-Id: Ifc386539f33684