Feature #9070

arv-put to another cluster

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

Status:
Duplicate
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
04/27/2016
Due date:
% Done:

0%

Estimated time:
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 - Story #3897: [SDKs] Clients can specify which auth config file to load.New

History

#1 Updated by Brett Smith over 3 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.)

#2 Updated by Bryan Cosca over 3 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.

#3 Updated by Brett Smith over 3 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.

Also available in: Atom PDF