Updated so that we use a 'tmp' subdirectory under the Xen SR when staging

migrations. Fixes an issue where you would get a 'File exists' error because
the directory under 'images' already existed (created via the rsync copy).
This commit is contained in:
Dan Prince 2011-06-11 22:12:59 -04:00
parent 91e34d37d2
commit 73303a3465

View File

@ -44,7 +44,7 @@ def move_vhds_into_sr(session, args):
new_cow_uuid = params['new_cow_uuid']
sr_path = params['sr_path']
sr_temp_path = "%s/images/" % sr_path
sr_temp_path = "%s/tmp/" % sr_path
# Discover the copied VHDs locally, and then set up paths to copy
# them to under the SR