Project

General

Profile

Tâche #13354

Scénario #13641: Déplacer les fichiers de logs de lightsquid

[Amon 2.4.0] 98% utilisé pour la partition / à cause de Lightsquid

Added by Olivier FEBWIN almost 8 years ago. Updated over 7 years ago.

Status:
Fermé
Priority:
Haut
Start date:
10/05/2015
Due date:
% Done:

100%

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

Description

Un Amon 2.4.0 a sa partition / qui est à 98% pleine.
Après une petite recherche, cela vient des 1,4 GiB de rapports très pratiques de Lightsquid qui sont archivés depuis début février dans /usr/share/lightsquid

Serait-il possible de déplacer ces rapports dans une partition plus importante comme /var par exemple ?

Associated revisions

Revision e82fae77 (diff)
Added by Fabrice Barconnière over 7 years ago

Stats de navigation dans /var/lib/lightsquid/reports/

pretemplate/00-proxy : déplacement des stats dans /var/lib/lightsquid/reports/
tmpl/lightsquid.cfg : stats générées dans /var/lib/lightsquid/reports/

ref #13354 @1h

Revision 40e0fce2 (diff)
Added by Fabrice Barconnière over 7 years ago

Stats de navigation dans /var/lib/lightsquid/reports/

backend/actions/lightsquid.py : test du répertoire /var/lib/lightsquid/reports/

ref #13354 @15m

Revision 2d2e06cb (diff)
Added by Fabrice Barconnière over 7 years ago

pretemplate/00-proxy : test si le répertoire n'est pas vide avant de
déplacer son contenu

ref #13354 @10m

Revision d4f5b086 (diff)
Added by Fabrice Barconnière over 7 years ago

backend/actions/lightsquid.py : reports dans /var/log/lightsquid/reports

ref #13354 @10m

Revision 1e92909e (diff)
Added by Fabrice Barconnière over 7 years ago

reports dans /var/log/lightsquid/reports

ref #13354 @10m

Revision 422c1afb (diff)
Added by Fabrice Barconnière over 7 years ago

Correction test présence stats Lightsquid dans l'ancien répertoire

pretemplate/00-proxy : test de présence des stats défectueux

ref #13354 @30m

Revision 422808b3 (diff)
Added by Fabrice Barconnière over 7 years ago

reports dans /var/log/lightsquid/reports
cherry-pick eole-proxy:1e92909e + gestion conflit

ref #13354
ref #15295 @10m

Revision 684f27ce (diff)
Added by Fabrice Barconnière over 7 years ago

backend/actions/lightsquid.py : reports dans /var/log/lightsquid/reports
cherry-pick d4f5b086 + gestion conflit ref #13354

ref #15295 @10m

History

#1 Updated by Olivier FEBWIN almost 8 years ago

Je propose

mkdir -p /var/log/lightsquid/report
mv /usr/share/lightsquid/report/* /var/log/lightsquid/report/
rm -Rf /usr/share/lightsquid/report
ln -s /var/log/lightsquid/report /usr/share/lightsquid/report

#2 Updated by Laurent Flori almost 8 years ago

  • Tracker changed from Anomalie to Tâche
  • Category set to Version mineure
  • Estimated time set to 2.00 h
  • Parent task set to #13641
  • Remaining (hours) set to 2.0

#3 Updated by Laurent Flori almost 8 years ago

  • Project changed from Amon to LightSquid
  • Category deleted (Version mineure)

#4 Updated by Scrum Master over 7 years ago

  • Status changed from Nouveau to En cours

#5 Updated by Scrum Master over 7 years ago

  • Assigned To set to Fabrice Barconnière

#6 Updated by Fabrice Barconnière over 7 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 2.0 to 0.1

#7 Updated by Scrum Master over 7 years ago

  • Status changed from En cours to Résolu

#8 Updated by Emmanuel GARETTE over 7 years ago

  • Status changed from Résolu to En cours
  • % Done changed from 100 to 50

<gnunux> barco, run-parts: executing /usr/share/eole/pretemplate/00-proxy reconfigure
<gnunux> mv: impossible d'évaluer «/var/www/html/lightsquid/report/*»: Aucun fichier ou dossier de ce type
<gnunux> barco, le répertoire existe mais est vide
<gnunux> si je met un fichier dedans ...
<gnunux> run-parts: executing /usr/share/eole/pretemplate/00-proxy reconfigure
<gnunux> mv: impossible de créer le fichier standard «/var/lib/lightsquid/reports/»: N'est pas un dossier

#9 Updated by Fabrice Barconnière over 7 years ago

  • % Done changed from 50 to 100

#10 Updated by Fabrice Barconnière over 7 years ago

  • % Done changed from 100 to 70
  • Remaining (hours) changed from 0.1 to 0.5

/var/lib/lightsquid/reports n'existe pas nativement.
Création et utilisation de /var/log/lightsquid/reports

#11 Updated by Fabrice Barconnière over 7 years ago

  • % Done changed from 70 to 100
  • Remaining (hours) changed from 0.5 to 0.1

#12 Updated by Scrum Master over 7 years ago

  • Status changed from En cours to Résolu

#13 Updated by Emmanuel GARETTE over 7 years ago

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

Also available in: Atom PDF