Project

General

Profile

Tâche #29125

Scénario #29069: Traitement express MEN (42-44)

Le paquet eole-saltstack est indiqué comme désinstallé mais non purgé après Upgrade 2.6.2 -> 2.7.1

Added by Joël Cuissinat over 1 year ago. Updated over 1 year ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
10/14/2019
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

Cf. ligne suivante dans le test http://jenkins.eole.lan/jenkins/job/2.7.1/job/test-upgradeauto-sphynx-262-2.7.1-amd64/15/consoleFull :

rc  eole-saltstack                        2.6.2-4                           all          saltstack's EOLE configuration and integration


Related issues

Related to Distribution EOLE - Tâche #26390: Prévoir la migration 2.7.0 vers 2.7.1 des modules et states spécifiques à l'EAD3 Fermé 01/07/2019
Related to Distribution EOLE - Tâche #29273: Le paquet eole-pydio est indiqué comme désinstallé mais non purgé après Upgrade 2.6.2 -> 2.7.1 Fermé 11/15/2019

Associated revisions

Revision 7e47e226 (diff)
Added by Joël Cuissinat over 1 year ago

Force deleting PYC file in module

Ref: #29125

Revision e850f50f (diff)
Added by Joël Cuissinat over 1 year ago

Force deleting PYC file in module

Ref: #29125

Cherry-picked from eole-saltstack:commit:7e47e226 for 2.7.0

Revision d817ba29 (diff)
Added by Joël Cuissinat over 1 year ago

Détection des paquets non purgés

Ref: #29125

Revision 2a8a178f (diff)
Added by Joël Cuissinat over 1 year ago

PYC file must be deleted in prerm instead of postrm

Ref: #29125

Revision 7b609c0d (diff)
Added by Joël Cuissinat over 1 year ago

Détection des paquets non purgés (suite)

Ref: #29125

Revision 6d4e786a (diff)
Added by Joël Cuissinat over 1 year ago

Purge eole-saltstack package in post upgrade if needed

Ref: #29125

Revision 4ff490c1 (diff)
Added by Joël Cuissinat over 1 year ago

post upgrade : cosmetic corrections

Ref #29125

Revision 76efac75 (diff)
Added by Joël Cuissinat over 1 year ago

Détection des paquets non purgés (fin)

Ref: #29125

History

#1 Updated by Joël Cuissinat over 1 year ago

  • Status changed from Nouveau to En cours

#2 Updated by Joël Cuissinat over 1 year ago

  • Assigned To set to Joël Cuissinat

#3 Updated by Joël Cuissinat over 1 year ago

Le paquet fournit à la fois des dicos/templates et du code python :

root@sphynx:~# dpkg -L eole-saltstack 
/.
/usr
/usr/lib
/usr/lib/python2.7
/usr/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages/eole_salt_netapi-2.6.2.egg-info
/usr/lib/python2.7/dist-packages/salt
/usr/lib/python2.7/dist-packages/salt/netapi
/usr/lib/python2.7/dist-packages/salt/netapi/rest_eole
/usr/lib/python2.7/dist-packages/salt/netapi/rest_eole/saltnado_websockets.py
/usr/lib/python2.7/dist-packages/salt/netapi/rest_eole/saltnado.py
/usr/lib/python2.7/dist-packages/salt/netapi/rest_eole/event_processor.py
/usr/lib/python2.7/dist-packages/salt/netapi/rest_eole/__init__.py
/usr/share
/usr/share/doc
/usr/share/doc/eole-saltstack
/usr/share/doc/eole-saltstack/copyright
/usr/share/doc/eole-saltstack/changelog.Debian.gz
/usr/share/eole
/usr/share/eole/sbin
/usr/share/eole/sbin/dumpconfig.py
/usr/share/eole/posttemplate
/usr/share/eole/posttemplate/00-saltstack
/usr/share/eole/creole
/usr/share/eole/creole/dicos
/usr/share/eole/creole/dicos/20_saltstack.xml
/usr/share/eole/creole/distrib
/usr/share/eole/creole/distrib/ext_auth.conf
/usr/share/eole/creole/distrib/minion
/usr/share/eole/creole/distrib/master
/usr/share/eole/creole/distrib/minion.smtp.conf
/usr/share/eole/creole/distrib/cherry.conf

C'est le fichier /usr/lib/python2.7/dist-packages/salt/netapi/rest_eole/__init__.pyc qui pose problème :)

#4 Updated by Joël Cuissinat over 1 year ago

  • Related to Tâche #26390: Prévoir la migration 2.7.0 vers 2.7.1 des modules et states spécifiques à l'EAD3 added

#5 Updated by Joël Cuissinat over 1 year ago

  • % Done changed from 0 to 100

Paquets refaits pour 2.6.2 & 2.7.0.

#6 Updated by Joël Cuissinat over 1 year ago

  • Status changed from En cours to Résolu

#7 Updated by Joël Cuissinat over 1 year ago

  • Status changed from Résolu to En cours

#8 Updated by Joël Cuissinat over 1 year ago

Cela ne suffit pas, le paquet est toujours en rc malgré ce résultat :

root@eolebase:~# dpkg -L eole-saltstack 
Le paquet « eole-saltstack » ne contient aucun fichier (!)

=> on va faire autrement

#9 Updated by Joël Cuissinat over 1 year ago

  • Status changed from En cours to Résolu

#10 Updated by Joël Cuissinat over 1 year ago

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

Dans le test http://jenkins.eole.lan/jenkins/job/2.7.1/job/test-upgradeauto-eolebase-262-2.7.1-amd64/20/consoleFull, le paquet est bien explicitement supprimé dans /tmp/Upgrade-Auto/post_upgrade/00-common

#11 Updated by Joël Cuissinat over 1 year ago

  • Related to Tâche #29273: Le paquet eole-pydio est indiqué comme désinstallé mais non purgé après Upgrade 2.6.2 -> 2.7.1 added

Also available in: Atom PDF