Skip to content
  • Vangelis Koukis's avatar
    Refactor ganeti-0mqd as daemon, message broker · 1f50ac0d
    Vangelis Koukis authored
    Refactor ganeti-0mqd to run as a UNIX daemon:
      * Log under /var/log/synnefo by default
      * Maintain PID file under /var/run/synnefo
      * Handle signals gracefully
    
    Refactor ganeti-0mqd to be a 0mq message broker:
        * A separate thread handles receiving notifications from a PULL
          socket and publishing them to a PUB endpoint.
        * Notifications come from running inotify() on the Ganeti job queue
        * ...or from synnefo hooks running inside Ganeti (e.g., notifications
          for VM network updates)
    
    Make all settings user-configurable, through settings.py and
    command-line arguments.
    1f50ac0d