Skip to content

Conversation

@OleMussmann
Copy link

Changes

Code

  • Add section README.md on how to find logs
  • Update packages
  • Fix all models broken through package updates
    • mostly removing deprecated options
  • Pin new packages
    • requirements.*.txt contain pinned packages
    • requirements.*.unversioned.txt contain unversioned packages

Procedure

Changed procedure for package updates

  • Re-build containers with unversioned requirements file
  • Pull newest packages
  • Bump package versions in newsgac/templates/html_dependencies.html, if necessary
  • Pin new packages versions in requirements.*.txt
  • Re-build containers with versioned requirements file
  • Test pipelines
  • Fix broken functionality, if necessary

Findings

Access debug logs

  • Brief model crash logs
    • Mouse-over the Status.FAILURE field on the "Pipelines" page
  • Web console
    • Find the web container with docker ps
    • Read the logs with docker logs newsgacdev_web.[many_numbers] (use tab completion), search for PIN
    • Click on the terminal icon on the right of the crash log on the pipeline details page, paste the PIN
    • You now have a terminal for debugging
  • Full crash logs
    • Find the worker container with docker ps
    • Read the logs with docker logs newsgacdev_worker.[many_numbers] (use tab completion)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants