-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Having trouble configuring G-Node GIN with SSH #31
Comments
I wonder if the problem is that I'm trying to push to an organization repository instead of my personal account. Except when I try it with my personal account, I get dataset_id="ds002156"
base_dir="/cbica/home/salot/open-multi-echo-data/datasets"
superdataset_dir=${base_dir}/${dataset_id}_test
raw_dataset_dir=${superdataset_dir}/inputs/data
code_dir="/cbica/home/salot/open-multi-echo-data/code/code"
# Create the YODA superdataset
datalad create -c yoda \
-D "Create superdataset for OpenNeuro dataset ${dataset_id}" \
"${superdataset_dir}"
cd ../../datasets/ds002156_test/
# Clone the dataset
datalad clone -d ${superdataset_dir} \
-D "Clone of OpenNeuro dataset. May be modified for fMRIPrep/AFNI and pushed to G-Node GIN." \
https://github.com/ME-ICA/${dataset_id}.git ${raw_dataset_dir}
# Download the files
cd ${raw_dataset_dir}
datalad get ${raw_dataset_dir}
# Create the GIN repo (this fails!)
datalad create-sibling-gin \
--access-protocol ssh \
--dataset ${raw_dataset_dir} \
--credential GIN \
tsalo/${dataset_id}_raw EDIT: From @\adswa (don't want to subscribe her to this issue) this error occurs because it interprets |
No great wisdom, but I've had consistent issues interacting with openneuro from the NIH HPC. In my case it's |
Fetching the data works fine, as does creating the repo on G-Node GIN. The step that fails is actually pushing the data to the GIN repository. Some more updates:
|
I joined the Datalad office hour yesterday (where everyone was extremely helpful), and the problem appears to be that UPenn's CUBIC cluster blocks outgoing traffic through Port 22, which is the only one that G-Node GIN accepts for SSH. GitHub works because it uses Port 443 (which is typically used for HTTPS). Also, creating the sibling repo uses HTTPS, which is why that worked fine. I have four options:
|
Of the four, I'd recommend 1 & 2.
Any clue if this might be the same issue I'm having with openneuro and the NIH cluster? (i.e. the ssh certificate is being blocked/garbled on one port, but might work if openneuro transfers data over another port?) |
It definitely could be. If you're using datalad to push to OpenNeuro I'd recommend joining one of the weekly datalad office hours like I did. They had me try out a series of commands to see what the situation was on CUBIC and were able to diagnose the problem. |
After speaking with Chris M., it might be inappropriate to push derivatives to GIN anyway. OpenNeuro seems to support derivatives-only datasets now, so I might want to switch to that instead. EDIT: The problem with that is that the openneuro credential tool crashes the UPenn cluster's login node. See OpenNeuroOrg/openneuro#3015. |
I created an SSH key and added it to my G-Node GIN user settings, but for some reason I can't push to it from the UPenn HPC.
Steps to reproduce:
This gets me the following error:
The text was updated successfully, but these errors were encountered: