Suche Proxmox Profi:)

Dec 3, 2018
30
0
6
33
Germany
squote.de
Guten Tag Zusammen,

leider bekomme ich mein Problem nicht behoben. Ich habe leider immer wieder das Problem, dass sobald ich einen LXC anlege oder auch neustarte, immer wieder das Hostsystem abschmiert. Ich habe manchmal nur ? in Proxmox. Habe test weise auch mal htop offen gelassen. Dabei ist mir aufgefallen, das ein Kern auf 100% steigt. Ich habe die aktuellen Kernel installiert sowie die Aktuelle Proxmox Version. Ebenso habe ich ein ZFS Storage in Verwendung.

Ich bezahle gerne Geld für die Lösung:)

Vielen Dank
Thorsten
 
Guten Tag Zusammen,

leider bekomme ich mein Problem nicht behoben. Ich habe leider immer wieder das Problem, dass sobald ich einen LXC anlege oder auch neustarte, immer wieder das Hostsystem abschmiert. Ich habe manchmal nur ? in Proxmox. Habe test weise auch mal htop offen gelassen. Dabei ist mir aufgefallen, das ein Kern auf 100% steigt. Ich habe die aktuellen Kernel installiert sowie die Aktuelle Proxmox Version. Ebenso habe ich ein ZFS Storage in Verwendung.

Ich bezahle gerne Geld für die Lösung:)

Vielen Dank
Thorsten

Zum Ersten kann ich dir auf jedem Fall zum Support raten. Die Leute sind toll, kompetent und schnell :D
Zu deinem Problem wird dir aber trotzdem im Moment niemand weiter helfen können. Von dem du da sprichst ist ein Kernelbug der schon seit Mitte 2018 existiert. Der kommt mal stärker, dann geht er wieder fast, dann wieder voll da. Wir das Problem. Das Forum ist voll mit dem Thema ein Thread, hab ihn jetzt nicht Kopf, geht aber über viele viele Seiten.

Eine Verbesserung konnten wir auf jeden Fall verzeichnen. Wennst du den CT von innen aus herunter fährst, kakt es zu 99% jedes mal ab. Fährst du den CT aber von PVE herunter und wartest ein wenig gehts normal weiter und du kannst den CT auch wieder starten. Wenn du die Fragezeichen hast oder ein Timeout bekommst ist es schon zu spät. Wenn du dann den Host neu startest, hängt sich dieser dann auch auf. Die einzige Möglichkeit in dem Fall ist auf der CMD von Proxmox nach dem Prozess zu suchen. Z.b.
Code:
ps ax | grep 124
Wobei 124 deine CT-ID ist. Dort den Prozess löschen wo "Monitor" dabei steht. Dann den Host durch starten. Danach gehts wieder. Ohne Neustart gehts auf jeden Fall nicht.
Code:
kill -9 8632
Wobei 8632 die ProzessID beschreibt.

Ich weis das ganze ist ärgerlich. Wir haben vor einiger Zeit angefangen alle Linuxwebgeschichten und kleinere Services von KVM auf LXC um zustellen. Gleich danach gabs den Bug. Als Workaround haben wir um Tausende Euros einen eigene Clusternode dazu gekauft, damit wir nur dort drauf die ganzen CT's fahren und alles andere nicht davon betroffen ist.

Ich hoffe das der Fehle endlich mal gefunden wird und der Bug behoben wird. Da dies sehr Komplex zu sein scheint, mach ich mir ehrlich gesagt so schnell keine Hoffnungen mehr. Naja da muss halt Canonical auch endlich mal was tun. Der PVE Kernel kommt ja von Ubuntu.

:):):)
 
Hey, vielen Dank. Das ist aber echt nervig... Kann man die LXC einfach in KVM wandeln oder sogar Back to OVZ?

Grüße
Thorsten
Nein das geht nicht, aber ich habe in meiner Not in der Zwischenzeit schon gut 20 CT's auf KVM umgebaut. Leider :(:(
 
Dabei ist mir aufgefallen, das ein Kern auf 100% steigt

* Welcher Prozess verbraucht die 100% (`ps auxwf`, `top`, `htop`)
* Steht irgendetwas aufschlussreiches in `dmesg`, `journalctl -r`
* nachdem es bei einigen Fällen schon Abhilfe verschafft hat - ist das BIOS der Systeme halbwegs aktuell?
 
Guten Abend,

HTOP und ps war nichts aber in TOP finde ich das,

25182 root 20 0 0 0 0 R 100.0 0.0 606:12.03 kworker/u16:0 <- 100.00% CPU

in dmesg:

Code:
[298123.410199] audit: type=1400 audit(1556093344.513:660): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-101_</var/lib/lxc>" name="/" pid=31322 comm="(ionclean)" flags="rw, rslave"
[298155.308600] audit: type=1400 audit(1556093376.409:661): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=32671 comm="(ionclean)" flags="rw, rslave"
[298181.099822] audit: type=1400 audit(1556093402.201:662): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-105_</var/lib/lxc>" name="/" pid=1701 comm="(pachectl)" flags="rw, rslave"
[298181.203595] audit: type=1400 audit(1556093402.305:663): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-105_</var/lib/lxc>" name="/" pid=2034 comm="(pachectl)" flags="rw, rslave"
[299072.702730] audit: type=1400 audit(1556094293.801:664): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-105_</var/lib/lxc>" name="/" pid=12549 comm="(pachectl)" flags="rw, rslave"
[299174.101279] audit: type=1400 audit(1556094395.201:665): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-105_</var/lib/lxc>" name="/" pid=17276 comm="(pachectl)" flags="rw, rslave"
[299438.838611] audit: type=1400 audit(1556094659.936:666): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-105_</var/lib/lxc>" name="/" pid=28581 comm="(pachectl)" flags="rw, rslave"
[299774.770813] audit: type=1400 audit(1556094995.867:667): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-105_</var/lib/lxc>" name="/" pid=11640 comm="(pachectl)" flags="rw, rslave"
[299806.754629] audit: type=1400 audit(1556095027.847:668): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-105_</var/lib/lxc>" name="/" pid=12948 comm="(pachectl)" flags="rw, rslave"
[299830.701699] audit: type=1400 audit(1556095051.795:669): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-105_</var/lib/lxc>" name="/" pid=14127 comm="(pachectl)" flags="rw, rslave"
[299919.317133] audit: type=1400 audit(1556095140.410:670): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-999999_</var/lib/lxc>" name="/bin/" pid=17935 comm="(ionclean)" flags="ro, remount, noatime, bind"
[299920.664420] audit: type=1400 audit(1556095141.758:671): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-101_</var/lib/lxc>" name="/" pid=18213 comm="(ionclean)" flags="rw, rslave"
[299955.315341] audit: type=1400 audit(1556095176.410:672): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=19691 comm="(ionclean)" flags="rw, rslave"
[300107.770526] audit: type=1400 audit(1556095328.866:673): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-105_</var/lib/lxc>" name="/" pid=26891 comm="(pachectl)" flags="rw, rslave"
[300199.185510] audit: type=1400 audit(1556095420.281:674): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-105_</var/lib/lxc>" name="/" pid=30953 comm="(pachectl)" flags="rw, rslave"
[301719.337382] audit: type=1400 audit(1556096940.423:675): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-999999_</var/lib/lxc>" name="/bin/" pid=6858 comm="(ionclean)" flags="ro, remount, noatime, bind"
[301726.250852] audit: type=1400 audit(1556096947.339:676): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-101_</var/lib/lxc>" name="/" pid=7385 comm="(ionclean)" flags="rw, rslave"
[301737.014816] audit: type=1400 audit(1556096958.103:677): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=7902 comm="(ionclean)" flags="rw, rslave"
[303519.028176] audit: type=1400 audit(1556098740.108:678): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-999999_</var/lib/lxc>" name="/bin/" pid=24604 comm="(ionclean)" flags="ro, remount, noatime, bind"
[303522.060183] audit: type=1400 audit(1556098743.140:679): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=24889 comm="(ionclean)" flags="rw, rslave"
[303536.738238] audit: type=1400 audit(1556098757.820:680): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-101_</var/lib/lxc>" name="/" pid=25570 comm="(ionclean)" flags="rw, rslave"
[305319.337855] audit: type=1400 audit(1556100540.413:681): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-999999_</var/lib/lxc>" name="/bin/" pid=13103 comm="(ionclean)" flags="ro, remount, noatime, bind"
[305327.890444] audit: type=1400 audit(1556100548.965:682): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-101_</var/lib/lxc>" name="/" pid=13914 comm="(ionclean)" flags="rw, rslave"
[305333.674600] audit: type=1400 audit(1556100554.749:683): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=14135 comm="(ionclean)" flags="rw, rslave"
[307119.353887] audit: type=1400 audit(1556102340.423:684): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-999999_</var/lib/lxc>" name="/bin/" pid=3342 comm="(ionclean)" flags="ro, remount, noatime, bind"
[307130.718194] audit: type=1400 audit(1556102351.787:685): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-101_</var/lib/lxc>" name="/" pid=4175 comm="(ionclean)" flags="rw, rslave"
[307155.341950] audit: type=1400 audit(1556102376.411:686): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=5346 comm="(ionclean)" flags="rw, rslave"
[308577.032823] fwbr103i0: port 2(veth103i0) entered disabled state
[308577.064462] audit: type=1400 audit(1556103798.129:687): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-103_</var/lib/lxc>" name="/" pid=8657 comm="mount" flags="ro, remount, noatime"
[308581.999478] audit: type=1400 audit(1556103803.065:688): apparmor="STATUS" operation="profile_remove" profile="/usr/bin/lxc-start" name="lxc-103_</var/lib/lxc>" pid=9009 comm="apparmor_parser"
[308582.293625] fwbr103i0: port 2(veth103i0) entered disabled state
[308582.293873] device veth103i0 left promiscuous mode
[308582.293875] fwbr103i0: port 2(veth103i0) entered disabled state
[308582.346336] fwbr103i0: port 1(fwln103i0) entered disabled state
[308582.346568] vmbr0: port 5(fwpr103p0) entered disabled state
[308582.346700] device fwln103i0 left promiscuous mode
[308582.346701] fwbr103i0: port 1(fwln103i0) entered disabled state
[308582.371549] device fwpr103p0 left promiscuous mode
[308582.371550] vmbr0: port 5(fwpr103p0) entered disabled state
[308947.685258] audit: type=1400 audit(1556104168.748:689): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=24304 comm="(ionclean)" flags="rw, rslave"
[310755.355885] audit: type=1400 audit(1556105976.412:690): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=3189 comm="(ionclean)" flags="rw, rslave"
[312518.971019] audit: type=1400 audit(1556107740.017:691): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=14949 comm="(ionclean)" flags="rw, rslave"
[314355.370987] audit: type=1400 audit(1556109576.413:692): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=26029 comm="(ionclean)" flags="rw, rslave"
[316137.615100] audit: type=1400 audit(1556111358.649:693): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=4795 comm="(ionclean)" flags="rw, rslave"
[317925.694499] audit: type=1400 audit(1556113146.721:694): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=14190 comm="(ionclean)" flags="rw, rslave"
[319741.408798] audit: type=1400 audit(1556114962.425:695): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=23467 comm="(ionclean)" flags="rw, rslave"
[321555.401621] audit: type=1400 audit(1556116776.413:696): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=32359 comm="(ionclean)" flags="rw, rslave"
[323333.512563] audit: type=1400 audit(1556118554.513:697): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=16508 comm="(ionclean)" flags="rw, rslave"
[325155.415470] audit: type=1400 audit(1556120376.407:698): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=4962 comm="(ionclean)" flags="rw, rslave"
[326931.463986] audit: type=1400 audit(1556122152.451:699): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=14203 comm="(ionclean)" flags="rw, rslave"
[328241.323737] audit: type=1400 audit(1556123462.306:700): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-105_</var/lib/lxc>" name="/" pid=9101 comm="(certbot)" flags="rw, rslave"
[328719.488775] audit: type=1400 audit(1556123940.468:701): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=32466 comm="(ionclean)" flags="rw, rslave"
[330522.903964] audit: type=1400 audit(1556125743.877:702): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=21678 comm="(ionclean)" flags="rw, rslave"
[332355.444211] audit: type=1400 audit(1556127576.414:703): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=14599 comm="(ionclean)" flags="rw, rslave"
[334122.920953] audit: type=1400 audit(1556129343.879:704): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=3227 comm="(ionclean)" flags="rw, rslave"
[335940.779116] audit: type=1400 audit(1556131161.732:705): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=26747 comm="(ionclean)" flags="rw, rslave"
[337725.725965] audit: type=1400 audit(1556132946.672:706): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=15748 comm="(ionclean)" flags="rw, rslave"
[339537.019801] audit: type=1400 audit(1556134757.956:707): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=5329 comm="(ionclean)" flags="rw, rslave"
[341323.079426] audit: type=1400 audit(1556136544.008:708): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=26930 comm="(ionclean)" flags="rw, rslave"
[343135.977648] audit: type=1400 audit(1556138356.900:709): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=17239 comm="(ionclean)" flags="rw, rslave"
[344921.638914] audit: type=1400 audit(1556140142.552:710): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-104_</var/lib/lxc>" name="/" pid=4604 comm="(ionclean)" flags="rw, rslave"


Bios is up to date:)

Grüße
Thorsten
 

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!