diff options
| author | Dan Prince <dan.prince@rackspace.com> | 2011-06-11 22:12:59 -0400 |
|---|---|---|
| committer | Dan Prince <dan.prince@rackspace.com> | 2011-06-11 22:12:59 -0400 |
| commit | 73303a34652c738064821ede0258a799435c63d1 (patch) | |
| tree | 1569ea63b3b7574f2d55e2d6f89ff2eb2140a7b9 /plugins | |
| parent | 91e34d37d2907295e892e96ca2c3039c7fbe14bf (diff) | |
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).
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/xenserver/xenapi/etc/xapi.d/plugins/migration | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/xenserver/xenapi/etc/xapi.d/plugins/migration b/plugins/xenserver/xenapi/etc/xapi.d/plugins/migration index 75c653408..ac1c50ad9 100644 --- a/plugins/xenserver/xenapi/etc/xapi.d/plugins/migration +++ b/plugins/xenserver/xenapi/etc/xapi.d/plugins/migration @@ -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 |
