Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Entwicklung
    4. [Neuer Adapter] Proxmox VM

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [Neuer Adapter] Proxmox VM

    This topic has been deleted. Only users with topic management privileges can see it.
    • Meistertr
      Meistertr Developer last edited by

      Habe gerade die 0.5.0 hochgeladen, was gibs neues:

      • LXC und VM Start/Stop and Schutdown
      • Node Start Stop schutdown (konnte ich nicht Testen da meine Installation an dem Node hängt)
      • aktuelle Speicherauslastung der einzelnen Vm's und Container
      I 1 Reply Last reply Reply Quote 2
      • I
        iobroker_Alex @Meistertr last edited by

        @Meistertr ich bin begeistert. Version 0.5 läuft gut. Vielen Dank. Könntest du wie bei "mem_lev" auch für die Disk ein "disk_lev" aus dem Adapter heraus erstellen? Darauf wäre es in einem Skript einfacher zu triggern. Sonst müsste ich je VM selbst rechnen (geht auch, wäre aber noch einfacher 😉 im Adapter direkt )

        Danke!

        Meistertr 1 Reply Last reply Reply Quote 0
        • Meistertr
          Meistertr Developer @iobroker_Alex last edited by

          @iobroker_Alex in der 0.5.1 ist es enthalten

          1 Reply Last reply Reply Quote 3
          • S
            steimi last edited by

            bei mir leider mit der 0.5.0/1 bei dem VM kein disk (0 MB)/ disk_lev (0 %) angezeigt.


            2019-09-18 15:11:50.541 - debug: proxmox.0 808476672
            2019-09-18 15:11:50.541 - debug: proxmox.0 search statecpus: 2
            2019-09-18 15:11:50.541 - debug: proxmox.0 search stateha: [object Object]
            2019-09-18 15:11:50.541 - debug: proxmox.0 search statename: debmatic-01
            2019-09-18 15:11:50.541 - debug: proxmox.0 search stateballoon: 2147483648
            2019-09-18 15:11:50.541 - debug: proxmox.0 search statenics: [object Object]
            2019-09-18 15:11:50.541 - debug: proxmox.0 search statefreemem: 1283403776
            2019-09-18 15:11:50.541 - debug: proxmox.0 search statecpu: 0.0787506629615787
            2019-09-18 15:11:50.541 - debug: proxmox.0 search statemaxmem: 2147483648
            2019-09-18 15:11:50.541 - debug: proxmox.0 search stateuptime: 408689
            2019-09-18 15:11:50.541 - debug: proxmox.0 search stateballoon_min: 1073741824
            2019-09-18 15:11:50.541 - debug: proxmox.0 search statemem: 808476672
            2019-09-18 15:11:50.541 - debug: proxmox.0 808476672
            2019-09-18 15:11:50.541 - debug: proxmox.0 search statestatus: running
            2019-09-18 15:11:50.541 - debug: proxmox.0 search stateshares: 1000
            2019-09-18 15:11:50.541 - debug: proxmox.0 search statenetout: 508278798
            2019-09-18 15:11:50.541 - debug: proxmox.0 search statediskread: 368540312
            2019-09-18 15:11:50.541 - debug: proxmox.0 search statemaxdisk: 8589934592
            2019-09-18 15:11:50.541 - debug: proxmox.0 search stateblockstat: [object Object]
            2019-09-18 15:11:50.541 - debug: proxmox.0 search statediskwrite: 1464152064
            2019-09-18 15:11:50.541 - debug: proxmox.0 search statetemplate:
            2019-09-18 15:11:50.541 - debug: proxmox.0 search stateagent: 1
            2019-09-18 15:11:50.541 - debug: proxmox.0 search stateqmpstatus: running
            2019-09-18 15:11:50.541 - debug: proxmox.0 search statenetin: 627940941
            2019-09-18 15:11:50.541 - debug: proxmox.0 search stateballooninfo: [object Object]
            2019-09-18 15:11:50.541 - debug: proxmox.0 search statepid: 2562
            2019-09-18 15:11:50.541 - debug: proxmox.0 found states:_[["proxmox.0.qemu_debmatic-01","disk_lev","level",0],["proxmox.0.qemu_debmatic-01","disk","size",0],["proxmox.0.qemu_debmatic-01","cpus","default_num",2],["proxmox.0.qemu_debmatic-01","cpu","level",7.87],["proxmox.0.qemu_debmatic-01","maxmem","size",2048],["proxmox.0.qemu_debmatic-01","uptime","time",408689],["proxmox.0.qemu_debmatic-01","balloon_min","size",1024],["proxmox.0.qemu_debmatic-01","mem_lev","level",37.65],["proxmox.0.qemu_debmatic-01","mem","size",771],["proxmox.0.qemu_debmatic-01","status","text","running"],["proxmox.0.qemu_debmatic-01","netout","sizeb",508278798],["proxmox.0.qemu_debmatic-01","maxdisk","size",8192],["proxmox.0.qemu_debmatic-01","diskwrite","size",1396],["proxmox.0.qemu_debmatic-01","netin","sizeb",627940941],["proxmox.0.qemu_debmatic-01","pid","default_num","2562"]]
            2019-09-18 15:11:50.560 - debug: proxmox.0 search statedisk: 1122377728

            I 1 Reply Last reply Reply Quote 0
            • coyote
              coyote Most Active last edited by

              Ist bei mir auch so, aber bin mir nicht sicher ob das überhaupt funktioniert, in Proxmox wird unter den VMs ja auch nichts angezeigt

              1 Reply Last reply Reply Quote 0
              • Z
                zahnheinrich @crunchip last edited by zahnheinrich

                @crunchip
                Ich würde Aprox gerne nutzen, komme aber über den Error "Realm invalid" beim Aufruf der Proxmox Instanz nicht drüber.
                Hast du einen Tip für mich?

                Edit:
                Konnte es gerade selbst lösen, musste nur einen entsprechenden User anlegen.

                1 Reply Last reply Reply Quote 0
                • I
                  iobroker_Alex @steimi last edited by iobroker_Alex

                  @steimi @coyote ist bei meiner einzigen VM auch so, aber überraschenderweise auch in Proxmox selbst wird hier nichts angezeigt...

                  Bei den LXC-Containern hingegen läuft es wie gewünscht. Danke @Meistertr !

                  1 Reply Last reply Reply Quote 0
                  • Meistertr
                    Meistertr Developer last edited by

                    in der Tat wird es bei vm nicht angezeigt. habe gerade nochmal die api durchforstet, hier wird auch nirgends die aktuelle Speicherbelegung ausgegeben

                    1 Reply Last reply Reply Quote 0
                    • lobomau
                      lobomau last edited by

                      Gibt es eine Idee warum der Adapter paar mal am Tag bei mir abschmiert? Startet immer automatisch und man merkt es nur anhand des logs:

                      host.ioBrokerCT	2019-10-04 15:40:06.208	info	Restart adapter system.adapter.proxmox.0 because enabled
                      host.ioBrokerCT	2019-10-04 15:40:06.208	info	instance system.adapter.proxmox.0 terminated with code 0 (NO_ERROR)
                      host.ioBrokerCT	2019-10-04 15:40:06.208	error	Caught by controller[0]: at IncomingMessage.emit (events.js:203:15)
                      host.ioBrokerCT	2019-10-04 15:40:06.208	error	Caught by controller[0]: at Object.onceWrapper (events.js:286:20)
                      host.ioBrokerCT	2019-10-04 15:40:06.208	error	Caught by controller[0]: at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/iobroker.proxmox/node_modules/request/request.js:1083:12)
                      host.ioBrokerCT	2019-10-04 15:40:06.207	error	Caught by controller[0]: at Request.emit (events.js:198:13)
                      host.ioBrokerCT	2019-10-04 15:40:06.207	error	Caught by controller[0]: at Request.<anonymous> (/opt/iobroker/node_modules/iobroker.proxmox/node_modules/request/request.js:1161:10)
                      host.ioBrokerCT	2019-10-04 15:40:06.207	error	Caught by controller[0]: at Request.emit (events.js:198:13)
                      host.ioBrokerCT	2019-10-04 15:40:06.207	error	Caught by controller[0]: at Request.self.callback (/opt/iobroker/node_modules/iobroker.proxmox/node_modules/request/request.js:185:22)
                      host.ioBrokerCT	2019-10-04 15:40:06.207	error	Caught by controller[0]: at Request.request [as _callback] (/opt/iobroker/node_modules/iobroker.proxmox/lib/proxmox.js:166:21)
                      host.ioBrokerCT	2019-10-04 15:40:06.207	error	Caught by controller[0]: at _get.then.data (/opt/iobroker/node_modules/iobroker.proxmox/lib/proxmox.js:48:9)
                      host.ioBrokerCT	2019-10-04 15:40:06.207	error	Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.proxmox/main.js:415:33
                      host.ioBrokerCT	2019-10-04 15:40:06.206	error	Caught by controller[0]: TypeError: Cannot read property 'name' of undefined
                      proxmox.0	2019-10-04 15:40:06.115	info	(31411) cleaned everything up...
                      proxmox.0	2019-10-04 15:40:06.114	error	(31411) TypeError: Cannot read property 'name' of undefined at /opt/iobroker/node_modules/iobroker.proxmox/main.js:415:33 at _get.then.data (/opt/iobroker/node_modules/iobroker.proxmox/lib/pro
                      proxmox.0	2019-10-04 15:40:06.112	error	(31411) uncaught exception: Cannot read property 'name' of undefined
                      
                      crunchip 1 Reply Last reply Reply Quote 0
                      • Dolomiti
                        Dolomiti last edited by

                        @lobomau
                        Gleiches Problem habe ich auch. Habe es mit verschiedenen ioBroker-Versionen probiert.

                        1. Debian 9 mit Node 8, js-controller 1.5.14
                        2. Debian 9 mit Node 10 js-controller 1.5.14
                        3. Debian 10 mit Node 10 js-controller 2.0.xx
                          Immer der gleiche Fehler. Passiert bei mir aber ca. 10 mal am Tag. Hab den Adapter auch schon mal neu installiert, hat aber nichts gebracht.
                        1 Reply Last reply Reply Quote 1
                        • crunchip
                          crunchip Forum Testing Most Active @lobomau last edited by

                          @lobomau bei mir auch, aber nur ab und an mal, erstmals aufgetreten sind diese Fehler nach dem update auf version 0.5

                          2019-10-18 16:45:33.999 - error: host.IoBroker Caught by controller[0]: TypeError: Cannot read property 'name' of undefined
                          2019-10-18 16:45:34.001 - error: host.IoBroker Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.proxmox/main.js:415:33
                          2019-10-18 16:45:34.007 - error: host.IoBroker Caught by controller[0]: at _get.then.data (/opt/iobroker/node_modules/iobroker.proxmox/lib/proxmox.js:48:9)
                          2019-10-18 16:45:34.007 - error: host.IoBroker Caught by controller[0]: at Request.request [as _callback] (/opt/iobroker/node_modules/iobroker.proxmox/lib/proxmox.js:166:21)
                          2019-10-18 16:45:34.008 - error: host.IoBroker Caught by controller[0]: at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22)
                          2019-10-18 16:45:34.008 - error: host.IoBroker Caught by controller[0]: at Request.emit (events.js:198:13)
                          2019-10-18 16:45:34.008 - error: host.IoBroker Caught by controller[0]: at Request. (/opt/iobroker/node_modules/request/request.js:1161:10)
                          2019-10-18 16:45:34.008 - error: host.IoBroker Caught by controller[0]: at Request.emit (events.js:198:13)
                          2019-10-18 16:45:34.009 - error: host.IoBroker Caught by controller[0]: at IncomingMessage. (/opt/iobroker/node_modules/request/request.js:1083:12)
                          2019-10-18 16:45:34.009 - error: host.IoBroker Caught by controller[0]: at Object.onceWrapper (events.js:286:20)
                          2019-10-18 16:45:34.009 - error: host.IoBroker Caught by controller[0]: at IncomingMessage.emit (events.js:203:15)
                          
                          lobomau 1 Reply Last reply Reply Quote 1
                          • lobomau
                            lobomau @crunchip last edited by

                            @crunchip wird wohl am Adapter selbst liegen. Bin bei iobroker up to date.

                            crunchip 1 Reply Last reply Reply Quote 0
                            • crunchip
                              crunchip Forum Testing Most Active @lobomau last edited by crunchip

                              @lobomau hab jetzt mal ein issue erstellt, werd auch mal zurück auf v0.3.2 gehen und beobachten, ob da auch Fehler auftauchen, sind ja einige Updates die letzten Tage gewesen, seitens admin, Js-controller....

                              1 Reply Last reply Reply Quote 1
                              • crunchip
                                crunchip Forum Testing Most Active last edited by

                                @Meistertr
                                @lobomau
                                Ich bin ja nun zurück auf v0.3.2 um zu sehen, ob der Fehler wieder auftaucht. Aber auch hier nun der selbe Fehler.
                                logauszug


                                2019-10-19 11:41:44.864 - error: proxmox.0 (14714) uncaught exception: Cannot read property 'name' of undefined
                                2019-10-19 11:41:44.867 - error: proxmox.0 (14714) TypeError: Cannot read property 'name' of undefined
                                at /opt/iobroker/node_modules/iobroker.proxmox/main.js:296:33
                                at _get.then.data (/opt/iobroker/node_modules/iobroker.proxmox/lib/proxmox.js:48:9)
                                at Request.request [as _callback] (/opt/iobroker/node_modules/iobroker.proxmox/lib/proxmox.js:117:21)
                                at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22)
                                at Request.emit (events.js:198:13)
                                at Request. (/opt/iobroker/node_modules/request/request.js:1161:10)
                                at Request.emit (events.js:198:13)
                                at IncomingMessage. (/opt/iobroker/node_modules/request/request.js:1083:12)
                                at Object.onceWrapper (events.js:286:20)
                                at IncomingMessage.emit (events.js:203:15)
                                2019-10-19 11:41:44.868 - info: proxmox.0 (14714) cleaned everything up...
                                2019-10-19 11:41:44.897 - info: proxmox.0 (14714) terminating
                                2019-10-19 11:41:44.934 - error: host.IoBroker Caught by controller[0]: TypeError: Cannot read property 'name' of undefined
                                2019-10-19 11:41:44.935 - error: host.IoBroker Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.proxmox/main.js:296:33
                                2019-10-19 11:41:44.935 - error: host.IoBroker Caught by controller[0]: at _get.then.data (/opt/iobroker/node_modules/iobroker.proxmox/lib/proxmox.js:48:9)
                                2019-10-19 11:41:44.935 - error: host.IoBroker Caught by controller[0]: at Request.request [as _callback] (/opt/iobroker/node_modules/iobroker.proxmox/lib/proxmox.js:117:21)
                                2019-10-19 11:41:44.935 - error: host.IoBroker Caught by controller[0]: at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22)
                                2019-10-19 11:41:44.935 - error: host.IoBroker Caught by controller[0]: at Request.emit (events.js:198:13)
                                2019-10-19 11:41:44.936 - error: host.IoBroker Caught by controller[0]: at Request. (/opt/iobroker/node_modules/request/request.js:1161:10)
                                2019-10-19 11:41:44.936 - error: host.IoBroker Caught by controller[0]: at Request.emit (events.js:198:13)
                                2019-10-19 11:41:44.936 - error: host.IoBroker Caught by controller[0]: at IncomingMessage. (/opt/iobroker/node_modules/request/request.js:1083:12)
                                2019-10-19 11:41:44.936 - error: host.IoBroker Caught by controller[0]: at Object.onceWrapper (events.js:286:20)
                                2019-10-19 11:41:44.936 - error: host.IoBroker Caught by controller[0]: at IncomingMessage.emit (events.js:203:15)
                                2019-10-19 11:41:44.936 - info: host.IoBroker instance system.adapter.proxmox.0 terminated with code 0 (NO_ERROR)
                                2019-10-19 11:41:44.936 - info: host.IoBroker Restart adapter system.adapter.proxmox.0 because enabled
                                2019-10-19 11:42:00.029 - info: host.IoBroker instance system.adapter.dwd.0 started with pid 15023
                                2019-10-19 11:42:04.178 - info: host.IoBroker instance system.adapter.dwd.0 terminated with code 0 (NO_ERROR)
                                2019-10-19 11:42:14.963 - info: host.IoBroker instance system.adapter.proxmox.0 started with pid 15038
                                2019-10-19 11:42:17.007 - info: proxmox.0 (15038) starting. Version 0.3.2 in /opt/iobroker/node_modules/iobroker.proxmox, node: v10.16.0

                                1 Reply Last reply Reply Quote 0
                                • Dr. Bakterius
                                  Dr. Bakterius Most Active last edited by

                                  Ich habe mit der v0.5.1 und js-controller v2.0.34 keine Probleme (keine Einträge im Log).

                                  1 Reply Last reply Reply Quote 0
                                  • K
                                    Kueppert last edited by

                                    Ich bin noch auf der 2.0.29 vom JS-Controler, roxmox-Adapter auf 0.5.1. Hab auch keinerlei Probleme seit den ganzen Updates von vor paar Tagen...

                                    1 Reply Last reply Reply Quote 0
                                    • crunchip
                                      crunchip Forum Testing Most Active last edited by

                                      vllt hängt es ja auch irgendwie mit der Proxmox-Installation selbst, bzw der Hardware zusammen, wäre das vielleicht eine Möglichkeit/Grund?

                                      lobomau 1 Reply Last reply Reply Quote 0
                                      • lobomau
                                        lobomau @crunchip last edited by

                                        @crunchip bei mir läuft proxmox 5.0.21-1 pve als Haupt-OS auf einem nuc-ähnlichen Server.

                                        crunchip 1 Reply Last reply Reply Quote 0
                                        • crunchip
                                          crunchip Forum Testing Most Active @lobomau last edited by crunchip

                                          @lobomau auf nen Zotac CI 327, habe das Update aber erst die Tage gemacht, Fehler seitens Proxmox Adapter bestanden aber schon davor
                                          a51cd914-d17f-4b2c-87fd-75e8f2a08472-image.png 76d7f9e3-86e3-4035-ba3f-c68b6eb220ba-image.png

                                          lobomau 1 Reply Last reply Reply Quote 0
                                          • lobomau
                                            lobomau @crunchip last edited by

                                            @crunchip ok. Dann haben wir vergleichbare Systeme mit dem selben Problem.

                                            crunchip 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            841
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            proxmox
                                            74
                                            484
                                            84218
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo