Project

General

Profile

Tâche #29434

Scénario #29403: diag.py devrait renvoyer la sous-version du module à bp-eole

Ajouter la release aux informations de diagnostique

Added by Daniel Dehennin 6 months ago. Updated 4 months ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
01/07/2020
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

L’information est disponible via la variable creole eole_release.

Associated revisions

Revision ceb1b76f (diff)
Added by Daniel Dehennin 4 months ago

diag: add module name, release and version

Ref: #29434

History

#1 Updated by Scrum Master 4 months ago

  • Status changed from Nouveau to En cours

#2 Updated by Scrum Master 4 months ago

  • Assigned To set to Daniel Dehennin

#3 Updated by Daniel Dehennin 4 months ago

  • Status changed from En cours to Résolu

#4 Updated by Daniel Dehennin 4 months ago

  • % Done changed from 0 to 100

#5 Updated by Joël Cuissinat 4 months ago

Exemples de sorties (avec l'injection de la commande "pprint") :

root@scribe:~# /usr/share/creole/diag.py
{'ID5': 'afcb4e0b038c11d24541b3032d9b748f',
 'dep': u'000',
 'eole_module': u'scribe',
 'eole_release': u'2.7.2',
 'eole_version': u'2.7',
 'module': u'scribe-2.7',
 'rne': u'0000000A',
 'server_type': 'qemu'}

root@seshat:~# /usr/share/creole/diag.py
{'ID5': '20ca32b9d4f0c1209b27c1a62fdd95da',
 'dep': u'000',
 'eole_module': u'seshat',
 'eole_release': u'2.5.2',
 'eole_version': u'2.5',
 'module': u'seshat-2.5',
 'rne': u'0000000A',
 'server_type': 'kvm'}

l’outil systemd-virt-detect a évolué entre les deux et donne plus de précision maintenant

#6 Updated by Joël Cuissinat 4 months ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0

Also available in: Atom PDF