XCP-ng

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Solved Netbox Debugging

    Xen Orchestra
    3
    9
    286
    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.
    • jedimarcus
      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
      • pdonias
        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.

        jedimarcus 1 Reply Last reply Reply Quote 0
        • olivierlambert
          olivierlambert Vates 🪐 Founder & CEO 🦸 last edited by

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

          jedimarcus 1 Reply Last reply Reply Quote 0
          • jedimarcus
            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."
                  ]
                }
            
            pdonias 1 Reply Last reply Reply Quote 0
            • olivierlambert
              olivierlambert Vates 🪐 Founder & CEO 🦸 last edited by

              Ah, sounds like a Netbox limitation then? Pinging @pdonias

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

                Hi @jedimarcus, what version of Netbox are you using?

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

                  @pdonias 2.9.9
                  Might that be too old?

                  pdonias 2 Replies Last reply Reply Quote 0
                  • pdonias
                    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
                    • pdonias
                      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.

                      jedimarcus 1 Reply Last reply Reply Quote 0
                      • jedimarcus
                        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
                        • Topic has been marked as a question  pdonias pdonias 
                        • Topic has been marked as solved  pdonias pdonias 
                        • First post
                          Last post