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
    9 Posts 2 Posters 39 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.
    • D Offline
      deefdragon
      last edited by

      This is related to a bug I filed on the XO-CCM (which is why I put it here). I have a series of Kubernetes worker node VM's created by loading the a base k8s node from a template. It appears that in this process, the UUID returned from dmidecode has been changed and does not reflect the UUID in XO.

      I was wondering if there was a way to get the UUID to match up again so that I can get the CCM to start functioning.

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

        It's likely because the VM UUID from a XAPI perspective is different (generated by XAPI) and you can fetch it by reading the appropriate xenstor entry.

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

          @olivierlambert Ah. Ok. It looks like I can update the system uuid via

          sudo dmidecode -s system-uuid -s <new_uuid>
          

          found from here, but if you happen to know if that should work, Id love a confirmation before I go and make a mess of a worker node.

          D 1 Reply Last reply Reply Quote 0
          • 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
                      • First post
                        Last post