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

    "ACLs" and "VM creator" options on the VM´s Advanced tab

    Scheduled Pinned Locked Moved Management
    8 Posts 4 Posters 30 Views 4 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.
    • P Offline
      panzersrmm
      last edited by

      Hi, could I please ask how are these VM Advanced parameters saved in the background?

      I mean the same like this topic "Block migraton" option on the VM´s Advanced tab: what is the VM parameter that saves the inputs from XO UI?

      Maybe @andriy.sultanov could answer, the same as he did in the above mentioned topic.

      Thank you!

      A 1 Reply Last reply Reply Quote 0
      • A Offline
        andriy.sultanov Vates 🪐 XAPI & Network Team @panzersrmm
        last edited by

        @panzersrmm I don't think these are saved in the XAPI VM object (that you are querying with xe) - these are tracked by XOA itself.

        @xen-orchestra ?

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

          ACLs and VM creators are XO only objects, not stored in XAPI.

          P 1 Reply Last reply Reply Quote 0
          • P Offline
            panzersrmm @olivierlambert
            last edited by

            @olivierlambert said in "ACLs" and "VM creator" options on the VM´s Advanced tab:

            ACLs and VM creators are XO only objects, not stored in XAPI.

            Thank you for that. So ACLs and VM creators can't be restored, that's from design, correct?

            I've tried to create a snapshot of a VM that had these properties set and when I've reverted the VM to that snapshot, these properties were empty.

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

              So you are trying to restore a VM that has been backup: when you do that, it's a brand new VM. It's an expected behavior. It doesn't mean it's a great one, but this is how it works now 🙂

              1 Reply Last reply Reply Quote 0
              • P Offline
                Pilow @panzersrmm
                last edited by

                @panzersrmm I tried to snapshot and revert on a VM with Resource set + ACLs and they did not disappear... ?

                b316a971-e2cf-4843-9d05-a96b2299d12a-image.png

                olivierlambertO P 2 Replies Last reply Reply Quote 0
                • olivierlambertO Offline
                  olivierlambert Vates 🪐 Co-Founder CEO @Pilow
                  last edited by

                  @Pilow Because the UUID of the object is preserved. Restoring a backup is different than rolling back a snap.

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    panzersrmm @Pilow
                    last edited by

                    @Pilow said in "ACLs" and "VM creator" options on the VM´s Advanced tab:

                    @panzersrmm I tried to snapshot and revert on a VM with Resource set + ACLs and they did not disappear... ?

                    b316a971-e2cf-4843-9d05-a96b2299d12a-image.png

                    @Pilow Yes, yours were kept because you didn't modify them manually.

                    My test case was:

                    1. Set ACLs + VM creator for a working VM
                    2. Make a snapshot of this VM
                    3. Change various VM advanced properties including ACLs + VM creator (simulate evolution of VM)
                    4. Revert the VM to that snapshot state
                    5. Check if the set properties were restored: all were restored except ACLs

                    I was wrong about VM creator. That is indeed restored, but ACLs isn't.

                    @olivierlambert Thank you for the explanation. I wasn't trying to judge, just to understand how it actually works.

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