Projekt

Allgemein

Profil

Aktionen

Aufgabe #747

offen

Aktualisierung PVE (Proxmox Virtual Environment) auf Version 7 (von Version 6)

Von PaulRiegel vor mehr als 3 Jahren hinzugefügt. Vor etwa 3 Jahren aktualisiert.

Status:
Gelöst
Priorität:
Dringend
Kategorie:
Proxmox (Cluster)
Beginn:
Abgabedatum:
% erledigt:

0%

Geschätzter Aufwand:
(Gesamtzahl: 0:00 h)


Dateien

pve6to7_log_stout_n3_fail (5,99 KB) pve6to7_log_stout_n3_fail PaulRiegel, 04.10.2021 15:09
pve6to7_log_stout_n3 (271 KB) pve6to7_log_stout_n3 PaulRiegel, 04.10.2021 15:09
pve6to7_log_stout (268 KB) pve6to7_log_stout PaulRiegel, 04.10.2021 15:09

Untergeordnete Tickets 1 (1 offen0 geschlossen)

Aufgabe #792: Berichtigung vom Typ an Inhalt für Massenspeicher beim Cluster mit PVE clusterNeuClemensHaffner

Aktionen

Zugehörige Tickets 3 (1 offen2 geschlossen)

Beziehung mit Bereich Administration Rechentechnik - Aufgabe #1666: Aktualisierung PVE (Proxmox Virtual Environment) auf Version 8 (von Version 7)FeedbackBetreuung Betriebssystem PVE26.07.202326.07.2023

Aktionen
Vorgänger von Bereich Administration Rechentechnik - Aufgabe #748: Aktualisierung Ceph bei PVE (Proxmox Virtual Environment) auf Version 16 (von Version 15)ErledigtBetreuung Betriebssystem PVE17.09.202117.09.2021

Aktionen
Nachfolger von Bereich Administration Rechentechnik - Aufgabe #791: (realistischer) Test Proxmox Backup Server (PBS), für cluster (mit Proxmox Virtual Environment (PVE)))ErledigtClemensHaffner15.09.2021

Aktionen
Aktionen #1

Von PaulRiegel vor mehr als 3 Jahren aktualisiert

  • % erledigt wurde von 0 zu 20 geändert

Es erfolgte schon einmal die Aktualisierung von Ceph (auf Version 15 (von Version 14))!
https://wiki.stura.htw-dresden.de/index.php/Intern_Diskussion:Ora#Aktualisierung_.28von_Ceph_14_auf.29_Ceph_15

Aktionen #2

Von PaulRiegel vor mehr als 3 Jahren aktualisiert

Aktionen #3

Von PaulRiegel vor mehr als 3 Jahren aktualisiert

  • Beziehung mit Aufgabe #748: Aktualisierung Ceph bei PVE (Proxmox Virtual Environment) auf Version 16 (von Version 15) wurde hinzugefügt
Aktionen #4

Von PaulRiegel vor mehr als 3 Jahren aktualisiert

  • Beziehung mit Aufgabe #748: Aktualisierung Ceph bei PVE (Proxmox Virtual Environment) auf Version 16 (von Version 15) wurde gelöscht
Aktionen #5

Von PaulRiegel vor mehr als 3 Jahren aktualisiert

  • Vorgänger von Aufgabe #748: Aktualisierung Ceph bei PVE (Proxmox Virtual Environment) auf Version 16 (von Version 15) wurde hinzugefügt
Aktionen #6

Von PaulRiegel vor mehr als 3 Jahren aktualisiert

  • Nachfolger von Aufgabe #791: (realistischer) Test Proxmox Backup Server (PBS), für cluster (mit Proxmox Virtual Environment (PVE))) wurde hinzugefügt
Aktionen #7

Von PaulRiegel vor etwa 3 Jahren aktualisiert

pve6to7 --full


hostname

n1

pve6to7 --full

= CHECKING VERSION INFORMATION FOR PVE PACKAGES =

Checking for package updates..
PASS: all packages uptodate

Checking proxmox-ve package version..
PASS: proxmox-ve package has version >= 6.4-1

Checking running kernel version..
PASS: expected running kernel '5.4.140-1-pve'.

= CHECKING CLUSTER HEALTH/SETTINGS =

PASS: systemd unit 'pve-cluster.service' is in state 'active'
PASS: systemd unit 'corosync.service' is in state 'active'
PASS: Cluster Filesystem is quorate.

Analzying quorum settings and state..
INFO: configured votes - nodes: 3
INFO: configured votes - qdevice: 0
INFO: current expected votes: 3
INFO: current total votes: 3

Checking nodelist entries..
PASS: nodelist settings OK

Checking totem settings..
PASS: totem settings OK

INFO: run 'pvecm status' to get detailed cluster status..

= CHECKING HYPER-CONVERGED CEPH STATUS =

INFO: hyper-converged ceph setup detected!
INFO: getting Ceph status/health information..
PASS: Ceph health reported as 'HEALTH_WARN' with a single failing check and 'noout' flag set.
INFO: getting Ceph daemon versions..
PASS: single running version detected for daemon type monitor.
PASS: single running version detected for daemon type manager.
PASS: single running version detected for daemon type MDS.
PASS: single running version detected for daemon type OSD.
PASS: single running overall version detected for all Ceph daemon types.
PASS: 'noout' flag set to prevent rebalancing during cluster-wide upgrades.
INFO: checking Ceph config..

= CHECKING CONFIGURED STORAGES =

PASS: storage 'cephfs' enabled and active.
PASS: storage 'local' enabled and active.
PASS: storage 'local-zfs' enabled and active.
PASS: storage 'srs1000026' enabled and active.
PASS: storage 'storage' enabled and active.

= MISCELLANEOUS CHECKS =

INFO: Checking common daemon services..
PASS: systemd unit 'pveproxy.service' is in state 'active'
PASS: systemd unit 'pvedaemon.service' is in state 'active'
PASS: systemd unit 'pvestatd.service' is in state 'active'
INFO: Checking for running guests..
PASS: no running guest detected.
INFO: Checking if the local node's hostname 'n1' is resolvable..
INFO: Checking if resolved IP is configured on local node..
PASS: Resolved node IP '10.1.0.31' configured and active on single interface.
INFO: Checking backup retention settings..
PASS: no problems found.
INFO: checking CIFS credential location..
PASS: no CIFS credentials at outdated location found.
INFO: Checking custom roles for pool permissions..
INFO: Checking node and guest description/note legnth..
PASS: All node config descriptions fit in the new limit of 64 KiB
PASS: All guest config descriptions fit in the new limit of 8 KiB
INFO: Checking container configs for deprecated lxc.cgroup entries
PASS: No legacy 'lxc.cgroup' keys found.
INFO: Checking storage content type configuration..
PASS: no problems found
INFO: Checking if the suite for the Debian security repository is correct..
INFO: Make sure to change the suite of the Debian security repository from 'buster/updates' to 'bullseye-security' - in /etc/apt/sources.list:6

= SUMMARY =

TOTAL:    31
PASSED:   31
SKIPPED:  0
WARNINGS: 0
FAILURES: 0


hostname

n2

pve6to7 --full

= CHECKING VERSION INFORMATION FOR PVE PACKAGES =

Checking for package updates..
PASS: all packages uptodate

Checking proxmox-ve package version..
PASS: proxmox-ve package has version >= 6.4-1

Checking running kernel version..
PASS: expected running kernel '5.4.140-1-pve'.

= CHECKING CLUSTER HEALTH/SETTINGS =

PASS: systemd unit 'pve-cluster.service' is in state 'active'
PASS: systemd unit 'corosync.service' is in state 'active'
PASS: Cluster Filesystem is quorate.

Analzying quorum settings and state..
INFO: configured votes - nodes: 3
INFO: configured votes - qdevice: 0
INFO: current expected votes: 3
INFO: current total votes: 3

Checking nodelist entries..
PASS: nodelist settings OK

Checking totem settings..
PASS: totem settings OK

INFO: run 'pvecm status' to get detailed cluster status..

= CHECKING HYPER-CONVERGED CEPH STATUS =

INFO: hyper-converged ceph setup detected!
INFO: getting Ceph status/health information..
PASS: Ceph health reported as 'HEALTH_WARN' with a single failing check and 'noout' flag set.
INFO: getting Ceph daemon versions..
PASS: single running version detected for daemon type monitor.
PASS: single running version detected for daemon type manager.
PASS: single running version detected for daemon type MDS.
PASS: single running version detected for daemon type OSD.
PASS: single running overall version detected for all Ceph daemon types.
PASS: 'noout' flag set to prevent rebalancing during cluster-wide upgrades.
INFO: checking Ceph config..

= CHECKING CONFIGURED STORAGES =

PASS: storage 'cephfs' enabled and active.
PASS: storage 'local' enabled and active.
PASS: storage 'local-zfs' enabled and active.
PASS: storage 'srs1000026' enabled and active.
PASS: storage 'storage' enabled and active.

= MISCELLANEOUS CHECKS =

INFO: Checking common daemon services..
PASS: systemd unit 'pveproxy.service' is in state 'active'
PASS: systemd unit 'pvedaemon.service' is in state 'active'
PASS: systemd unit 'pvestatd.service' is in state 'active'
INFO: Checking for running guests..
WARN: 14 running guest(s) detected - consider migrating or stopping them.
INFO: Checking if the local node's hostname 'n2' is resolvable..
INFO: Checking if resolved IP is configured on local node..
PASS: Resolved node IP '10.1.0.32' configured and active on single interface.
INFO: Checking backup retention settings..
PASS: no problems found.
INFO: checking CIFS credential location..
PASS: no CIFS credentials at outdated location found.
INFO: Checking custom roles for pool permissions..
INFO: Checking node and guest description/note legnth..
PASS: All node config descriptions fit in the new limit of 64 KiB
PASS: All guest config descriptions fit in the new limit of 8 KiB
INFO: Checking container configs for deprecated lxc.cgroup entries
PASS: No legacy 'lxc.cgroup' keys found.
INFO: Checking storage content type configuration..
PASS: no problems found
INFO: Checking if the suite for the Debian security repository is correct..
INFO: Make sure to change the suite of the Debian security repository from 'buster/updates' to 'bullseye-security' - in /etc/apt/sources.list:6

= SUMMARY =

TOTAL:    31
PASSED:   30
SKIPPED:  0
WARNINGS: 1
FAILURES: 0

ATTENTION: Please check the output for detailed information!


hostname

n3

pve6to7 --full

Aktionen #8

Von PaulRiegel vor etwa 3 Jahren aktualisiert

  • Status wurde von Neu zu In Bearbeitung geändert

https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0#Check_Linux_Network_Bridge_MAC


hostname

n1

ip addr sh vmbr0; ip addr sh vmbr1; ip addr sh vmbr2

11: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether d4:ae:52:8f:13:18 brd ff:ff:ff:ff:ff:ff
    inet 10.1.0.31/24 brd 10.1.0.255 scope global vmbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::d6ae:52ff:fe8f:1318/64 scope link 
       valid_lft forever preferred_lft forever
12: vmbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:1b:21:93:b3:70 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::21b:21ff:fe93:b370/64 scope link 
       valid_lft forever preferred_lft forever
13: vmbr2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:1b:21:93:b3:72 brd ff:ff:ff:ff:ff:ff
    inet 10.10.0.31/24 brd 10.10.0.255 scope global vmbr2
       valid_lft forever preferred_lft forever
    inet6 fe80::21b:21ff:fe93:b372/64 scope link 
       valid_lft forever preferred_lft forever


hostname

n2

ip addr sh vmbr0; ip addr sh vmbr1; ip addr sh vmbr2

11: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether d4:ae:52:8f:2f:0c brd ff:ff:ff:ff:ff:ff
    inet 10.1.0.32/24 brd 10.1.0.255 scope global vmbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::d6ae:52ff:fe8f:2f0c/64 scope link 
       valid_lft forever preferred_lft forever
12: vmbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 90:e2:ba:40:69:c4 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::92e2:baff:fe40:69c4/64 scope link 
       valid_lft forever preferred_lft forever
13: vmbr2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 90:e2:ba:40:69:c6 brd ff:ff:ff:ff:ff:ff
    inet 10.10.0.32/24 brd 10.10.0.255 scope global vmbr2
       valid_lft forever preferred_lft forever
    inet6 fe80::92e2:baff:fe40:69c6/64 scope link 
       valid_lft forever preferred_lft forever


hostname

n3

ip addr sh vmbr0; ip addr sh vmbr1; ip addr sh vmbr2

11: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether d4:ae:52:8f:2a:4c brd ff:ff:ff:ff:ff:ff
    inet 10.1.0.33/24 brd 10.1.0.255 scope global vmbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::d6ae:52ff:fe8f:2a4c/64 scope link 
       valid_lft forever preferred_lft forever
12: vmbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 90:e2:ba:38:1b:00 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::92e2:baff:fe38:1b00/64 scope link 
       valid_lft forever preferred_lft forever
13: vmbr2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 90:e2:ba:38:1b:02 brd ff:ff:ff:ff:ff:ff
    inet 10.10.0.33/24 brd 10.10.0.255 scope global vmbr2
       valid_lft forever preferred_lft forever
    inet6 fe80::92e2:baff:fe38:1b02/64 scope link 
       valid_lft forever preferred_lft forever


Aktionen #9

Von PaulRiegel vor etwa 3 Jahren aktualisiert

ssh root@10.1.0.31

root@10.1.0.31's password: 

Linux n1 5.4.140-1-pve #1 SMP PVE 5.4.140-1 (Wed, 08 Sep 2021 16:21:59 +0200) x86_64

apt update

Get:1 http://security.debian.org buster/updates InRelease [65.4 kB]
Hit:2 http://ftp.de.debian.org/debian buster InRelease                   
Hit:3 http://ftp.de.debian.org/debian buster-updates InRelease           
Hit:4 http://download.proxmox.com/debian/pve buster InRelease
Hit:5 http://download.proxmox.com/debian/ceph-octopus buster InRelease


All packages are up to date.

apt dist-upgrade

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

sed -i 's/buster\/updates/bullseye-security/g;s/buster/bullseye/g' /etc/apt/sources.list

optionales Anschauen
less /etc/apt/sources.list

cat /etc/apt/sources.list.d/pve-enterprise.list


# Normales repo (mit Subscription) deaktiviert
# deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise

cat /etc/apt/sources.list.d/pve-install-repo.list

cat: /etc/apt/sources.list.d/pve-install-repo.list: No such file or directory

echo "deb http://download.proxmox.com/debian/ceph-octopus bullseye main" > /etc/apt/sources.list.d/ceph.list

optional
ls /etc/apt/sources.list.d/

ceph.list  pve-enterprise.list

optional
cat /etc/apt/sources.list.d/* | grep -v ^#
deb http://download.proxmox.com/debian/ceph-octopus bullseye main


optional
cat /etc/apt/sources.list | grep -v ^#
deb http://ftp.de.debian.org/debian bullseye main contrib

deb http://ftp.de.debian.org/debian bullseye-updates main contrib

deb http://security.debian.org bullseye-security main contrib

deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription

apt update

Get:1 http://ftp.de.debian.org/debian bullseye InRelease [113 kB]              
Get:2 http://ftp.de.debian.org/debian bullseye-updates InRelease [39.4 kB]     
Get:3 http://download.proxmox.com/debian/pve bullseye InRelease [3,053 B]
Get:4 http://download.proxmox.com/debian/ceph-octopus bullseye InRelease [2,891 B]
Get:5 http://security.debian.org bullseye-security InRelease [44.1 kB]        
Get:6 http://ftp.de.debian.org/debian bullseye/main amd64 Packages [8,178 kB]
Get:7 http://ftp.de.debian.org/debian bullseye/main Translation-en [6,241 kB]
Get:8 http://ftp.de.debian.org/debian bullseye/contrib amd64 Packages [50.4 kB]
Get:9 http://ftp.de.debian.org/debian bullseye/contrib Translation-en [46.9 kB]
Get:10 http://ftp.de.debian.org/debian bullseye-updates/main amd64 Packages [2,300 B]
Get:11 http://ftp.de.debian.org/debian bullseye-updates/main Translation-en [2,108 B]
Get:12 http://download.proxmox.com/debian/pve bullseye/pve-no-subscription amd64 Packages [115 kB]
Get:13 http://download.proxmox.com/debian/ceph-octopus bullseye/main amd64 Packages [23.6 kB]
Get:14 http://security.debian.org bullseye-security/main amd64 Packages [44.2 kB]
Get:15 http://security.debian.org bullseye-security/main Translation-en [30.0 kB]


Reading package lists... Done
Building dependency tree       
Reading state information... Done
648 packages can be upgraded. Run 'apt list --upgradable' to see them.

apt -y dist-upgrade

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done


648 upgraded, 89 newly installed, 24 to remove and 0 not upgraded.


W: (pve-apt-hook) !! ATTENTION !!
W: (pve-apt-hook) You are attempting to upgrade from proxmox-ve '6.4-1' to proxmox-ve '7.0-2'. Please make sure to read the Upgrade notes at
W: (pve-apt-hook)     https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0
W: (pve-apt-hook) before proceeding with this operation.
W: (pve-apt-hook) 
W: (pve-apt-hook) Press enter to continue, or C^c to abort.

Aktionen #10

Von PaulRiegel vor etwa 3 Jahren aktualisiert


Configuration file '/etc/issue'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** issue (Y/I/N/O/D/Z) [default=N] ? 
Package configuration


   ┌─────────────────────────────────────────────────────────────────────────────────────────────────────┤ Configuring libc6:amd64 ├─────────────────────────────────────────────────────────────────────────────────────────────────────┐
   │                                                                                                                                                                                                                                     │ 
   │ There are services installed on your system which need to be restarted when certain libraries, such as libpam, libc, and libssl, are upgraded. Since these restarts may cause interruptions of service for the system, you will     │ 
   │ normally be prompted on each upgrade for the list of services you wish to restart.  You can choose this option to avoid being prompted; instead, all necessary restarts will be done for you automatically so you can avoid being   │ 
   │ asked questions on each library upgrade.                                                                                                                                                                                            │ 
   │                                                                                                                                                                                                                                     │ 
   │ Restart services during package upgrades without asking?                                                                                                                                                                            │ 
   │                                                                                                                                                                                                                                     │ 
   │                                                                        <Yes>                                                                           <No>                                                                         │ 
   │                                                                                                                                                                                                                                     │ 
   └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ 

<No>

<Yes>


Package configuration

                                        ┌──────────────────────────────────────────────────────────────────┤ Configuring grub-pc ├───────────────────────────────────────────────────────────────────┐
                                        │ A new version (/tmp/grub.50ruG2h4tZ) of configuration file /etc/default/grub is available, but the version installed currently has been locally modified.  │ 
                                        │                                                                                                                                                            │ 
                                        │ What do you want to do about modified configuration file grub?                                                                                             │ 
                                        │                                                                                                                                                            │ 
                                        │                                                    install the package maintainer's version                                                                │ 
                                        │                                                    keep the local version currently installed                                                              │ 
                                        │                                                    show the differences between the versions                                                               │ 
                                        │                                                    show a side-by-side difference between the versions                                                     │ 
                                        │                                                    show a 3-way difference between available versions                                                      │ 
                                        │                                                    do a 3-way merge between available versions                                                             │ 
                                        │                                                    start a new shell to examine the situation                                                              │ 
                                        │                                                                                                                                                            │ 
                                        │                                                                                                                                                            │ 
                                        │                                                                           <Ok>                                                                             │ 
                                        │                                                                                                                                                            │ 
                                        └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ 

keep the local version currently installed


Configuration file '/etc/apt/sources.list.d/pve-enterprise.list'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** pve-enterprise.list (Y/I/N/O/D/Z) [default=N] ? 


Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.11.22-5-pve
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/cmdline found - falling back to /proc/cmdline
Copying and configuring kernels on /dev/disk/by-uuid/89C7-ECE5
    Copying kernel 5.11.22-5-pve
    Copying kernel 5.4.140-1-pve
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.11.22-5-pve
Found initrd image: /boot/initrd.img-5.11.22-5-pve
Found linux image: /boot/vmlinuz-5.4.140-1-pve
Found initrd image: /boot/initrd.img-5.4.140-1-pve
done
Copying and configuring kernels on /dev/disk/by-uuid/89C8-C82D
    Copying kernel 5.11.22-5-pve
    Copying kernel 5.4.140-1-pve
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.11.22-5-pve
Found initrd image: /boot/initrd.img-5.11.22-5-pve
Found linux image: /boot/vmlinuz-5.4.140-1-pve
Found initrd image: /boot/initrd.img-5.4.140-1-pve

done
Aktionen #11

Von PaulRiegel vor etwa 3 Jahren aktualisiert

Reboot via WUI

root@n1:~# Connection to 10.1.0.31 closed by remote host.
Connection to 10.1.0.31 closed.

Von PaulRiegel vor etwa 3 Jahren aktualisiert

Aktionen #13

Von PaulRiegel vor mehr als 1 Jahr aktualisiert

  • Beziehung mit Aufgabe #1666: Aktualisierung PVE (Proxmox Virtual Environment) auf Version 8 (von Version 7) wurde hinzugefügt
Aktionen

Auch abrufbar als: Atom PDF