WebGui zeigt keine Storage Targets mehr an und log ist voller LVMPlugin.pm line 133

nevi84

Member
Aug 29, 2019
2
0
21
39
Guten Tag Proxmox Community

Vielleicht ist jemand schon in dieses Problem reingerasselt.

Nach dem Upgrade vom Latest Proxmox7 nach Proxmox8 kann ich über das GUI keine VM erstellen oder VM moven.

Zusätzlich sind im Log lauter solcher messages ersichtlich.
Code:
2024-01-12T20:12:56.902256+01:00 nn-zg-prx01 pvestatd[1756]: Use of uninitialized value $size in int at /usr/share/perl5/PVE/Storage/LVMPlugin.pm line 133.
2024-01-12T20:12:56.902444+01:00 nn-zg-prx01 pvestatd[1756]: Use of uninitialized value $free in int at /usr/share/perl5/PVE/Storage/LVMPlugin.pm line 133.
2024-01-12T20:12:56.902524+01:00 nn-zg-prx01 pvestatd[1756]: Use of uninitialized value $lvcount in int at /usr/share/perl5/PVE/Storage/LVMPlugin.pm line 133.

Kennt jemand diese Message.

Vielen Dank für den Input der Community.

Beste Grüsse

Nelson Vi
 

Attachments

  • Bildschirmfoto 2024-01-12 um 20.17.01.png
    Bildschirmfoto 2024-01-12 um 20.17.01.png
    90.6 KB · Views: 6
  • Bildschirmfoto 2024-01-12 um 20.17.40.png
    Bildschirmfoto 2024-01-12 um 20.17.40.png
    132.1 KB · Views: 6
Guten Abend Falk

Besten Dank für deine Rückmeldung.

Die Datenstorages werden sauber angezeigt und ansonsten funktioniert der Proxmox Cluster nach dem Update auch ohne Probleme.

Ich denke das Problem liegt am folgenden:
Alle meine VMS - VolumeGroups sei es CEPH oder NFS haben ähnliche Namen entweder vg00 oder vg0 um das Management zu vereinfachen.

"Fix duplicate VG names with vgrename uuid, a device filter, or system IDs"

XML:
root@nn-zg-prx01:~# pvesm status
  WARNING: VG name vg00 is used by VGs 17Sf4A-3Fwm-XvvR-CQlp-lQoC-CntQ-NVUqTJ and wkpN5q-pdt1-cKXy-Zf6m-rgjL-O49g-ju0fId.
  Fix duplicate VG names with vgrename uuid, a device filter, or system IDs.
  WARNING: VG name vg0 is used by VGs QMTVea-TKDS-bdBc-GLG0-B89h-w30D-yry2PW and a4EFZI-W8P4-YPDA-ZXfh-lYCa-auCl-CFJ6bR.
  Fix duplicate VG names with vgrename uuid, a device filter, or system IDs.
  WARNING: VG name vg00 is used by VGs rnn3cM-PD2A-HNSL-l82E-1ISZ-TU3s-dft780 and wkpN5q-pdt1-cKXy-Zf6m-rgjL-O49g-ju0fId.
  Fix duplicate VG names with vgrename uuid, a device filter, or system IDs.
  WARNING: VG name vg00 is used by VGs MplXqx-7JSV-ygbB-3Zax-RKZ9-GZKC-87KTui and wkpN5q-pdt1-cKXy-Zf6m-rgjL-O49g-ju0fId.
  Fix duplicate VG names with vgrename uuid, a device filter, or system IDs.
  WARNING: Not using device /dev/rbd5p1 for PV ZPUqiu-d50M-9tO7-GRT4-WToF-PdCL-10b3Qp.
  WARNING: Not using device /dev/rbd7p3 for PV t10NO0-pIfv-v0jb-rG3s-39Zm-jTUI-9zlq0t.
  WARNING: Not using device /dev/rbd10p3 for PV t10NO0-pIfv-v0jb-rG3s-39Zm-jTUI-9zlq0t.
  WARNING: PV ZPUqiu-d50M-9tO7-GRT4-WToF-PdCL-10b3Qp prefers device /dev/rbd4p1 because device was seen first.
  WARNING: PV t10NO0-pIfv-v0jb-rG3s-39Zm-jTUI-9zlq0t prefers device /dev/rbd6p3 because device was seen first.
  WARNING: PV t10NO0-pIfv-v0jb-rG3s-39Zm-jTUI-9zlq0t prefers device /dev/rbd6p3 because device was seen first.
Use of uninitialized value $size in int at /usr/share/perl5/PVE/Storage/LVMPlugin.pm line 133.
Use of uninitialized value $free in int at /usr/share/perl5/PVE/Storage/LVMPlugin.pm line 133.
Use of uninitialized value $lvcount in int at /usr/share/perl5/PVE/Storage/LVMPlugin.pm line 133.
Use of uninitialized value $size in int at /usr/share/perl5/PVE/Storage/LVMPlugin.pm line 133.
Use of uninitialized value $free in int at /usr/share/perl5/PVE/Storage/LVMPlugin.pm line 133.
Use of uninitialized value $lvcount in int at /usr/share/perl5/PVE/Storage/LVMPlugin.pm line 133.

Bildschirmfoto 2024-01-14 um 21.16.13.png

Hat jemand auch identisches VolumeGroups im Einsatz?

Beste Grüsse

N.Vieira
 
bitte kontrolliere deine LVM global filter - insbesondere dinge die als block device am host sichtbar sind aber VMs gehoeren muessen dort rausgefiltert werden. in deinem fall wuerde ich vermuten, dass zumindest /dev/rbd.* gefiltert gehoert.

pve-manager 8.1.4 sollte das beim update automatisch ergaenzen, falls moeglich (oder sonst einen hinweis ausgeben).
 
Ich habe gerade den selber Fehler, und gleiche Voraussetzung: in meinem Server sind Festplatten dazu gekommen, die vorher in einem anderen Server Dienst taten. Die VGs auf beiden Server hiessen gleich (gleicher vg_name "pve", unterschiedliche vg_uuid):

root@pbs:/# lvs -o+vg_uuid
WARNING: VG name pve is used by VGs jUvYDT-pl09-BZYZ-Ab0G-XSud-R6VU-EplktQ and 7kUecc-7IPx-2VO3-lcfN-oqAn-oCfR-dI4cw8.
Fix duplicate VG names with vgrename uuid, a device filter, or system IDs.
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert VG UUID
data pve twi---tz-- 137.11g jUvYDT-pl09-BZYZ-Ab0G-XSud-R6VU-EplktQ
data pve twi-a-tz-- <49.34g 0.00 1.59 7kUecc-7IPx-2VO3-lcfN-oqAn-oCfR-dI4cw8
root pve -wi------- <67.97g jUvYDT-pl09-BZYZ-Ab0G-XSud-R6VU-EplktQ
root pve -wi-ao---- <37.70g 7kUecc-7IPx-2VO3-lcfN-oqAn-oCfR-dI4cw8
swap pve -wi------- 8.00g jUvYDT-pl09-BZYZ-Ab0G-XSud-R6VU-EplktQ
swap pve -wi-ao---- 8.00g 7kUecc-7IPx-2VO3-lcfN-oqAn-oCfR-dI4cw8

In diesem Fall suche ich nach der LV "root" ohne "a" (active) Flag in der Attr Kolonne, und leite daraus ab, dass die neu dazugekommene vg_uuid jUvYDT-pl09-BZYZ-Ab0G-XSud-R6VU-EplktQ ist. Dann benenne ich die VG folgendermassen um:

vgrename jUvYDT-pl09-BZYZ-Ab0G-XSud-R6VU-EplktQ pve3

Bug report https://bugzilla.proxmox.com/show_bug.cgi?id=5342
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!