Closed luca-s closed 2 years ago
$ ls -lh ~/seiscomp/etc/defaults/
total 160K
-rw-r--r-- 1 sysop sysop 799 Jun 23 16:20 fdsnws.cfg
-rw-r--r-- 1 sysop sysop 178 Jun 23 16:20 gdrt_plugin.cfg
-rw-r--r-- 1 sysop sysop 2.9K Jun 23 16:22 global.cfg
-rw-r--r-- 1 sysop sysop 884 Jul 5 11:01 ql2sc.cfg
-rw-r--r-- 1 sysop sysop 189 Aug 18 2021 scalert.cfg
-rw-r--r-- 1 sysop sysop 694 Aug 18 2021 scamp.cfg
lrwxrwxrwx 1 sysop sysop 11 Jan 28 2022 scanloc-hf.cfg -> scanloc.cfg
lrwxrwxrwx 1 sysop sysop 11 Aug 17 14:38 scanloc-local.cfg -> scanloc.cfg
lrwxrwxrwx 1 sysop sysop 11 Aug 17 14:38 scanloc-regional.cfg -> scanloc.cfg
-rw-r--r-- 1 sysop sysop 8.0K Jul 26 13:37 scanloc.cfg
-rw-r--r-- 1 sysop sysop 95 Aug 18 2021 scardac.cfg
-rw-r--r-- 1 sysop sysop 3.0K Aug 18 2021 scautoloc.cfg
lrwxrwxrwx 1 sysop sysop 14 Jan 28 2022 scautopick-hf.cfg -> scautopick.cfg
-rw-r--r-- 1 sysop sysop 2.8K Jun 23 16:20 scautopick.cfg
-rw-r--r-- 1 sysop sysop 1.8K Jun 20 06:44 scenvelope.cfg
-rw-r--r-- 1 sysop sysop 89 Aug 18 2021 scesv.cfg
-rw-r--r-- 1 sysop sysop 7.6K Jun 23 16:20 scevent.cfg
-rw-r--r-- 1 sysop sysop 426 Aug 18 2021 scevtlog.cfg
-rw-r--r-- 1 sysop sysop 2.4K Oct 14 2021 scheli.cfg
-rw-r--r-- 1 sysop sysop 37 Aug 18 2021 scm.cfg
-rw-r--r-- 1 sysop sysop 2.1K Aug 18 2021 scmag.cfg
-rw-r--r-- 1 sysop sysop 2.5K Aug 18 2021 scmaster.cfg
-rw-r--r-- 1 sysop sysop 459 Aug 18 2021 scmv.cfg
-rw-r--r-- 1 sysop sysop 1.9K Aug 18 2021 scolv.cfg
-rw-r--r-- 1 sysop sysop 3.6K Aug 18 2021 scqc.cfg
-rw-r--r-- 1 sysop sysop 13K Oct 14 2021 scqcv.cfg
lrwxrwxrwx 1 sysop sysop 11 Aug 17 14:40 screloc-hf.cfg -> screloc.cfg
lrwxrwxrwx 1 sysop sysop 11 Aug 17 14:40 screloc-local.cfg -> screloc.cfg
lrwxrwxrwx 1 sysop sysop 11 Aug 17 14:40 screloc-regional.cfg -> screloc.cfg
-rw-r--r-- 1 sysop sysop 388 Aug 18 2021 screloc.cfg
-rw-r--r-- 1 sysop sysop 2.8K May 16 15:46 scrtdd.cfg
-rw-r--r-- 1 sysop sysop 2.2K Jun 23 16:20 scrttv.cfg
-rw-r--r-- 1 sysop sysop 493 Aug 18 2021 scsohlog.cfg
-rw-r--r-- 1 sysop sysop 2.9K Jun 20 06:44 scvsmag.cfg
-rw-r--r-- 1 sysop sysop 2.2K Jun 20 06:44 scvsmaglog.cfg
-rw-r--r-- 1 sysop sysop 894 Aug 18 2021 scwfas.cfg
-rw-r--r-- 1 sysop sysop 11K Jan 17 2022 scwfparam.cfg
-rw-r--r-- 1 sysop sysop 71 Sep 2 2021 sed_qual.cfg
-rw-r--r-- 1 sysop sysop 3.8K Aug 18 2021 seedlink.cfg
-rw-r--r-- 1 sysop sysop 3.4K Aug 18 2021 slarchive.cfg
$ ls -lh ~/seiscomp/etc/init/
-rw-r--r-- 1 sysop sysop 1.1K Sep 1 2021 NLoB_apick.pyc
drwxrwxr-x 2 sysop sysop 4.0K Aug 17 14:40 __pycache__
-rw-r--r-- 1 sysop sysop 17K Aug 18 2021 access.py
-rw-r--r-- 1 sysop sysop 15K Aug 26 2021 access.pyc
-rw-r--r-- 1 sysop sysop 2.0K Aug 18 2021 diskmon.py
-rw-r--r-- 1 sysop sysop 2.6K Aug 26 2021 diskmon.pyc
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 ew2sc.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 ew2sc.pyc
-rw-rw-r-- 1 sysop sysop 0 Oct 4 2021 fdsnws.auto
-rw-r--r-- 1 sysop sysop 1.7K Aug 18 2021 fdsnws.py
-rw-r--r-- 1 sysop sysop 1.8K Aug 26 2021 fdsnws.pyc
-rw-r--r-- 1 sysop sysop 800 Aug 18 2021 kernel.py
-rw-r--r-- 1 sysop sysop 1.3K Aug 26 2021 kernel.pyc
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 ql2sc.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 ql2sc.pyc
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 scalert.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 scalert.pyc
-rw-rw-r-- 1 sysop sysop 0 Sep 3 2021 scamp.auto
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 scamp.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 scamp.pyc
-rw-rw-r-- 1 sysop sysop 0 Jan 28 2022 scanloc-hf.auto
lrwxrwxrwx 1 sysop sysop 10 Jan 28 2022 scanloc-hf.py -> scanloc.py
lrwxrwxrwx 1 sysop sysop 10 Aug 17 14:38 scanloc-local.py -> scanloc.py
lrwxrwxrwx 1 sysop sysop 10 Aug 17 14:38 scanloc-regional.py -> scanloc.py
-rw-rw-r-- 1 sysop sysop 0 Sep 3 2021 scanloc.auto
-rw-r--r-- 1 sysop sysop 499 Jul 26 13:37 scanloc.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 scanloc.pyc
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 scautoloc.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 scautoloc.pyc
lrwxrwxrwx 1 sysop sysop 13 Jan 28 2022 scautopick-hf.py -> scautopick.py
-rw-rw-r-- 1 sysop sysop 0 Sep 3 2021 scautopick.auto
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 scautopick.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 scautopick.pyc
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 scdb.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 scdb.pyc
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 scenvelope.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 scenvelope.pyc
-rw-rw-r-- 1 sysop sysop 0 May 23 15:43 scevent-hf.auto
-rw-rw-r-- 1 sysop sysop 0 Sep 3 2021 scevent.auto
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 scevent.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 scevent.pyc
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 scevtlog.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 scevtlog.pyc
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 scimex.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 scimex.pyc
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 scimport.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 scimport.pyc
-rw-r--r-- 1 sysop sysop 2.8K Aug 18 2021 scinv.py
-rw-r--r-- 1 sysop sysop 2.4K Aug 26 2021 scinv.pyc
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 scm.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 scm.pyc
-rw-rw-r-- 1 sysop sysop 0 Sep 3 2021 scmag.auto
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 scmag.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 scmag.pyc
-rw-r--r-- 1 sysop sysop 23K Jun 23 16:22 scmaster.py
-rw-r--r-- 1 sysop sysop 16K Aug 26 2021 scmaster.pyc
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 scproclat.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 scproclat.pyc
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 scqc.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 scqc.pyc
-rw-rw-r-- 1 sysop sysop 0 May 23 15:43 screloc-hf.auto
lrwxrwxrwx 1 sysop sysop 10 Aug 17 14:40 screloc-hf.py -> screloc.py
lrwxrwxrwx 1 sysop sysop 10 Aug 17 14:40 screloc-local.py -> screloc.py
lrwxrwxrwx 1 sysop sysop 10 Aug 17 14:40 screloc-regional.py -> screloc.py
-rw-rw-r-- 1 sysop sysop 0 Sep 3 2021 screloc.auto
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 screloc.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 screloc.pyc
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 scrtdd.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 scrtdd.pyc
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 scsohlog.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 scsohlog.pyc
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 scvoice.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 scvoice.pyc
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 scvsmag.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 scvsmag.pyc
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 scvsmaglog.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 scvsmaglog.pyc
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 scwfas.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 scwfas.pyc
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 scwfparam.py
-rw-r--r-- 1 sysop sysop 1.1K Aug 26 2021 scwfparam.pyc
-rw-r--r-- 1 sysop sysop 499 Aug 18 2021 sed_qual.py
-rw-rw-r-- 1 sysop sysop 0 Jan 19 2022 seedlink.auto
-rw-r--r-- 1 sysop sysop 29K Jan 17 2022 seedlink.py
-rw-r--r-- 1 sysop sysop 21K Aug 26 2021 seedlink.pyc
-rw-rw-r-- 1 sysop sysop 0 Jul 13 15:07 slarchive.auto
-rw-r--r-- 1 sysop sysop 6.6K Aug 18 2021 slarchive.py
-rw-r--r-- 1 sysop sysop 7.1K Aug 26 2021 slarchive.pyc
-rw-r--r-- 1 sysop sysop 5.8K Aug 18 2021 slmon.py
-rw-r--r-- 1 sysop sysop 5.8K Aug 26 2021 slmon.pyc
-rw-r--r-- 1 sysop sysop 3.5K Aug 18 2021 trunk.py
-rw-r--r-- 1 sysop sysop 3.2K Aug 26 2021 trunk.pyc
Looks like the problem is $SEISCOMP_ROOT/etc/descriptions/aliases
not being updated:
$ cat seiscomp/etc/descriptions/aliases
scautopick-hf = scautopick
scanloc-hf = scanloc
screloc-hf = screloc
I fixed my problem manually editing the $SEISCOMP_ROOT/etc/descriptions/aliases
file. I don't know how to replicate the issue. If you cannot reproduce the problem on your side you can close this issue or I can run some tests for you, if you like.
I have tested that with 5.1.1 and it works for me. Does seiscomp alias create scautopick-test scautopick
work for you and updates the aliases
file?
It worked fine:
$ cat seiscomp/etc/descriptions/aliases
scanloc-regional = scanloc
scanloc-local = scanloc
scanloc-hf = scanloc
screloc-regional = screloc
screloc-local = screloc
screloc-hf = screloc
scautopick-hf = scautopick
$ seiscomp alias create scautopick-test scautopick
Registered alias 'scautopick-test' in $SEISCOMP_ROOT/etc/descriptions/aliases
Linking default configuration: scautopick.cfg -> scautopick-test.cfg
Creating app symlink: scautopick -> bin/scautopick-test
Linking init script: scautopick.py -> scautopick-test.py
$ cat seiscomp/etc/descriptions/aliases
scanloc-regional = scanloc
scanloc-local = scanloc
scanloc-hf = scanloc
screloc-regional = screloc
screloc-local = screloc
screloc-hf = screloc
scautopick-hf = scautopick
scautopick-test = scautopick
At this point I ran scconfig and the alias is visible.
sysop@bedretto-dev:~$ seiscomp alias remove scautopick-test
Removing alias 'scautopick-test'
+ removing app symlink: bin/scautopick-test
+ removing init script: etc/init/scautopick-test.py
+ removing default configuration: /home/sysop/seiscomp/etc/defaults/scautopick-test.cfg
warning: No other configuration removed for 'scautopick-test' - interactive removal is supported by '--interactive'
sysop@bedretto-dev:~$ cat seiscomp/etc/descriptions/aliases
scanloc-regional = scanloc
scanloc-local = scanloc
scanloc-hf = scanloc
screloc-regional = screloc
screloc-local = screloc
screloc-hf = screloc
scautopick-hf = scautopick
Since I cannot reproduce the issue I am closing this
Dear developers,
I am using SeisComP 5.1.1 and I have noticed that I cannot see
alias
configuration inscconfig
(Modules
menu), however the alias is visible undersystem
menu (for example I can start/stop/enable/disable the alias).Also, the aliases that were created with a previous version of seiscomp (I do not recall what was the version I used) are visible.
In the screenshots below, the aliases
screloc-local
andscreloc-regional
were created with SeisComP 5.1.1, butscreloc-hf
was already there.