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

    Netbox Debugging

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    9 Posts 3 Posters 1.1k Views 1 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.
    • jedimarcusJ Offline
      jedimarcus
      last edited by

      Whenever I "Test Plugin" my Netbox config I get the following error, even after setting up valid SSL Cert (#letsencrypt)
      Screenshot 2021-10-25 at 13.13.22.png

      For some odd reason, the sync did go through though... once at least... I see my VMs in Netbox (no IP adresses though).

      Any easy way to debug this on XOA end? I don't see logs on Netbox (at all) to debug there either, that's why I'm asking here.

      PS: Netbox sounds like a great tool but it's overwhelming... I hope that filling it up with lots of data from XOA will help as a big first step instead of starting from scratch. Netbox Plugin +1 👍

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

        jedimarcus We fixed it on master. If you pull the branch and rebuild, the test should pass now.

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

          Please check Settings/logs or XO logs directly first 🙂 You might more info in there

          jedimarcusJ 1 Reply Last reply Reply Quote 0
          • jedimarcusJ Offline
            jedimarcus @olivierlambert
            last edited by

            ...

                "body": {
                  "name": "[TMP] Xen Orchestra Netbox plugin test - klcecdwwuqj",
                  "slug": "xo-test-klcecdwwuqj",
                  "description": "This type has been created by Xen Orchestra's Netbox plugin test. If it hasn't been properly deleted, you may delete it manually."
                },
                "error": {
                  "name": [
                    "Ensure this field has no more than 50 characters."
                  ]
                }
            
            pdoniasP 1 Reply Last reply Reply Quote 0
            • olivierlambertO Online
              olivierlambert Vates 🪐 Co-Founder CEO
              last edited by

              Ah, sounds like a Netbox limitation then? Pinging pdonias

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

                Hi jedimarcus, what version of Netbox are you using?

                jedimarcusJ 1 Reply Last reply Reply Quote 0
                • jedimarcusJ Offline
                  jedimarcus @pdonias
                  last edited by

                  pdonias 2.9.9
                  Might that be too old?

                  pdoniasP 2 Replies Last reply Reply Quote 0
                  • pdoniasP Offline
                    pdonias Vates 🪐 XO Team @jedimarcus
                    last edited by

                    jedimarcus It's not that old but they indeed changed the limit from 50 to 100 characters in version 2.10. We'll fix the plugin so that the test also passes on old versions, and since you were able to synchronize your pool, you can ignore the test failure. And thanks for the report 🙂

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

                      jedimarcus We fixed it on master. If you pull the branch and rebuild, the test should pass now.

                      jedimarcusJ 1 Reply Last reply Reply Quote 0
                      • jedimarcusJ Offline
                        jedimarcus @pdonias
                        last edited by

                        pdonias I did an update to Netbox 2.11.12 and it works now, so I don't need to tamper with my XOA.

                        1 Reply Last reply Reply Quote 0
                        • pdoniasP pdonias marked this topic as a question on
                        • pdoniasP pdonias has marked this topic as solved on
                        • M mavoff referenced this topic on
                        • First post
                          Last post