XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Netbox plugin - not syncing if one of pools disabled

    Scheduled Pinned Locked Moved Advanced features
    plugins
    6 Posts 3 Posters 554 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Tristis OrisT Offline
      Tristis Oris Top contributor
      last edited by Tristis Oris

      that was last time when plugin sync any data.
      8c8591e3-338d-438f-86db-1498513a635e-изображение.png
      About this time we done big migration to another pool, then old pool was disabled for a some time.

      Today we notice that, i removed unavailable pool from plugin settings, then it synced once few minor changes - only removed VM, but no any new vms, renamed (XO vm itself), etc.
      2bd84f43-425a-4aba-a6bc-0f4cf5ef20f5-изображение.png

      Also test and manual pool syncing works.
      457e2c89-73aa-478d-ac86-44c1f35dbcad-изображение.png

      Netbox API also was updated about this time, but it only about cables, XO not using that.
      https://github.com/netbox-community/netbox/releases/tag/v3.3.0

      netbox v3.3.3
      XO commit ad02700

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Hi,

        I'm not sure to understand, what's the issue here? 🤔

        Tristis OrisT 1 Reply Last reply Reply Quote 0
        • Tristis OrisT Offline
          Tristis Oris Top contributor @olivierlambert
          last edited by Tristis Oris

          @olivierlambert 1. plugin not syncing any data if at settings any disabled pool.
          2. now it not sync most of changes. But i don't think it consequence of the first problem.

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            Adding @pdonias so he can take a look when he can 🙂

            1 Reply Last reply Reply Quote 0
            • Tristis OrisT Offline
              Tristis Oris Top contributor
              last edited by

              got error log at manual sync. Looks like only this pool break the whole syncing.
              https://pastebin.com/peBbN8HP

              pdoniasP 1 Reply Last reply Reply Quote 0
              • pdoniasP Offline
                pdonias Vates 🪐 XO Team @Tristis Oris
                last edited by

                @Tristis-Oris This should be fixed, now. If a pool is disabled or can't be found, you'll get an error message in the logs and the pool will simply be ignored. See https://xen-orchestra.com/blog/xen-orchestra-5-85/#🗃️-netbox.

                1 Reply Last reply Reply Quote 2
                • olivierlambertO olivierlambert moved this topic from Xen Orchestra on
                • First post
                  Last post