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

    VM UUID via dmidecode does not match VM ID in xen-orchestra

    Scheduled Pinned Locked Moved Infrastructure as Code
    13 Posts 3 Posters 180 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.
    • D Offline
      deefdragon @deefdragon
      last edited by

      OK. back where I started. that was a garbage AI-written "help" article that just spewed out garbage commands as if they actually worked. Still looking for a way to resetset the dmi UUID

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

        Can you use another way than dmidecode to fetch the UUID? Because it's not the right way to get VM UUID (instead you should use xenstore read with the UUID key

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          deefdragon @olivierlambert
          last edited by deefdragon

          @olivierlambert Unfortunatly, the UUID is getting pulled by kubernetes itself for XO-CCM, so I have no control over that that Im aware.

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

            Can you open an issue on the Github repo for the CCM?

            D 1 Reply Last reply Reply Quote 0
            • D Offline
              deefdragon @olivierlambert
              last edited by deefdragon

              @olivierlambert I already have an issue liked in my original post. do you want me to make a new issue about how the vm Id is retrieved? or just comment on the issue I already have?

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

                No, it's fine, as long the issue contains all the relevant details it's fine 🙂

                1 Reply Last reply Reply Quote 0
                • CyrilleC Offline
                  Cyrille Vates 🪐 DevOps Team
                  last edited by

                  Hi,
                  Do you know what causes the system UUID to change and not match the VM UUID?

                  In the tests I have run (with Debian and Microk8s), it never changed.

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    deefdragon @Cyrille
                    last edited by deefdragon

                    @Cyrille Genuinly no idea unfortunately. The only thing I can think that I've done is that the VMs are being loaded in from a template.

                    I had to deploy new VMs through my terraform recently, and I AM still seeing an incorrect system UUID on those, so I can only guess its somehow the template?

                    I am also seeing the serial number from DMIDECODE match the VM ID in xen orchestra as well still.

                    CyrilleC 1 Reply Last reply Reply Quote 0
                    • CyrilleC Offline
                      Cyrille Vates 🪐 DevOps Team @deefdragon
                      last edited by

                      @deefdragon can you check if /sys/hypervisor/uuid matches your VMs UUID?

                      D 1 Reply Last reply Reply Quote 0
                      • D Offline
                        deefdragon @Cyrille
                        last edited by

                        @Cyrille I am seeing /sys/hypervisor/uuid matching dmidecode's Serial Number matching VM ID in xen orchestra.

                        dmidecode's UUID however is different from those three.

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