Tentative de migration proxmox v8.x vers 9

Bonjour à tous.

J’ai décidé de mettre à jour mon Proxmox v8 en V9.

J’ai parcouru les différents post sur le sujet, suivi les tutos. (Migration proxmox V8 vers V9 - #22 par cddu33)

Mais voilà j’ai certainement raté quelque chose…
En effet j’ai le message suivant :

root@monproxmox:~# pve8to9 --full
= CHECKING VERSION INFORMATION FOR PVE PACKAGES =

Checking for package updates..
WARN: updates for the following packages are available:
  dpkg, fontconfig, libvulkan1, reportbug, libnetfilter-conntrack3, librados2, libboost-iostreams1.83.0, libboost-thread1.83.0, libfmt10, librdmacm1t64, libssl3t64, cifs-utils, tcpdump, libpcap0.8t64, libssl3t64, dmidecode, libwrap0, libkeyutils1, libxtables12, dmeventd, libhtml-tagset-perl, initramfs-tools-core, dracut-install, initramfs-tools-bin, libnet-dns-perl, libpulse0, libsmartcols1, debconf-i18n, console-setup, zstd, libpam-runtime, udev, coreutils, krb5-locales, libnetaddr-ip-perl, libfdt1, ceph-fuse, libfmt10, libfuse3-4, hdparm, bind9-host, libffi8, pciutils, libnftnl11, libgssapi-krb5-2, netbase, readline-common, libnet-ssleay-perl, libssl3t64, libnghttp2-14, open-iscsi, libisns0t64, libssl3t64, openssh-client, libssl3t64, iptables, dosfstools, iputils-ping, libaudit-common, fdutils, libglusterfs0, libssl3t64, libauthen-pam-perl, libnl-3-200, libdatrie1, libthai0, libctf-nobfd0, libgfapi0, libtirpc3t64, apt, sqv, libapt-pkg7.0, libssl3t64, libtemplate-perl, libio-socket-ssl-perl, xkb-data, libxrender1, libjs-bootstrap, python3-pyvmomi, libnftables1, liblwp-protocol-https-perl, libwww-perl, ssl-cert, libtry-tiny-perl, libacl1, gpg, libassuan9, libnpth0t64, libreadline8t64, perl, perl-modules-5.40, libperl5.40, libtinfo6, libtirpc-common, tzdata, libx11-xcb1, rrdcached, libglib2.0-0t64, librrd8t64, zfs-zed, libzfs6linux, libunwind8, libdigest-hmac-perl, bridge-utils, libldb2, libldap2, libtevent0t64, libmagic-mgc, libpango-1.0-0, libglib2.0-0t64, iucode-tool, kbd, libidn2-0, libunistring5, libfile-chdir-perl, libtasn1-6, python3-minimal, chrony, libgnutls30t64, libnettle8t64, libpam-systemd, sgml-base, busybox, liblzo2-2, nmap-common, libnl-route-3-200, zfs-initramfs, libselinux1, liblzma5, sed, ssh, libnvpair3linux, libtirpc3t64, tar, xsltproc, libgfrpc0, libtirpc3t64, ucf, libavahi-common-data, libcap2-bin, tasksel-data, whiptail, base-passwd, libsasl2-2, libssl3t64, libcairo2, libpng16-16t64, libgbm1, mesa-libgallium, python3-ceph-common, libibverbs1, librbd1, libfmt10, libssl3t64, libexpat1, grub-pc-bin, libbinutils, libsframe1, libgfxdr0, libtirpc3t64, libp11-kit0, procmail, lxcfs, fuse3, libfuse3-4, dtach, libposix-strptime-perl, apparmor, python3-reportbug, libblas3, libqrencode4, librgw2, libboost-context1.83.0, libboost-filesystem1.83.0, libboost-thread1.83.0, libcurl3t64-gnutls, libfmt10, libicu76, libldap2, libssl3t64, python3-debianbts, libfido2-1, libcbor0.10, libssl3t64, kmod, libssl3t64, libuutil3linux, libwayland-server0, tasksel, libsocket6-perl, dbus-daemon, libjansson4, libfribidi0, liblua5.3-0, librrds-perl, librrd8t64, librtmp1, libgnutls30t64, libhogweed6t64, libnettle8t64, faketime, ceph-common, libboost-context1.83.0, libboost-filesystem1.83.0, libboost-program-options1.83.0, libboost-thread1.83.0, libcurl3t64-gnutls, libfmt10, libgoogle-perftools4t64, libicu76, libldap2, liboath0t64, libssl3t64, debconf, vim-common, liblvm2cmd2.03, libaio1t64, libproc2-0, libip4tc2, libpixman-1-0, libsystemd0, libfreetype6, libpng16-16t64, pci.ids, libmount1, nfs-common, libevent-core-2.1-7t64, libtirpc3t64, binutils-x86-64-linux-gnu, libsframe1, libnetfilter-log1, libxau6, file, libmagic1t64, bzip2, genisoimage, libmagic1t64, python3-requests, libpipeline1, libnss-systemd, debianutils, libpopt0, libcrypt-openssl-bignum-perl, libssl3t64, libxcb1, liblockfile-bin, libslirp0, libglib2.0-0t64, logrotate, libapparmor1, libwbclient0, libnuma1, xfsprogs, libicu76, liburcu8t64, python3-dbus, python3-httplib2, python3, python3.13, openssh-server, libssl3t64, libwtmpdb0, libdbus-1-3, python3-urllib3, runit-helper, dbus-bin, gnupg, libsasl2-modules-db, libdb5.3t64, gpg-wks-server, libkrb5support0, libsepol2, netcat-traditional, python3-pyparsing, libbpf1, libelf1t64, libmnl0, libxml2, fuse, fuse3, xz-utils, libzstd1, libgraphite2-3, util-linux, libbsd0, less, python-apt-common, fonts-glyphicons-halflings, libfontconfig1, libdouble-conversion3, util-linux-extra, psmisc, wamerican, systemd, libssl3t64, libconvert-asn1-perl, libudev1, gpg-agent, libassuan9, libnpth0t64, libcrypt-openssl-rsa-perl, libssl3t64, console-setup-linux, libgpg-error0, wget, libgnutls30t64, libnettle8t64, libpsl5t64, shared-mime-info, libglib2.0-0t64, isc-dhcp-common, liblocale-gettext-perl, fdisk, libreadline8t64, libappconfig-perl, lua-lpeg, libyaml-0-2, libspice-server1, libglib2.0-0t64, liborc-0.4-0t64, libssl3t64, debian-archive-keyring, libcom-err2, python3-pycurl, libcurl3t64-gnutls, gettext-base, libmaxminddb0, diffutils, strace, sensible-utils, python3-pkg-resources, python3-autocommand, python3-inflect, python3-jaraco.context, python3-jaraco.functools, python3-more-itertools, qrencode, libpng16-16t64, fontconfig-config, grub-efi-amd64, libfdisk1, gdisk, librdkafka1, libcurl4t64, libssl3t64, libmp3lame0, liburi-perl, libdrm-common, libx11-data, eject, usbutils, attr, libhttp-cookies-perl, lsof, liblsof0, libtirpc3t64, libcap2, systemd-boot-efi, libfile-fcntllock-perl, python3-cephfs, libjson-glib-1.0-common, lvm2, libaio1t64, libc6, locales, libpcre2-16-0, klibc-utils, libsnappy1v5, libopus0, libuchardet0, libpangocairo-1.0-0, libglib2.0-0t64, libcrypt-openssl-random-perl, libssl3t64, libcephfs2, libfmt10, libkrb5-3, libssl3t64, usrmerge, libpam-modules, libnet1, libprotobuf-c1, virtiofsd, libnet-ip-perl, libnet-http-perl, libxcb-render0, manpages, linux-base, libusb-1.0-0, libuuid1, man-db, libgdbm6t64, libcommon-sense-perl, gpgv, libjpeg62-turbo, libtext-charwidth-perl, libuuid-perl, bash, traceroute, libgcrypt20, isc-dhcp-client, mailcap, grep, media-types, libio-stringy-perl, mawk, libfaketime, python3-wcwidth, libfile-find-rule-perl, inetutils-telnet, libcap-ng0, libklibc, vim-tiny, libgfchangelog0, libtirpc3t64, libctf0, libsemanage2, bind9-dnsutils, debian-faq, libvorbisenc2, libasyncns0, libnsl2, libtirpc3t64, base-files, libnfnetlink0, libnss3, libfilesys-df-perl, libk5crypto3, liburing2, libpangoft2-1.0-0, libglib2.0-0t64, ncurses-base, gzip, keyutils, libtdb1, python3-apt, libapt-pkg7.0, dmsetup, libsndfile1, libflac14, libmpg123-0t64, libhttp-date-perl, login, libqb100, gnutls-bin, libgnutls-dane0t64, libgnutls30t64, rpcbind, libtirpc3t64, libcrypt-ssleay-perl, libssl3t64, python3-certifi, libsqlite3-0, hostname, libjemalloc2, rsync, libssl3t64, pinentry-curses, libassuan9, libjson-c5, libopeniscsiusr, gpgsm, libassuan9, libnpth0t64, libreadline8t64, glusterfs-common, libaio1t64, libssl3t64, libtirpc3t64, liburcu8t64, libhtml-parser-perl, libterm-readline-gnu-perl, libreadline8t64, libxslt1.1, libunbound8, libevent-2.1-7t64, libssl3t64, libradosstriper1, libfmt10, libdevmapper-event1.02.1, dbus-session-bus-common, libcryptsetup12, libssl3t64, libasound2-data, python3-jwt, adduser, findutils, libgmp10, distro-info-data, libxxhash0, libthai-data, libip6tc2, libpcre2-8-0, libcrypt1, libgstreamer1.0-0, libglib2.0-0t64, libavahi-common3, binutils-common, ca-certificates, libpam-modules-bin, perl-openssl-defaults, libssl3t64, liblinux-inotify2-perl, init-system-helpers, grub-efi-amd64-bin, grub-efi-amd64-unsigned, grub2-common, libefiboot1t64, libefivar1t64, thin-provisioning-tools, libsemanage-common, python3-prettytable, smartmontools, python3-rbd, python3-rgw, libseccomp2, smbclient, libarchive13t64, libgnutls30t64, libreadline8t64, libsmbclient0, libtevent0t64, python3-protobuf, libprotobuf32t64, uidmap, libsubid5, libogg0, python3-six, procps, libdpkg-perl, libxml-sax-perl, libpython3-stdlib, libpython3.13-stdlib, bash-completion, libvorbis0a, mount, python3-yaml, libjson-glib-1.0-0, libglib2.0-0t64, perl-base, openssh-sftp-server, libpam0g, nano, libc-l10n, btrfs-progs, libext2fs2t64, libreiserfscore0t64, libbrotli1, grub-common, libefiboot1t64, libefivar1t64, libfuse3-4, bind9-libs, libssl3t64, liburcu8t64, libuv1t64, cron-daemon-common, libdrm2, apt-listchanges, samba-libs, libgnutls30t64, libicu76, libldap2, libtevent0t64, libtirpc3t64, liblmdb0, libu2f-server0, libssl3t64, libc-bin, ipset, libipset13t64, libsystemd-shared, libssl3t64, glusterfs-client, librabbitmq4, libssl3t64, keyboard-configuration, libattr1, efibootmgr, libefiboot1t64, libefivar1t64, libaudit1, libkmod2, libssl3t64, libclone-perl, libgprofng0, libxext6, initramfs-tools, ebtables, libyaml-libyaml-perl, bsd-mailx, nmap, liblua5.4-0, libpcap0.8t64, libssh2-1t64, libssl3t64, cpio, dirmngr, libassuan9, libgnutls30t64, libldap2, libnpth0t64, bc, libreadline8t64, socat, libssl3t64, libksba8, libharfbuzz0b, libglib2.0-0t64, libxml-twig-perl, libtext-iconv-perl, systemd-sysv, criu, libgnutls30t64, libcompel1, fonts-dejavu-core, fonts-dejavu-mono, samba-common, cron, apt-utils, libapt-pkg7.0, libdb5.3t64, python3-idna, gnupg-utils, memtest86+, libblkid1, python3-chardet, curl, libcurl4t64, libslang2, libargon2-1, sysvinit-utils, python3-debconf, logsave, libvirglrenderer1, libva-drm2, libhttp-message-perl, libjson-xs-perl, gnupg-l10n, python3-setuptools, python3-jaraco.text, python3-more-itertools, python3-typeguard, python3-typing-extensions, python3-zipp, libfile-listing-perl, gpg-wks-client, libassuan9, libxcb-shm0, liblz4-1, libpci3, libxml-parser-perl, libncursesw6, sqlite3, libreadline8t64, ncurses-bin, libbz2-1.0, libinih1, zlib1g, libx11-6, ethtool, libgstreamer-plugins-base1.0-0, libglib2.0-0t64, liborc-0.4-0t64, python3-charset-normalizer, gcc-12-base, liblockfile1, libanyevent-perl, init, python3-ceph-argparse, groff-base, libmd0, dbus-system-bus-common, libnfsidmap1, libldap2, ncurses-term, libnet-dbus-perl, dash, libtalloc2, dbus, libepoxy0, libedit2, bsdutils, iproute2, libdb5.3t64, libelf1t64, libtirpc3t64, libavahi-client3, gpgconf, libassuan9, libreadline8t64, liblinear4, libdevmapper1.02.1, libxml-libxml-perl, libfstrm0, libss2, libnewt0.52, binutils, libva2, bsdextrautils, libstdc++6, gcc-14-base, libxdmcp6, libbabeltrace1, libdw1t64, libelf1t64, libglib2.0-0t64, libncurses6, zfsutils-linux, libzfs6linux, libzpool6linux, libssl3t64, python3-systemd, libdebconfclient0, iso-codes, postfix, libdb5.3t64, libicu76, libssl3t64, libtlsrpt0, openssl, libssl3t64, python3-debian, e2fsprogs, libiscsi7, librdmacm1t64, passwd, login.defs, python3-rados, libapt-pkg-perl, libapt-pkg7.0, nftables, libnspr4, libgcc-s1, gcc-14-base

Checking proxmox-ve package version..
PASS: proxmox-ve package has version >= 8.4-0

Checking running kernel version..
PASS: running kernel '6.8.12-14-pve' is considered suitable for upgrade.

= CHECKING CLUSTER HEALTH/SETTINGS =

SKIP: standalone node.

= CHECKING HYPER-CONVERGED CEPH STATUS =

SKIP: no hyper-converged ceph setup detected!

= CHECKING CONFIGURED STORAGES =

PASS: storage 'local' enabled and active.
PASS: storage 'local-lvm' enabled and active.
PASS: storage 'synology-PVE-backups' enabled and active.
INFO: Checking storage content type configuration..
PASS: no storage content problems found
PASS: no storage re-uses a directory for multiple content types.
INFO: Check for usage of native GlusterFS storage plugin...
PASS: No GlusterFS storage found.
INFO: Checking whether all external RBD storages have the 'keyring' option configured
SKIP: No RBD storage configured.

= VIRTUAL GUEST CHECKS =

INFO: Checking for running guests..
WARN: 1 running guest(s) detected - consider migrating or stopping them.
INFO: Checking if LXCFS is running with FUSE3 library, if already upgraded..
SKIP: not yet upgraded, no need to check the FUSE library version LXCFS uses
INFO: Checking for VirtIO devices that would change their MTU...
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 VM configurations for outdated machine versions
PASS: All VM machine versions are recent enough

= 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 'pvescheduler.service' is in state 'active'
PASS: systemd unit 'pvestatd.service' is in state 'active'
INFO: Checking for supported & active NTP service..
PASS: Detected active time synchronisation unit 'chrony.service'
INFO: Checking if the local node's hostname 'monproxmox' is resolvable..
INFO: Checking if resolved IP is configured on local node..
PASS: Resolved node IP '192.168.1.200' configured and active on single interface.
INFO: Check node certificate's RSA key size
PASS: Certificate 'pve-root-ca.pem' passed Debian Busters (and newer) security level for TLS connections (4096 >= 2048 RSA)
PASS: Certificate 'pve-ssl.pem' passed Debian Busters (and newer) security level for TLS connections (2048 >= 2048 RSA)
INFO: Checking backup retention settings..
PASS: no backup retention problems found.
INFO: checking CIFS credential location..
PASS: no CIFS credentials at outdated location found.
INFO: Checking permission system changes..
INFO: Checking custom role IDs
PASS: no custom roles defined
INFO: Checking node and guest description/note length..
PASS: All node config descriptions fit in the new limit of 64 KiB
INFO: Checking if the suite for the Debian security repository is correct..
NOTICE: found unusual suites that are neither old 'bookworm' nor new 'trixie':
    found suite trixies at in /etc/apt/sources.list.d/pve-install-repo.list:1
  Please ensure these repositories are shipping compatible packages for the upgrade!
NOTICE: found no suite mismatches, but found at least one strange suite
INFO: Checking for existence of NVIDIA vGPU Manager..
PASS: No NVIDIA vGPU Service found.
INFO: Checking bootloader configuration...
PASS: bootloader packages installed correctly
INFO: Check for dkms modules...
SKIP: could not get dkms status
INFO: Check for legacy 'filter' or 'group' sections in /etc/pve/notifications.cfg...
INFO: Check for legacy 'notification-policy' or 'notification-target' options in /etc/pve/jobs.cfg...
PASS: No legacy 'notification-policy' or 'notification-target' options found!
INFO: Check for LVM autoactivation settings on LVM and LVM-thin storages...
NOTICE: storage 'local-lvm' has guest volumes with autoactivation enabled
NOTICE: Starting with PVE 9, autoactivation will be disabled for new LVM/LVM-thin guest volumes. This system has some volumes that still have autoactivation enabled. All volumes with autoactivations reside on local storage, where this normally does not cause any issues.
You can run the following command to disable autoactivation for existing LVM/LVM-thin guest volumes:

        /usr/share/pve-manager/migrations/pve-lvm-disable-autoactivation

INFO: Checking lvm config for thin_check_options...
PASS: Check for correct thin_check_options passed
INFO: Check space requirements for RRD migration...
PASS: Enough free disk space for increased RRD metric granularity requirements, which is roughly 3.41 MiB.
INFO: Checking for IPAM DB files that have not yet been migrated.
PASS: No legacy IPAM DB found.
PASS: No legacy MAC DB found.
INFO: Checking if the legacy sysctl file '/etc/sysctl.conf' needs to be migrated to new '/etc/sysctl.d/' path.
PASS: Legacy file '/etc/sysctl.conf' exists but does not contain any settings.
INFO: Checking if matching CPU microcode package is installed.
PASS: Found matching CPU microcode package 'intel-microcode' installed.
SKIP: No containers on node detected.

= SUMMARY =

TOTAL:    44
PASSED:   32
SKIPPED:  6
WARNINGS: 2
FAILURES: 0

ATTENTION: Please check the output for detailed information!
root@monproxmox:~#

Donc je dois faire un apt full-upgrade
et là j’ai le message suivant :


511 upgraded, 168 newly installed, 71 to remove and 0 not upgraded.
Need to get 0 B/380 MB of archives.
After this operation, 579 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
W: (pve-apt-hook) !! WARNING !!
W: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'!
W: (pve-apt-hook) 
W: (pve-apt-hook) If you really want to permanently remove 'proxmox-ve' from your system, run the following command
W: (pve-apt-hook)       touch '/please-remove-proxmox-ve'
W: (pve-apt-hook) run apt purge proxmox-ve to remove the meta-package
W: (pve-apt-hook) and repeat your apt invocation.
W: (pve-apt-hook) 
W: (pve-apt-hook) If you are unsure why 'proxmox-ve' would be removed, please verify
W: (pve-apt-hook)       - your APT repository settings
W: (pve-apt-hook)       - that you are using 'apt full-upgrade' to upgrade your system
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook
root@monproxmox:~#

Pas vraiment envie de retirer proxmox-ve…
si vous savez pourquoi… et comment faire… je suis preneur.

Merci :slight_smile:

Pourquoi ne pas lire la doc officielle
Extrêmement complète et détaillée

3 « J'aime »

Tu dois effectivement lire de travers … :slight_smile:

Première commande :
2 WARNING. Tu as lu pourquoi ?
Premier : ton système n’est pas à jour…
Deuxième : tu lance la commande alors que tu as une VM ou CT qui tourne…

Donc si je regarde le lien que tu as fourni, ça commence mal. Tu ne respecte pas, le premier , le deuxième et le quatrième point (honnêtement j’ai arrêté de lire au quatrième point…)

Deuxième commande :
Je ne sais pas d’où tu la sort… ce n’est ni dans le lien du post que tu a fourni. Ni dans la doc officielle.

Même conseille. Lit la doc officiel correctement. Quand tu l’auras lu, voir tenté de la suivre. Si tu as des doutes ou questions revient les poser.

1 « J'aime »

Merci à vous deux.

Alors certes je n’ai pas suivi la doc officielle et me suis basé sur un post du forum.
L’aide que je demannde n’est pas sur les 2 Warning, mais uniquement sur le 1er
car l’update ne se fait pas…

Est-ce que qq1 peut m’aider à trouver la bonne configuation pour que les updates se fassent.

Sinon question subsidiaire :
Une installation from scratch de la V9, puis import d’une sauvegarde v8.4 est-ce que cela fontionne ?

alors pourquoi tu ne la lis pas tu a toutes les etapes a suivre

je ne sais pas ce que tu as fait ou pas fait dnas l’ordre dans lequel tu les a fait désole je ne suis pas devin

alors commence par suivre la doc pas à pas et tu verra que tout se passera bien

il faut deja tout mettre a jour avant de modifier les sources.list
puis modifier les source.list correctement pour s’assurer q’il n’y que les bons dépots mais encore une fois cela est très bien expliqué dans la doc (oui je fais chier avec ma doc, mais c’est pourtant la base)

qand je vois ces messages ça me conforye dans l’idée qu’il y’a un souci dans les source.list

NOTICE: found unusual suites that are neither old 'bookworm' nor new 'trixie':
    found suite trixies at in /etc/apt/sources.list.d/pve-install-repo.list:1
  Please ensure these repositories are shipping compatible packages for the upgrade!
NOTICE: found no suite mismatches, but found at least one strange suite

le 1er warning te fais remarquer que tu as des mise a jour en attente, cela corrobore que tu n’as pas fais la mise a jour avant de lancer l’upgrade

tu risque d’y passer un temps fou, il faut tout réinstaller, paramétrer , importer tes VM

root@monproxmox:~# pveversion
pve-manager/9.1.4/5ac30304265fbd8e (running kernel: 6.17.4-2-pve)
root@monproxmox:~# 

J’ai refait toutes les étapes depuis le début en suivant la doc officielle.
Ert c’est OK :slight_smile:

Moralité : RTFM

1 « J'aime »

surtout qu’elle est extrêmement bien faite

que était ton soucis alors ?

problème sur les sources… un mix avec vieux document sur sources.list…

en reprennant les étapes depuis le debut, cela à permis de remettre tout dans l’ordre et de faire la migration.

Merci pour tes conseils !

1 « J'aime »

C’est bien du coup d’avoir fait le ménage dans les sources.list :+1: