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

    Netbox sync and empty virtual disks

    Scheduled Pinned Locked Moved Xen Orchestra
    2 Posts 2 Posters 36 Views 2 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.
    • B Offline
      bjdemon
      last edited by

      Hey all

      In my homelab I'm running a XCP-NG cluster and a Netbox instance. I have enabled the Netbox plugin and it syncs correctly.

      However, I have noticed that while the "Interfaces" tab syncs all the interfaces attached to the VM, it is not the case for the virtual drives attached to the VM. As an example, I have a VM that has 2 disks attached to it of 25gb and one of 100gb. Netbox does show total "Disk Space" as 125gb under the main tab "Virtual Machine" ==> "Resources", but the separate tab "Virtual Disks" is not populated at all.

      I was able to find another form post from 2 years ago, but unfortunately, no answer was provided.
      Link to post: forum link

      Is this something that needs to be added to the logic of the plugin?
      I have tried to add extra permission under the xoa read-write permission group in Netbox for "Virtual Disks", but this did not solve the issue.

      Anyone that can help me out?
      Thanks a lot!

      poddingueP 1 Reply Last reply Reply Quote 0
      • poddingueP Offline
        poddingue Vates 🪐 @bjdemon
        last edited by poddingue

        From what I can tell, the Netbox plugin in XO syncs VMs, interfaces and IPs, but it doesn't populate Netbox's separate Virtual Disks model yet, which is why you get the total disk space but an empty Virtual Disks tab.
        I don't think it's a permissions thing on your side, it looks more like a gap in what the plugin syncs today. 🤔
        There's already an open issue for disk-size sync (https://github.com/vatesfr/xen-orchestra/issues/7643), plus a few other Netbox requests in the tracker. If you want the per-disk sync added, the place it actually gets weighed is https://feedback.vates.tech, where the Netbox asks get prioritised together.
        It might also be worth a mention to @Team-XO-Backend, since they own the plugin and can say whether the newer Netbox virtual-disk model is on their radar.

        ecoutinho created this issue in vatesfr/xen-orchestra

        open Netbox plugin: Sync disk size error #7643

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post