Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • Autosubmit GUI Autosubmit GUI
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 36
    • Issues 36
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Earth SciencesEarth Sciences
  • Autosubmit GUIAutosubmit GUI
  • Issues
  • #24
Closed
Open
Issue created Aug 09, 2022 by Miguel Castrillo@mcastrilOwner

Outdated auto-restart in production machine

I noticed that the GUI doesn't restart by itself after bscesweb04 boots.

In webadmin's crontab:

@reboot /home/webadmin/run_gunicorn.sh

This script (corresponding to https://earth.bsc.es/gitlab/es/autosubmitreact/-/blob/master/deployment/scripts/boot_gunicorn.sh) executes what I think is a legacy version of the API:

source /srv/www/htdocs/AutosubmitAPI/venv27/bin/activate
cd ~
gunicorn --error-logfile ~/rebootGunicorn.txt --timeout 600 -b 0.0.0.0:8081 -w 4 autosubmitAPIwu.testAPI:app --daemon

And it fails because it depends on paramiko (==2.6.0). The "actual" GUI depends on paramiko 1.15.0.

I think that in the crontab we should rather use launch_AS_API.sh, corresponding to (https://earth.bsc.es/gitlab/es/autosubmitreact/-/blob/master/deployment/scripts/launch_autosubmit_API.sh).

Concerning autosubmitAPIwu it' only used in's commented out from everywhere but https://earth.bsc.es/gitlab/es/autosubmit_api/-/blob/main/autosubmit_api/autosubmit_legacy/platforms/ecmwf_adaptor.py. But we can discuss it in a separate issue about autosubmit_legacy, which is only used for certain operations and that should disappear in the long term.

@jberlin @cgutierr

Assignee
Assign to
Time tracking