Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • S slapos.toolbox
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedinexedi
  • slapos.toolbox
  • Merge requests
  • !31

[Monitor] Use new slapos.grid.promise from slapos.core to manage promises

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Alain Takoudjou requested to merge alain into master Mar 02, 2018
  • Overview 9
  • Commits 6
  • Pipelines 0
  • Changes 17

Monitor now import slapos.grid.promise from slapos.core to manage promises. promise can be python class which inherit from GenericPromise see: https://lab.nexedi.com/nexedi/slapos.core/blob/master/slapos/grid/promise/

New promises will be placed in slapos.toolbox/slapos/promise/plugin folder.

Only slapgrid will run promises now and will save each result in a json file, monitor only collect results then generate rss and other files. When a partition is correctly deployed, slapgrid will run promise anomaly check, then monitor will read the result to build rss.

monitor-report is removed and not supported anymore.

logrotate and monitor scripts generated in monitor.py is removed, they will be added in buildout

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: alain
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7