install_ocssw.py "unable to access ...modisterra.git"
Posted: Mon Apr 15, 2019 4:54 pm America/New_York
I run `install_ocssw.py` daily on a few machines to keep things up-to-date and have been logging errors like the following error on all nodes since 2019-03-27:
Note that running the command in the error seems to work just fine:
Is `install_ocssw.py` working for anyone else?
PS: environment info:
```
[root@userproc test]# ls /srv/imars-objects/west_fl_pen
ls: cannot access /srv/imars-objects/west_fl_pen: No such file or directory
[root@userproc test]# /opt/ocssw/install_ocssw.py -v -i /opt/ocssw -g https://oceandata.sci.gsfc.nasa.gov/ocssw/ -a linux_64 --curl --aqua --terra --olci
gitBase = https://oceandata.sci.gsfc.nasa.gov/ocssw/
gitBranch = v7.5
install dir = /opt/ocssw
arch = linux_64
git user.name = "Default Seadas User"
git user.email = "seadas-user@localhost"
Installing bundles.sha256sum (1 of 13)
Downloading bundles.sha256sum
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3880 100 3880 0 0 12846 0 --:--:-- --:--:-- --:--:-- 12890
Loading checksum file.
Installing common (2 of 13)
Updating (fetch) existing repository - /opt/ocssw/share/common
Switching to branch - v7.5
Branch 'v7.5' set up to track remote branch 'v7.5' from 'origin'.
Reset branch 'v7.5'
Your branch is up to date with 'origin/v7.5'.
Pulling from remote repository
Already up to date.
Installing OCSSW_bash.env (3 of 13)
Downloading OCSSW_bash.env.v7.5
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3001 100 3001 0 0 9985 0 --:--:-- --:--:-- --:--:-- 10003
Installing ocrvc (4 of 13)
Updating (fetch) existing repository - /opt/ocssw/share/ocrvc
Switching to branch - v7.5
Branch 'v7.5' set up to track remote branch 'v7.5' from 'origin'.
Reset branch 'v7.5'
Your branch is up to date with 'origin/v7.5'.
Pulling from remote repository
Already up to date.
Installing modis (5 of 13)
Updating (fetch) existing repository - /opt/ocssw/share/modis
Switching to branch - v7.5
Branch 'v7.5' set up to track remote branch 'v7.5' from 'origin'.
Reset branch 'v7.5'
Your branch is up to date with 'origin/v7.5'.
Pulling from remote repository
Already up to date.
Installing modis/aqua (6 of 13)
Updating (fetch) existing repository - /opt/ocssw/share/modis/aqua
Switching to branch - v7.5
Branch 'v7.5' set up to track remote branch 'v7.5' from 'origin'.
Reset branch 'v7.5'
Your branch is up to date with 'origin/v7.5'.
Pulling from remote repository
Already up to date.
Installing modis/terra (7 of 13)
Updating (fetch) existing repository - /opt/ocssw/share/modis/terra
fatal: unable to access 'https://oceandata.sci.gsfc.nasa.gov/ocssw/modisterra.git/': Operation timed out after 300009 milliseconds with 0 out of 0 bytes received
Error - Could not run "cd /opt/ocssw/share/modis/terra; git fetch"
```
Note that running the command in the error seems to work just fine:
```
[root@userproc terra]# cd /opt/ocssw/share/modis/terra; git fetch
[root@userproc terra]# git status
On branch v7.5
Your branch is up to date with 'origin/v7.5'.
nothing to commit, working tree clean
```
Is `install_ocssw.py` working for anyone else?
PS: environment info:
```
[root@userproc terra]# cat /etc/*elease | head -n1
CentOS Linux release 7.6.1810 (Core)
[root@userproc terra]# python --version
Python 2.7.5
```