[gelöst]HB-RF-ETH: Keine Verbindung mehr zum pve Knoten

Debian/Ubuntu basierte CCU

Moderator: Co-Administratoren

Antworten
supernova1963
Beiträge: 5
Registriert: 15.07.2017, 19:41
System: Alternative CCU (auf Basis OCCU)
Wohnort: Nümbrecht
Hat sich bedankt: 2 Mal

[gelöst]HB-RF-ETH: Keine Verbindung mehr zum pve Knoten

Beitrag von supernova1963 » 26.12.2021, 10:45

Frohe Weihnachten allerseits,

Ich bitte um Unterstützung für meine Proxmox LXC Installation, die seit einigen Tagen Probleme macht.

Vielen Dank,

Gernot

Konfiguration pve (Knoten): siehe Anhang
(Re-)Installation debmatic auf dem Knoten:

Code: Alles auswählen

root@pve:~# apt update
Hit:1 http://download.proxmox.com/debian/ceph-pacific bullseye InRelease
Hit:2 http://security.debian.org/debian-security bullseye-security InRelease                                          
Hit:3 http://download.proxmox.com/debian/pve bullseye InRelease                                                       
Hit:4 http://ftp.de.debian.org/debian bullseye InRelease                                                              
Hit:5 http://ftp.de.debian.org/debian bullseye-updates InRelease                                
Hit:6 https://www.debmatic.de/debmatic stable InRelease               
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.

Code: Alles auswählen

root@pve:~# apt reinstall build-essential bison flex libssl-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  bsdmainutils cpp-8 libasan5 libbison-dev libisl19 libmpx2 libzpool4linux pve-headers-5.13.19-1-pve pve-headers-5.4 pve-headers-5.4.143-1-pve pve-kernel-5.4.140-1-pve
  python-ceph-argparse
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 4 reinstalled, 0 to remove and 0 not upgraded.
Need to get 1,552 kB/3,362 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ftp.de.debian.org/debian bullseye/main amd64 flex amd64 2.6.4-8 [440 kB]
Get:2 http://ftp.de.debian.org/debian bullseye/main amd64 bison amd64 2:3.7.5+dfsg-1 [1,104 kB]
Get:3 http://ftp.de.debian.org/debian bullseye/main amd64 build-essential amd64 12.9 [7,704 B]
Fetched 1,552 kB in 0s (6,868 kB/s)         
(Reading database ... 215632 files and directories currently installed.)
Preparing to unpack .../flex_2.6.4-8_amd64.deb ...
Unpacking flex (2.6.4-8) over (2.6.4-8) ...
Preparing to unpack .../bison_2%3a3.7.5+dfsg-1_amd64.deb ...
Unpacking bison (2:3.7.5+dfsg-1) over (2:3.7.5+dfsg-1) ...
Preparing to unpack .../build-essential_12.9_amd64.deb ...
Unpacking build-essential (12.9) over (12.9) ...
Preparing to unpack .../libssl-dev_1.1.1k-1+deb11u1_amd64.deb ...
Unpacking libssl-dev:amd64 (1.1.1k-1+deb11u1) over (1.1.1k-1+deb11u1) ...
Setting up flex (2.6.4-8) ...
Setting up libssl-dev:amd64 (1.1.1k-1+deb11u1) ...
Setting up bison (2:3.7.5+dfsg-1) ...
Setting up build-essential (12.9) ...
Processing triggers for man-db (2.9.4-2) ...
root@pve:~# 

Code: Alles auswählen

root@pve:~# apt reinstall pve-headers
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  bsdmainutils cpp-8 libasan5 libbison-dev libisl19 libmpx2 libzpool4linux pve-headers-5.13.19-1-pve pve-headers-5.4 pve-headers-5.4.143-1-pve pve-kernel-5.4.140-1-pve
  python-ceph-argparse
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/3,588 B of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 215632 files and directories currently installed.)
Preparing to unpack .../pve-headers_7.1-1_all.deb ...
Unpacking pve-headers (7.1-1) over (7.1-1) ...
Setting up pve-headers (7.1-1) ...
Hier folgt eine Reinstallation mit Fehlern, die ich nicht deuten bzw. beheben kann:

Code: Alles auswählen

root@pve:~# apt reinstall pivccu-modules-dkms debmatic-lxc-host
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  bsdmainutils cpp-8 libasan5 libbison-dev libisl19 libmpx2 libzpool4linux pve-headers-5.13.19-1-pve pve-headers-5.4 pve-headers-5.4.143-1-pve pve-kernel-5.4.140-1-pve
  python-ceph-argparse
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded.
Need to get 43.2 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https://www.debmatic.de/debmatic stable/main amd64 pivccu-modules-dkms all 1.0.70 [41.3 kB]
Get:2 https://www.debmatic.de/debmatic stable/main amd64 debmatic-lxc-host all 1.0.5 [1,872 B]
Fetched 43.2 kB in 0s (198 kB/s)              
Preconfiguring packages ...
(Reading database ... 215632 files and directories currently installed.)
Preparing to unpack .../pivccu-modules-dkms_1.0.70_all.deb ...
Removed /etc/systemd/system/pivccu.service.requires/pivccu-dkms.service.
Removed /etc/systemd/system/multi-user.target.wants/pivccu-dkms.service.
Removed /etc/systemd/system/debmatic.service.wants/pivccu-dkms.service.

------------------------------
Deleting module version: 1.0.70
completely from the DKMS tree.
------------------------------
Done.
Unpacking pivccu-modules-dkms (1.0.70) over (1.0.70) ...
Preparing to unpack .../debmatic-lxc-host_1.0.5_all.deb ...
Unpacking debmatic-lxc-host (1.0.5) over (1.0.5) ...
Setting up pivccu-modules-dkms (1.0.70) ...
Error! The module/version combo: pivccu-1.0.70
is not located in the DKMS tree.

Creating symlink /var/lib/dkms/pivccu/1.0.70/source ->
                 /usr/src/pivccu-1.0.70

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=5.13.19-2-pve ARCH=x86 all...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.13.19-2-pve (x86_64)
Consult /var/lib/dkms/pivccu/1.0.70/build/make.log for more information.
Created symlink /etc/systemd/system/multi-user.target.wants/pivccu-dkms.service → /lib/systemd/system/pivccu-dkms.service.
Created symlink /etc/systemd/system/debmatic.service.wants/pivccu-dkms.service → /lib/systemd/system/pivccu-dkms.service.
Created symlink /etc/systemd/system/pivccu.service.requires/pivccu-dkms.service → /lib/systemd/system/pivccu-dkms.service.
Setting up debmatic-lxc-host (1.0.5) ...
root@pve:~# 
Das Log zeigt:

Code: Alles auswählen

root@pve:~# cat /var/lib/dkms/pivccu/1.0.70/build/make.log
DKMS make.log for pivccu-1.0.70 for kernel 5.13.19-2-pve (x86_64)
Sun 26 Dec 2021 10:21:50 AM CET
make -C /lib/modules/5.13.19-2-pve/build M=/var/lib/dkms/pivccu/1.0.70/build modules
make[1]: Entering directory '/usr/src/linux-headers-5.13.19-2-pve'

  ERROR: Kernel configuration is invalid.
         include/generated/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it.

make[1]: *** [Makefile:753: include/config/auto.conf] Error 1
make[1]: Leaving directory '/usr/src/linux-headers-5.13.19-2-pve'
make: *** [Makefile:30: all] Error 2

Code: Alles auswählen

root@pve:~# apt reinstall hb-rf-eth
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  bsdmainutils cpp-8 libasan5 libbison-dev libisl19 libmpx2 libzpool4linux pve-headers-5.13.19-1-pve pve-headers-5.4 pve-headers-5.4.143-1-pve pve-kernel-5.4.140-1-pve
  python-ceph-argparse
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 1,824 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https://www.debmatic.de/debmatic stable/main amd64 hb-rf-eth all 1.0.2 [1,824 B]
Fetched 1,824 B in 0s (14.0 kB/s)     
Preconfiguring packages ...
(Reading database ... 215632 files and directories currently installed.)
Preparing to unpack .../hb-rf-eth_1.0.2_all.deb ...
Unpacking hb-rf-eth (1.0.2) over (1.0.2) ...
Setting up hb-rf-eth (1.0.2) ...
root@pve:~#
Anschliessend wir die korrekte IP Adresse des HB-RF-ETH Gerätes angezeigt (HB-RF-ETH Status siehe Anhang)

Code: Alles auswählen

root@pve:~# cat /etc/pve/lxc/109.conf
arch: amd64
cores: 2
features: nesting=1
hostname: debmaticServer
memory: 2048
net0: name=eth0,bridge=vmbr0,firewall=1,gw=10.100.1.1,hwaddr=F6:B4:61:A6:2B:44,ip=10.100.1.9/24,ip6=dhcp,tag=100,type=veth
onboot: 1
ostype: ubuntu
rootfs: local-lvm:vm-109-disk-0,size=16G
swap: 512
lxc.apparmor.profile: unconfined
lxc.hook.mount: /usr/share/debmatic/bin/lxc-start-hook.sh
lxc.cgroup2.devices.allow: c *:* rwm
Dateianhänge
Bildschirmfoto 2021-12-26 um 10.40.34.png
Bildschirmfoto 2021-12-26 um 10.40.56.png
Bildschirmfoto 2021-12-26 um 10.40.01.png
Bildschirmfoto 2021-12-26 um 10.01.32.png
Zuletzt geändert von supernova1963 am 27.12.2021, 18:34, insgesamt 2-mal geändert.

Benutzeravatar
eiGelbGeek
Beiträge: 979
Registriert: 24.07.2014, 17:46
Wohnort: Ruhrpottrandgebiet
Hat sich bedankt: 105 Mal
Danksagung erhalten: 19 Mal

Re: HB-RF-ETH: Keine Verbindung mehr zum pve Knoten

Beitrag von eiGelbGeek » 27.12.2021, 11:18

Ich würde es mit einen deinstallieren/installieren probieren.

Code: Alles auswählen

sudo apt purge pivccu-modules-dkms debmatic-lxc-host

sudo reboot

sudo apt install pivccu-modules-dkms debmatic-lxc-host
Nur weil es nicht geht, muss es nicht kaputt sein ^^

Apple for Work, Linux for Network, iOS for Mobility and still Windows for Solitaire

Benutzeravatar
deimos
Beiträge: 5383
Registriert: 20.06.2017, 10:38
System: Alternative CCU (auf Basis OCCU)
Wohnort: Leimersheim
Hat sich bedankt: 121 Mal
Danksagung erhalten: 949 Mal
Kontaktdaten:

Re: HB-RF-ETH: Keine Verbindung mehr zum pve Knoten

Beitrag von deimos » 27.12.2021, 11:24

Hi,

das Problem ist, dass die Proxmox Kernel Header mal wieder defekt paketiert wurden. Das kann nur von Proxmox gefixt werden.

Klare Empfehlung von mir: Keinen Containern, sondern echte VM nutzen.

Viele Grüße
Alex

supernova1963
Beiträge: 5
Registriert: 15.07.2017, 19:41
System: Alternative CCU (auf Basis OCCU)
Wohnort: Nümbrecht
Hat sich bedankt: 2 Mal

Re: HB-RF-ETH: Keine Verbindung mehr zum pve Knoten

Beitrag von supernova1963 » 27.12.2021, 15:06

Vielen Dank eiGelbGeek und Alex,

purge - install hat nicht funktioniert.
Eine neue VM mit gleicher MAC Adresse und IP funktioniert.

Gernot

supernova1963
Beiträge: 5
Registriert: 15.07.2017, 19:41
System: Alternative CCU (auf Basis OCCU)
Wohnort: Nümbrecht
Hat sich bedankt: 2 Mal

Re: HB-RF-ETH: Keine Verbindung mehr zum pve Knoten

Beitrag von supernova1963 » 27.12.2021, 18:34

Für die lxc Variante hat Mira aus dem proxmox Forum folgenden Lösungsansatz hier gefunden:

Code: Alles auswählen

apt reinstall pve-headers-uname -r pve-headers 

Antworten

Zurück zu „debmatic“