TRITON-52: x-DC image copy

Resolution

Fixed: A fix for this issue is checked into the tree and tested.
(Resolution Date: 2018-06-29T23:47:08.769Z)

Fix Versions

2018-07-05 Villa (Release Date: 2018-07-05)

Related Links

Description

See https://github.com/joyent/rfd/tree/master/rfd/0113#m3-x-dc-image-copy


old description with older naming

An endpoint to allow a user to copy one's own image from one DC to another.

CopyRemoteImage   POST /images/$uuid?action=copy-remote&dc=us-east-1

That IMGAPI needs to be configured with the DC's IMGAPI IP.

    {
        ...
        remoteDcs: {
            "us-east-1": "http://1.2.3.4",
            "us-west-1": "http://5.6.7.8",
            "us-sw-1": "http://10.20.30.40",
        }
    }

Comments

Comment by Peter Gale [X]
Created at 2014-10-14T10:30:01.000Z
Updated at 2017-12-14T17:34:57.319Z
I've been looking to see if there was a simple way to copy an image by linking it in Manta and then just telling the target API to import the image and use the file in manta. This missing piece seems to be

sdc-imgadm add-file UUID -f /path/to/file/in/manta

or similar.

From a naive non-engineering perspective that does not sound like a huge change??


Comment by Ryan Puckett
Created at 2018-01-26T18:50:37.856Z
Checking in on the status of this. The requested delivery time in SSCM-21 was 29/Jan/18 and they are asking for an update there. Thanks

Comment by Jira Bot
Created at 2018-06-28T18:31:08.776Z
node-sdc-clients commit baec7c279b949a2ae207039bc92e2553b240e39d (branch master, by Todd Whiteman)

TRITON-52 x-DC image copy
Reviewed by: Trent Mick <trentm@gmail.com>
Approved by: Trent Mick <trentm@gmail.com>


Comment by Jira Bot
Created at 2018-06-28T20:58:54.457Z
globe-theatre commit cf4ec35c11d948a7ebf4129b421b555f92048ba5 (branch master, by Todd Whiteman)

TRITON-52 x-DC image copy


Comment by Jira Bot
Created at 2018-06-29T23:42:04.849Z
sdc-imgapi commit 5494dd602518e2a2f68aff4d2e6947dce83c0e71 (branch master, by Todd Whiteman)

TRITON-52 x-DC image copy
Reviewed by: Trent Mick <trentm@gmail.com>
Approved by: Trent Mick <trentm@gmail.com>


Comment by Jira Bot
Created at 2018-06-29T23:44:21.549Z
sdc-cloudapi commit f768bf7a5565ab0d9f45b3eeef4f6f83acbcc4f7 (branch master, by Todd Whiteman)

TRITON-52 x-DC image copy
Reviewed by: Trent Mick <trentm@gmail.com>
Approved by: Trent Mick <trentm@gmail.com>


Comment by Jira Bot
Created at 2018-06-29T23:44:48.778Z
node-triton commit c86804cfe416360d6918a476f05de2c5cdd743e5 (branch master, by Todd Whiteman)

TRITON-52 x-DC image copy
Reviewed by: Trent Mick <trentm@gmail.com>
Approved by: Trent Mick <trentm@gmail.com>