Project

General

Profile

Demande #3913

Demande #3801: Migrer le parc des machines et VM vers Debian Buster

Migrer vers Debian Buster la vm icinga2

Added by Christian P. Momon over 2 years ago. Updated about 2 years ago.

Status:
Fermé
Priority:
Normale
Category:
-
Target version:
-
Start date:
10/08/2019
Due date:
% Done:

100%

Estimated time:

Description

Ticket de suivi de la migration du Chapril vers Debian Buster (#3801).


Related issues

Copied to Infra Chapril - Demande #5498: Migrer vers Debian Bullseye la vm felicetteRésolu

Actions

History

#1

Updated by Christian P. Momon over 2 years ago

  • Status changed from Nouveau to Confirmé
#2

Updated by Christian P. Momon over 2 years ago

Note : impossible de faire un point d'arrêt car la partition des sauvegardes n'est pas en qcow2. La démonter avant de faire un point d'arrêt ?

#3

Updated by François Poulain about 2 years ago

  • Assignee set to François Poulain
  • % Done changed from 0 to 10

- pas de snapshot car c'est pas un qcow
- édition de source.list*
- apt update
- apt upgrade

#4

Updated by François Poulain about 2 years ago

  • % Done changed from 10 to 50

dist-upgrade

#5

Updated by François Poulain about 2 years ago

autoremove

#6

Updated by François Poulain about 2 years ago

Changement de Stretch -> Buster dans admin:/etc/icinga2/zones.d/master/galanga/icinga2.conf

#7

Updated by François Poulain about 2 years ago

Echec de handshake Borg. Sans surprise, Borg est cassé sur tout le cluster.

=(^-^)=root@icinga2:~# export BORG_RSH="ssh -p 2242 -A" 
=(^-^)=root@icinga2:~# /usr/bin/borg list "backup@backup.chapril.org:/srv/backups/`hostname --fqdn`" 
Got unexpected RPC data format from server:
This account is currently not available.
=(^-^)=root@bastion:~# BORG_RSH="ssh -p 2242 -A" /usr/bin/borg list "backup@backup.chapril.org:/srv/backups/`hostname --fqdn`" 
Got unexpected RPC data format from server:
This account is currently not available.

reboot

#8

Updated by François Poulain about 2 years ago

On a juste perdu le compte backup.

# ssh -p 2242 backup@backup.chapril.org
PTY allocation request failed on channel 0
This account is currently not available.
Connection to backup.chapril.org closed.

#9

Updated by François Poulain about 2 years ago

  • % Done changed from 50 to 100

Contourné par

=(^-^)=root@icinga2:/etc# git diff
diff --git a/passwd b/passwd
index 9b358a2..2232e36 100644
--- a/passwd
+++ b/passwd
@@ -11,7 +11,7 @@ news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
 uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
 proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
 www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
-backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
+backup:x:34:34:backup:/var/backups:/bin/rbash
 list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
 irc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologin
 gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin

=(^-^)=root@icinga2:~BORG_RSH="ssh -p 2242 -A" /usr/bin/borg list "backup@backup.chapril.org:/srv/backups/`hostname --fqdn`" 
Warning: Attempting to access a previously unknown unencrypted repository!
Do you want to continue? [yN] y
#10

Updated by François Poulain about 2 years ago

  • Status changed from Confirmé to Résolu
#11

Updated by Christian P. Momon about 2 years ago

  • Project changed from Chapril to Infra Chapril
  • Status changed from Résolu to Fermé
#12

Updated by Christian P. Momon 6 months ago

  • Copied to Demande #5498: Migrer vers Debian Bullseye la vm felicette added

Also available in: Atom PDF