TritonDataCenter / manta-thoth

Thoth is a Manta-based system for core and crash dump management
16 stars 7 forks source link

"Upload" dumps that already exist elsewhere in Manta #140

Open chudley opened 8 years ago

chudley commented 8 years ago

95 is a different solution to this same problem, and looks to actually be a smaller lift. Nevertheless, I think the following might be useful.

The Support team at Joyent will often provide customers with a signed Manta URL so they can upload their crash dumps to Manta easily.

It would be great if I could tell thoth that the dump to upload already exists in Manta and provide a path, and from there it can perform some snaplinking to "copy" the file to the right location under thoth's storage path.

It looks like we do some local checking on the file (https://github.com/joyent/manta-thoth/blob/master/bin/thoth#L1392) to determine its type, so it might require a job to determine that the file type is correct.