Project

General

Profile

Actions

Feature #9070

closed

arv-put to another cluster

Added by Bryan Cosca over 8 years ago. Updated over 8 years ago.

Status:
Duplicate
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Story points:
-

Description

for example:

If I'm on shell.qr1hi and want to put data on qr2hi, I need to arv-put to qr1hi then arv-copy to qr2hi. It would be cool if I could just arv-put to qr2hi. Something like arv-put --dst-cluster qr2hi uuid (default will be the cluster you are on)


Related issues

Is duplicate of Arvados - Idea #3897: [SDKs] Clients can specify which auth config file to load.NewActions
Actions #1

Updated by Brett Smith over 8 years ago

Bryan,

Are you requesting that arv keep put grows a switch like arv copy --dst, where it will read a different configuration file than ~/.config/arvados/settings.conf?

Note in the meantime you can do this by setting the ARVADOS_API_HOST and ARVADOS_API_TOKEN environment variables before you run. For example, if you have a configuration file qr2hi.conf, try:

env $(cat ~/.config/arvados/qr2hi.conf) arv keep put FILENAME ...

(This can break in weird ways if qr2hi.conf doesn't look exactly like it should, so be careful.)

Actions #2

Updated by Bryan Cosca over 8 years ago

Brett Smith wrote:

Bryan,

Are you requesting that arv keep put grows a switch like arv copy --dst, where it will read a different configuration file than ~/.config/arvados/settings.conf?

yes

Note in the meantime you can do this by setting the ARVADOS_API_HOST and ARVADOS_API_TOKEN environment variables before you run. For example, if you have a configuration file qr2hi.conf, try:

[...]

(This can break in weird ways if qr2hi.conf doesn't look exactly like it should, so be careful.)

yep that makes sense, thanks.

Actions #3

Updated by Brett Smith over 8 years ago

  • Status changed from New to Duplicate

Bryan Cosca wrote:

Brett Smith wrote:

Bryan,

Are you requesting that arv keep put grows a switch like arv copy --dst, where it will read a different configuration file than ~/.config/arvados/settings.conf?

yes

Then this duplicates #3897.

Actions

Also available in: Atom PDF