Scénario #32151
Le calcul du "estimate_output" pour Bareos est susceptible de prendre plusieurs minutes
Status:
Terminé (Sprint)
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
04/16/2021
Due date:
06/04/2021
% Done:
100%
Story points:
2.0
Remaining (hours):
0.00 hour
Velocity based estimate:
Release:
Release relationship:
Auto
Description
Constaté sur un serveur du CD74.
La commande en cause se trouve à la ligne 596 du fichier pyeole/bareos.py
:
estimate_output = re.search(r'^2000 OK.*bytes=(?P<size>[0-9]{1,3}(,[0-9]{3})*)', run_bareos_cmd('estimate Job=JobSauvegarde')[1])
Si on la remplace par estimate_output = None
, le temps de réponse de la commande est normal.
Pour la copie d'écran, j'ai ajouté un affichage de la date avant et après la ligne, ce qui nous donne un peu plus de 11 minutes !
Subtasks
Related issues
Associated revisions
lecture estimate output depuis un fichier ref #32151
ajout d'un cron pour calculer la taille estimé de la sauvegarde ref #32151
calculer le retour ligne à ligne (ref #32151)
History
#1 Updated by Joël Cuissinat over 2 years ago
- Description updated (diff)
#2 Updated by Joël Cuissinat over 2 years ago
- Related to Scénario #31842: Diagnose: services en Erreur (Apache, Dhcp, Lsc, Sso, logrotate) après MajAuto Hebdo added
#3 Updated by Joël Cuissinat over 2 years ago
- Related to deleted (Scénario #31842: Diagnose: services en Erreur (Apache, Dhcp, Lsc, Sso, logrotate) après MajAuto Hebdo)
#4 Updated by Joël Cuissinat over 2 years ago
- Tracker changed from Demande to Scénario
- Due date set to 06/04/2021
- Target version set to Prestation Cadoles MEN 2021 20-22
- Story points set to 2.0
#5 Updated by Joël Cuissinat over 2 years ago
- Related to Scénario #31842: Diagnose: services en Erreur (Apache, Dhcp, Lsc, Sso, logrotate) après MajAuto Hebdo added
#6 Updated by Emmanuel GARETTE over 2 years ago
- Assigned To set to Emmanuel GARETTE
#7 Updated by Emmanuel GARETTE over 2 years ago
- Assigned To changed from Emmanuel GARETTE to Matthieu Lamalle
#8 Updated by Emmanuel GARETTE over 2 years ago
<jojo2024> je dirais 2.7.2 puisqu'elle doit être impactée ;)
#9 Updated by Emmanuel GARETTE over 2 years ago
- Status changed from Nouveau to Résolu
#10 Updated by Joël Cuissinat over 2 years ago
- Status changed from Résolu to En cours
#11 Updated by Emmanuel GARETTE about 2 years ago
- Status changed from En cours to Résolu
#12 Updated by Joël Cuissinat about 2 years ago
- Status changed from Résolu to Terminé (Sprint)
- Release set to EOLE 2.7.2