Project

General

Profile

Tâche #19848

Scénario #19828: Les utilisateurs doivent être avertis de l’état de support de leur noyau

Créer un agent Zéphir pour rapporter l’état de maintenance du noyau

Added by Daniel Dehennin over 3 years ago. Updated over 3 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
03/23/2017
Due date:
% Done:

100%

Estimated time:
4.00 h
Spent time:
Remaining (hours):
0.0

Associated revisions

Revision cf6b9bc8 (diff)
Added by Daniel Dehennin over 3 years ago

Report kernel maintenance status in Zéphir agents

  • data/monitor/configs/kernel.agent: Enable the agent to run one time
    per day.
  • zephir/monitor/agents/kernel.py: Parse output of
    “hwe-support-status” to report if the kernel is maintained by
    Ubuntu.

Ref: #19848

Revision cf4c9ffe (diff)
Added by Daniel Dehennin over 3 years ago

Skip KernelMaintenance agent if hwe-support-status does not exists

  • data/monitor/configs/kernel.agent: Do not start agent if
    “/usr/bin/hwe-support-status” is not executable.
  • zephir/monitor/agents/kernel.py (KernelMaintenance.measure): Remove
    test on “/usr/bin/hwe-support-status”.

Ref: #19848

History

#1 Updated by Daniel Dehennin over 3 years ago

  • Private changed from No to Yes

#2 Updated by Daniel Dehennin over 3 years ago

  • Project changed from Distribution EOLE to zephir-client

#3 Updated by Daniel Dehennin over 3 years ago

  • Status changed from Nouveau to En cours
  • Assigned To set to Daniel Dehennin

#4 Updated by Daniel Dehennin over 3 years ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100
  • Remaining (hours) changed from 4.0 to 0.5

#5 Updated by Daniel Dehennin over 3 years ago

Pour tester

Se rendre sur la page web des agents Zéphir et constater le status de l’agent État de la maintenance du noyau :

  • Sur 2.4.2, il doit être OK
  • Sur 2.5.X, il doit être en erreur et dans le détail il indique quel paquet installer
  • Sur 2.6.X, il n’est pas démarré (il n’apparaît pas)

#6 Updated by Joël Cuissinat over 3 years ago

  • Remaining (hours) changed from 0.5 to 0.0

#7 Updated by Joël Cuissinat over 3 years ago

Test Horus 2.5.1 :

* État de la maintenance du noyau [Erreur]
État Message
Off Vous devez installer le paquet linux-image-generic-lts-xenial

Après installation du noyau, le message devient :

État Message
Off le noyau est installé, vous devez redémarrer
Et, enfin, après redémarrage :
État Message
Off le noyau est maintenu par Ubuntu

#8 Updated by Joël Cuissinat over 3 years ago

  • Project changed from zephir-client to Distribution EOLE
  • Status changed from Résolu to Fermé

#9 Updated by Daniel Dehennin over 3 years ago

  • Private changed from Yes to No

Also available in: Atom PDF