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

    Number of cores in stats is incorrect for VMs

    Scheduled Pinned Locked Moved Xen Orchestra
    10 Posts 4 Posters 759 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.
    • B Offline
      Biggen
      last edited by

      So I have a VM that I originally had 8 cores assigned to it when I created it via xcp-ng Center. I've since reduced the cores down to just 4 however on the stats page in XO its still showing 8 in the legend below the graph. Is there a way to get rid of the 4 unused CPUs from showing up on the graph legend?

      cpu.jpg

      1 Reply Last reply Reply Quote 0
      • DanpD Offline
        Danp Pro Support Team
        last edited by

        How many cpus are displayed under the General tab?

        1 Reply Last reply Reply Quote 0
        • B Offline
          Biggen
          last edited by

          @Danp said in Number of cores in stats is incorrect for VMs:

          How many cpus are displayed under the General tab?

          Just 4.

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

            How does it look in XCP-NG Center?

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

              That's because your RRDs still got "history" with 8 cores, but you can see they are at 0.

              This will be better handled (if we can, IDK yet) in Xen Orchestra new UI (XO6)

              1 Reply Last reply Reply Quote 0
              • B Offline
                Biggen
                last edited by

                Thanks Olivier. Is there no way to reset the RRD for this vm?

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

                  I'm not sure. Maybe restarting toolstack but maybe not. Or migrating to another pool

                  B 1 Reply Last reply Reply Quote 0
                  • B Offline
                    Biggen @olivierlambert
                    last edited by

                    @olivierlambert

                    Hmm. I think I’ve restarted the tool stack already. I don’t have another host so migrating to another pool is a nonstarter I’m afraid.

                    Bummer.

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

                      This will disappear as soon the oldest RRD will be removed. I'm not sure about this anyway. This is something we'll take into account in XO6 (as far as we could, IDK if we could differentiate no activity vs no data on a core)

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        Biggen
                        last edited by Biggen

                        @olivierlambert

                        xcp-ng Center displays it properly, so yeah, it must be the way XO is pulling data.

                        cpu.jpg

                        Oh well. Not a big deal. Just was curious. Thanks Olivier!

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