Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
slapos slapos
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 122
    • Merge requests 122
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slaposslapos
  • Merge requests
  • !1096

Merged
Created Dec 02, 2021 by Xavier Thompson@xavier_thompsonOwner

software/theia: Fix resiliency

  • Overview 6
  • Commits 8
  • Changes 12

Fix 4 bugs in theia resiliency:

  • overwritten ~/etc: Previous implementation was mistakenly overwriting whole ~/etc in the clone instead of just updating some select files, resulting in ~/etc/services being deleted. This killed all services in the clone, including the ones meant to trigger subsequent restorations from backup. The tests have been improved to catch this case (by running export and import twice).
  • signature checking: the clone checks the signatures of the backup'd files before restoring them, but embedded instances can provide scripts to customise this check. In that case, the embedded instance needs to be processed first because otherwise the script doesn't exist, and the signatures of the files contained in it are only checked at the end.
  • aggregated monitoring: the resilient instance now returns a monitor-setup-url that aggregates the monitoring of theia0, theia1 and PBS just like in slaprunner.
  • broken slapos node format after standalone restart: restarting Theia's standalone service was breaking the slapformat configuration and causing slapos node format to fail, which caused the import script to fail.
Edited Dec 03, 2021 by Xavier Thompson
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: fix_theia_resilience
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7