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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    [Neuer Adapter] Proxmox VM

    This topic has been deleted. Only users with topic management privileges can see it.
    • arteck
      arteck Developer Most Active @bahnuhr last edited by arteck

      @bahnuhr guckmal jetzt

      ausserdem macht der nur eine Aktualisierung wenn sich was geändert hat...

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User @bahnuhr last edited by A Former User

        @bahnuhr sagte in [Neuer Adapter] Proxmox VM:

        Und ja, der DP wird bei start der Instanz aktualisiert.
        Aber dann nicht mehr.

        Moin,

        max Mem. ist ja eher ein statischer Wert, der sich nicht laufend ändert, wohin gegen Mem. sich zur Laufzeit schon veränder, Du muss mal mit der Einstellung von MaxMem, spielen und dann schauen, ob die Änderung angezeigt wird.

        VG
        Bernd

        1 Reply Last reply Reply Quote 1
        • David G.
          David G. last edited by David G.

          Neulich ist ja ein DP mit einer JSON der die Backups beinhaltet in den Adapter gekommen.

          Ich habe da mal eine kleine Tabelle für meine Visu für gemacht.

          Ist die Unterste Tabelle im ersten Post
          https://forum.iobroker.net/topic/59661/zusammenstellung-meiner-tabellen?_=1701274643122

          f2f1282a-fdf4-424b-ad8d-518164d450ce-image.png

          a26af34e-45dc-439b-9c0f-212dbc408f69-image.png

          be772d21-c508-4de7-9c94-324880100356-image.png

          Edit:

          @Meistertr
          Wie oft wird die Datei mit den Infos über die Backups aktualisiert?
          Durch die Tabelle habe ich jetzt gemerkt, dass es Teilweise Stunden braucht, bis ich aktuelle Daten bekomme.

          1 Reply Last reply Reply Quote 1
          • David G.
            David G. last edited by David G.

            Seit dem ich die oben genannte Tabelle im Einsatz habe ist mir aufgefallen, dass mir der Adapter andauert abschmiert.
            Mal nach ein paar Minuten, mL nach ein paar Stunden.

            Das war der Log vor dem letzten Crash.
            Jemand eine Idee?

            -12-12 23:15:20.511  - debug: proxmox.0 (395719) found states: [["proxmox.0.storage.pve_tank","active","default_num",1],["proxmox.0.storage.pve_tank","avail","size",633887],["proxmox.0.storage.pve_tank","content","text","rootdir,images"],["proxmox.0.storage.pve_tank","total","size",1841664],["proxmox.0.storage.pve_tank","used_lev","level",65.58],["proxmox.0.storage.pve_tank","used","size",1207777],["proxmox.0.storage.pve_tank","shared","default_num",0],["proxmox.0.storage.pve_tank","type","text","zfspool"],["proxmox.0.storage.pve_tank","enabled","default_num",1]]
            2023-12-12 23:15:33.369  - info: host.iobroker stopInstance system.adapter.proxmox.0 (force=false, process=true)
            2023-12-12 23:15:33.373  - info: proxmox.0 (395719) Got terminate signal TERMINATE_YOURSELF
            2023-12-12 23:15:33.373  - debug: proxmox.0 (395719) clearing request timeout
            2023-12-12 23:15:33.374  - info: proxmox.0 (395719) terminating
            2023-12-12 23:15:33.374  - info: proxmox.0 (395719) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
            2023-12-12 23:15:33.417  - info: host.iobroker stopInstance system.adapter.proxmox.0 send kill signal
            2023-12-12 23:15:33.874  - info: proxmox.0 (395719) terminating
            2023-12-12 23:15:33.963  - info: host.iobroker instance system.adapter.proxmox.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
            2023-12-12 23:15:36.519  - info: host.iobroker instance system.adapter.proxmox.0 started with pid 395797
            2023-12-12 23:15:37.898  - info: proxmox.0 (395797) starting. Version 2.2.2 in /opt/iobroker/node_modules/iobroker.proxmox, node: v18.19.0, js-controller: 5.0.12
            2023-12-12 23:15:37.909  - warn: proxmox.0 (395797) Using Proxmox API: https://192.168.99.58:8006/api2/json
            

            Ab hier kommt im Log nichts mehr mit Proxmox.

            Adapter v. 2.2.2
            Proxmox 8.3.1
            Admin: 6.12.0
            js-controller: 5.0.12
            node: 18.19
            O/S: bookworm

            arteck 1 Reply Last reply Reply Quote 0
            • arteck
              arteck Developer Most Active @David G. last edited by

              @david-g poste mal den gesammten LOG..

              David G. Edis77 2 Replies Last reply Reply Quote 0
              • David G.
                David G. @arteck last edited by

                @arteck
                Den gesamten mit allen Adaptern oder nur mit proxmox.0?

                arteck 1 Reply Last reply Reply Quote 0
                • arteck
                  arteck Developer Most Active @David G. last edited by

                  @david-g gesamt

                  David G. 1 Reply Last reply Reply Quote 0
                  • David G.
                    David G. @arteck last edited by

                    @arteck

                    Das Log ist 13 MB groß.
                    Wie darf ich es dir zukommen lassen? Darf hier nicht so viel hochladen.

                    Das PW vom Proxmoxuser habe ich ersetzt. Habe gesehen, dass das im Klartext im Log steht.

                    Hoffe, das machen die anderen Adapter nicht. Hab beim überfliegen nichts gesehen.

                    arteck 1 Reply Last reply Reply Quote 0
                    • arteck
                      arteck Developer Most Active @David G. last edited by

                      @david-g was läuft denn da ..13 mb .. alder.

                      dann machmal ab 23 Uhr

                      David G. 1 Reply Last reply Reply Quote 0
                      • David G.
                        David G. @arteck last edited by

                        @arteck

                        Anbei:
                        iobroker.2023-12-12.log

                        Zur Loggröße:
                        50b97342-0c5e-4cb9-93da-058cb9e8f0f9-image.png

                        Am 12ten lief der Proxmoxadapter.
                        Da schiebe ich das eindeutig mal auf diesen.......
                        Stand aber glaube auch auf debug, da ich mal sehen wollte ich ich was finde warum er abstürzt.
                        Grad aber nciht sicher, ob das am 12ten auch noch so war.

                        arteck 1 Reply Last reply Reply Quote 0
                        • arteck
                          arteck Developer Most Active @David G. last edited by

                          @david-g der startet neu.. und läuft danach.. nur warum der neu startet ??
                          stell den mal auf debug,, dann ab der Zeile /das ist der start)

                          Using Proxmox API: https://192.168.99.58:8006/api2/json
                          

                          bis nach abbruch posten

                          ? David G. 2 Replies Last reply Reply Quote 0
                          • ?
                            A Former User @arteck last edited by

                            @arteck sagte in [Neuer Adapter] Proxmox VM:

                            stell den mal auf debug,,

                            Moin,

                            proxmox.0 steht doch schon auf Debug

                            2023-12-12 23:12:03.174  - info: proxmox.0 (365461) Got terminate signal TERMINATE_YOURSELF
                            2023-12-12 23:12:03.174  - info: proxmox.0 (365461) terminating
                            2023-12-12 23:12:03.174  - info: proxmox.0 (365461) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                            2023-12-12 23:12:03.303  - info: host.iobroker stopInstance system.adapter.proxmox.0 send kill signal
                            2023-12-12 23:12:03.676  - info: proxmox.0 (365461) terminating
                            2023-12-12 23:12:03.811  - info: host.iobroker instance system.adapter.proxmox.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                            2023-12-12 23:12:06.413  - info: host.iobroker instance system.adapter.proxmox.0 started with pid 395336
                            2023-12-12 23:12:06.842  - debug: proxmox.0 (395336) Redis Objects: Use Redis connection: 127.0.0.1:9001
                            2023-12-12 23:12:06.875  - debug: proxmox.0 (395336) Objects client ready ... initialize now
                            2023-12-12 23:12:06.919  - debug: proxmox.0 (395336) Objects create System PubSub Client
                            2023-12-12 23:12:06.920  - debug: proxmox.0 (395336) Objects create User PubSub Client
                            2023-12-12 23:12:06.981  - debug: proxmox.0 (395336) Objects client initialize lua scripts
                            2023-12-12 23:12:06.991  - debug: proxmox.0 (395336) Objects connected to redis: 127.0.0.1:9001
                            2023-12-12 23:12:07.024  - debug: proxmox.0 (395336) Redis States: Use Redis connection: 127.0.0.1:9000
                            2023-12-12 23:12:07.091  - debug: proxmox.0 (395336) States create System PubSub Client
                            2023-12-12 23:12:07.092  - debug: proxmox.0 (395336) States create User PubSub Client
                            2023-12-12 23:12:07.172  - debug: proxmox.0 (395336) States connected to redis: 127.0.0.1:9000
                            2023-12-12 23:12:07.548  - info: proxmox.0 (395336) starting. Version 2.2.2 in /opt/iobroker/node_modules/iobroker.proxmox, node: v18.19.0, js-controller: 5.0.12
                            2023-12-12 23:12:07.562  - warn: proxmox.0 (395336) Using Proxmox API: https://192.168.99.58:8006/api2/json
                            2023-12-12 23:12:07.688  - debug: proxmox.0 (395336) received 200 response from /access/ticket?username=root@pam&password=%23********** with content: {"data":{"username":"root@pam","cap":{"nodes":{"Sys.Syslog":1,"Sys.Audit":1,"Permissions.Modify":1,"Sys.PowerMgmt":1,"Sys.Modify":1,"Sys.Console":1,"Sys.Incoming":1},"mapping":{"Mapping.Audit":1,"Permissions.Modify":1,"Mapping.Modify":1,"Mapping.Use":1},"access":{"User.Modify":1,"Permissions.Modify":1,"Group.Allocate":1},"sdn":{"Permissions.Modify":1,"SDN.Allocate":1,"SDN.Audit":1,"SDN.Use":1},"vms":{"VM.Config.Cloudinit":1,"Permissions.Modify":1,"VM.Snapshot.Rollback":1,"VM.PowerMgmt":1,"VM.Config.CPU":1,"VM.Backup":1,"VM.Config.Network":1,"VM.Snapshot":1,"VM.Config.Disk":1,"VM.Migrate":1,"VM.Clone":1,"VM.Allocate":1,"VM.Config.HWType":1,"VM.Config.CDROM":1,"VM.Config.Options":1,"VM.Console":1,"VM.Audit":1,"VM.Config.Memory":1,"VM.Monitor":1},"storage":{"Datastore.AllocateTemplate":1,"Datastore.AllocateSpace":1,"Permissions.Modify":1,"Datastore.Allocate":1,"Datastore.Audit":1},"dc":{"Sys.Audit":1,"SDN.Allocate":1,"SDN.Audit":1,"Sys.Modify":1,"SDN.Use":1}},"CSRFPreventionToken":"6578DAB7:JMkHnQHWRxXqCzySEBJxywj2sHYusuv6MkJ24yFkFVM","ticket":"PVE:root@pam:6578DAB7::Y/sZiRygHY6y5zMUWGFTFNBXL6krD62rJ93E3q7Gh9LP1Ww0usgQelwNcS2//vMf5kaVn5sMDvZyXAUFUyoxSionNJo1zg+Ry7KkuHC0kBN2toxxUZjTHaf/3emgrkasCyS1qR12lVB/+6Gc6Vq+eq+Gg+iqV1cdv/Uuv7k6rbg0D4c3Kdf0aCSAAZACRxf0uz3/LdZL2v6gEw7gTaPecjYqexKplEJDNYLRNLtw1D5P/Qc80SYJA2X8Kpmm1qbRARgZg2PrrpS+0yOYfe0luY+X7Dho2c/L8Ukn5jskVoyiyAwhyPu1ZKT28sTPvcpIPdJ/2kNLEy6Nb+uR0XvUAA=="}}
                            2023-12-12 23:12:07.691  - debug: proxmox.0 (395336) dataticket: {"data":{"username":"root@pam","cap":{"nodes":{"Sys.Syslog":1,"Sys.Audit":1,"Permissions.Modify":1,"Sys.PowerMgmt":1,"Sys.Modify":1,"Sys.Console":1,"Sys.Incoming":1},"mapping":{"Mapping.Audit":1,"Permissions.Modify":1,"Mapping.Modify":1,"Mapping.Use":1},"access":{"User.Modify":1,"Permissions.Modify":1,"Group.Allocate":1},"sdn":{"Permissions.Modify":1,"SDN.Allocate":1,"SDN.Audit":1,"SDN.Use":1},"vms":{"VM.Config.Cloudinit":1,"Permissions.Modify":1,"VM.Snapshot.Rollback":1,"VM.PowerMgmt":1,"VM.Config.CPU":1,"VM.Backup":1,"VM.Config.Network":1,"VM.Snapshot":1,"VM.Config.Disk":1,"VM.Migrate":1,"VM.Clone":1,"VM.Allocate":1,"VM.Config.HWType":1,"VM.Config.CDROM":1,"VM.Config.Options":1,"VM.Console":1,"VM.Audit":1,"VM.Config.Memory":1,"VM.Monitor":1},"storage":{"Datastore.AllocateTemplate":1,"Datastore.AllocateSpace":1,"Permissions.Modify":1,"Datastore.Allocate":1,"Datastore.Audit":1},"dc":{"Sys.Audit":1,"SDN.Allocate":1,"SDN.Audit":1,"Sys.Modify":1,"SDN.Use":1}},"CSRFPreventionToken":"6578DAB7:JMkHnQHWRxXqCzySEBJxywj2sHYusuv6MkJ24yFkFVM","ticket":"PVE:root@pam:6578DAB7::Y/sZiRygHY6y5zMUWGFTFNBXL6krD62rJ93E3q7Gh9LP1Ww0usgQelwNcS2//vMf5kaVn5sMDvZyXAUFUyoxSionNJo1zg+Ry7KkuHC0kBN2toxxUZjTHaf/3emgrkasCyS1qR12lVB/+6Gc6Vq+eq+Gg+iqV1cdv/Uuv7k6rbg0D4c3Kdf0aCSAAZACRxf0uz3/LdZL2v6gEw7gTaPecjYqexKplEJDNYLRNLtw1D5P/Qc80SYJA2X8Kpmm1qbRARgZg2PrrpS+0yOYfe0luY+X7Dho2c/L8Ukn5jskVoyiyAwhyPu1ZKT28sTPvcpIPdJ/2kNLEy6Nb+uR0XvUAA=="}}
                            2023-12-12 23:12:07.691  - debug: proxmox.0 (395336) Updating ticket to "PVE:root@pam:6578DAB7::Y/sZiRygHY6y5zMUWGFTFNBXL6krD62rJ93E3q7Gh9LP1Ww0usgQelwNcS2//vMf5kaVn5sMDvZyXAUFUyoxSionNJo1zg+Ry7KkuHC0kBN2toxxUZjTHaf/3emgrkasCyS1qR12lVB/+6Gc6Vq+eq+Gg+iqV1cdv/Uuv7k6rbg0D4c3Kdf0aCSAAZACRxf0uz3/LdZL2v6gEw7gTaPecjYqexKplEJDNYLRNLtw1D5P/Qc
                            

                            VG
                            Bernd

                            1 Reply Last reply Reply Quote 0
                            • David G.
                              David G. @arteck last edited by

                              @arteck sagte in [Neuer Adapter] Proxmox VM:

                              @david-g der startet neu.. und läuft danach.. nur warum der neu startet ??
                              stell den mal auf debug,, dann ab der Zeile /das ist der start)

                              Using Proxmox API: https://192.168.99.58:8006/api2/json
                              

                              bis nach abbruch posten

                              Die Zeile kommt ja im Log mehrmals vor. Sind also ein Paar Neustarts drinnen.
                              Debug hatte ich scheinbar noch eingestellt, wie @dp20eic schon gesehen hat.
                              Der Admin gibt mir keine Fehlermeldungen über einen regelmäßigen Absturz vom Adapter.
                              Er ist im Moment auch grün und lauft trotzdem nicht.

                              arteck 1 Reply Last reply Reply Quote 0
                              • arteck
                                arteck Developer Most Active @David G. last edited by

                                @david-g sagte in [Neuer Adapter] Proxmox VM:

                                Er ist im Moment auch grün und lauft trotzdem nicht.

                                und das erkennst du wodran ??

                                @dp20eic ja in dem schnippsel.. aber nicht in dem gepostetem langen LOG

                                David G. 1 Reply Last reply Reply Quote 0
                                • David G.
                                  David G. @arteck last edited by

                                  @arteck sagte in [Neuer Adapter] Proxmox VM:

                                  Er ist im Moment auch grün und lauft trotzdem nicht.

                                  Weil seit dem 12ten abends kein einziger DP aktualisiert wurde.

                                  @arteck sagte in [Neuer Adapter] Proxmox VM:

                                  aber nicht in dem gepostetem langen LOG

                                  Ich stelle nochmal auf Debug und starte den Adapter neu.
                                  Hatte ihn extra mal so gelassen.

                                  arteck 1 Reply Last reply Reply Quote 0
                                  • arteck
                                    arteck Developer Most Active @David G. last edited by arteck

                                    @david-g welche genau .. die DP werden nur aktualisiert wenn sich was geändert hat..also genau bitte
                                    und diw ist der anfrage intervall eingestellt ?

                                    David G. 1 Reply Last reply Reply Quote 0
                                    • David G.
                                      David G. @arteck last edited by David G.

                                      @arteck

                                      Anfangs hatte ich den Intervall auf 30sek.
                                      Hab es dann auf 5min abgeändert um zu schauen ob der Intervall ggf zu schnell ist.

                                      Kontrollieren tu ich es immer anhand der CPU Auslastung der iobroker VM, da sollte sich ja was tun...
                                      Außerdem sehe ich es an der Tabelle meiner Backups. Sie Triggert auf Änderung des DPs.
                                      Stand bis eben noch am 12.12., jetzt nach dem Neustart ist der 14.12 aktuell.

                                      Hab mir grad mal ein kleines Skript geschrieben, damit ich sehe wann der Adapter aussteigt.
                                      Abfrageintervall steht auf 2min.

                                      fbfba420-891b-4cf9-a606-70550d8af543-image.png

                                      lobomau 1 Reply Last reply Reply Quote 0
                                      • lobomau
                                        lobomau @David G. last edited by

                                        @david-g ich habe das Problem auch schon paar Tage. Habe auch paar Downgrades des Proxmox Adapters ausprobiert. Ich baue erstmal einen Neustartzeitplan ein. Einmal täglich.

                                        Grad fiel mir auf, dass der Adapter fast 2 Tage nix geliefert hatte. Nach einem Adapterneustart läuft es dann wieder:

                                        a3fe6dc8-ea32-488b-807e-cebfa639ae6e-image.png

                                        David G. 1 Reply Last reply Reply Quote 0
                                        • David G.
                                          David G. @lobomau last edited by

                                          @lobomau
                                          Dann bin ich ja nicht alleine.

                                          Negalein 1 Reply Last reply Reply Quote 0
                                          • Negalein
                                            Negalein Global Moderator @David G. last edited by

                                            @david-g sagte in [Neuer Adapter] Proxmox VM:

                                            Dann bin ich ja nicht alleine.

                                            Nein, bei mir auch.
                                            Ist mir erst jetzt aufgefallen.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            802
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            proxmox
                                            75
                                            486
                                            90054
                                            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