Project

General

Profile

Tâche #33252

Scénario #33111: Dyfonctionnement liste de sources à ne pas authentifier Eole Base proxy 2.8.1

Gérer la migration de ces données

Added by Emmanuel GARETTE 2 months ago. Updated 3 days ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
10/04/2021
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

Gérer la migration de ces données dans les scripts : Upgrade-Auto 2.7.2 et migration28.sh (NB : penser à l'AmonEcole 2.6.2)

Associated revisions

Revision 30fb8412 (diff)
Added by Emmanuel GARETTE 2 months ago

migration de domaines_noauth_user durant Upgrade-Auto (ref #33252)

Revision 4803dbac (diff)
Added by Emmanuel GARETTE 2 months ago

tester la migration de domaines_noauth_user durant Upgrade-Auto (ref #33252)

Revision e86e15fc (diff)
Added by Emmanuel GARETTE 2 months ago

tester la migration de domaines_noauth_user durant Upgrade-Auto (ref #33252)

Revision 3a680c35 (diff)
Added by Emmanuel GARETTE 2 months ago

migration de domaines_noauth_user durant migration28.sh (ref #33252)

Revision 4957a616 (diff)
Added by Emmanuel GARETTE 2 months ago

tester la migration de domaines_noauth_user durant migration28.sh (ref #33252)

Revision 4e0be58d (diff)
Added by Joël Cuissinat about 2 months ago

check-domaines_noauth_user.sh : compat shellcheck (ref #33252)

Revision 7176473d (diff)
Added by Joël Cuissinat about 2 months ago

migration de domaines_noauth_user : compatibilité AmonEcole (ref #33252)

Revision 43bd5d92 (diff)
Added by Emmanuel GARETTE about 2 months ago

tester la migration de domaines_noauth_user après restauration (ref #33252)

Revision a904c558 (diff)
Added by Joël Cuissinat 9 days ago

migration de domaines_noauth_user : ajout mkdir

Ref: #33252

Revision 89853413 (diff)
Added by Emmanuel GARETTE 3 days ago

erreur de copie de fichier (ref #33252)

History

#1 Updated by Emmanuel GARETTE 2 months ago

  • Status changed from Nouveau to En cours
  • Assigned To set to Emmanuel GARETTE

#2 Updated by Emmanuel GARETTE 2 months ago

  • Status changed from En cours to À valider

#3 Updated by Emmanuel GARETTE 2 months ago

  • % Done changed from 0 to 100

#4 Updated by Emmanuel GARETTE about 2 months ago

  • Status changed from À valider to Résolu

#5 Updated by Joël Cuissinat 9 days ago

Test Upgrade-Auto (NB : ciExtendsLvmWithDisk100G)
  • etb1.amon 2.7.2 : ajout des 4 possibilités dans l'EAD
    root@amon:~# rgrep -E "src.fr|dst.fr" /etc
    /etc/squid/src_noauth_user:noauthsrc.fr
    /etc/squid/src_nocache_user:nocachesrc.fr
    /etc/squid/domaines_noauth_user:.noauthdst.fr
    /etc/squid/domaines_nocache_user:.nocachedst.fr
    
  • Après Upgrade (NB : et fix mkdir /etc/guardian/common)
    root@amon:~# rgrep -E "src.fr|dst.fr" /etc
    /etc/squid/src_noauth_user:noauthsrc.fr
    /etc/squid/src_nocache_user:nocachesrc.fr
    /etc/squid/domaines_noauth_user:.noauthdst.fr
    /etc/squid/domaines_nocache_user:.nocachedst.fr
    /etc/guardian/common/domaines_noauth_user:noauthdst.fr
    

    root@amon:~# rgrep -E "src.fr|dst.fr" /var/lib/eole/
    /var/lib/eole/domaines_noauth_user:.noauthdst.fr
    

    Je retrouve bien mes 4 adresses dans l'EAD.

#6 Updated by Joël Cuissinat 9 days ago

Test migration28.sh
  • etb3.amonecole-2.6.2.2 : ajout des 4 possibilités dans l'EAD
    root@amonecole:~# rgrep "33.33.33" /opt/lxc/internet/rootfs/etc 
    /opt/lxc/internet/rootfs/etc/squid/src_nocache_user:33.33.33.33
    /opt/lxc/internet/rootfs/etc/squid/src_noauth_user:33.33.33.34
    /opt/lxc/internet/rootfs/etc/squid/domaines_noauth_user:.33.33.33.32
    /opt/lxc/internet/rootfs/etc/squid/domaines_nocache_user:.33.33.33.31
    
  • migration2.8.sh : les fichiers sont dans la sauvegarde
    root@amonecole:~# rgrep "33.33.33" /svg/scribe-00000003/squid/
    /svg/scribe-00000003/squid/src_nocache_user:33.33.33.33
    /svg/scribe-00000003/squid/domaines_nocache_user:.33.33.33.31
    /svg/scribe-00000003/squid/domaines_noauth_user:.33.33.33.32
    /svg/scribe-00000003/squid/src_noauth_user:33.33.33.34
    

#7 Updated by Joël Cuissinat 3 days ago

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

OK

Also available in: Atom PDF