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

    Change "Created by" and "date" information

    Xen Orchestra
    4
    7
    100
    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.
    • JamfoFLJ
      JamfoFL
      last edited by

      This is NOT a critical issue at all... just a "nice to know". I also promise that I tried to use my "Google-fu" to find the answer to this before posting, with no success.

      I've noticed that on the "General" tab of each VM, under the status bar for the CPU, there is now a section for the creator of the VM, the date on which it was created, and the template used to create the VM.

      General.png

      Is there any way to safely change that information? For example, every VM I've created says "Created by Unknown"... but I know who actually did create the VM and would like to label it as such. Likewise with the dates.

      This is more a curiosity than anything important.

      Thank you so much!

      1 Reply Last reply Reply Quote 0
      • olivierlambertO
        olivierlambert Vates 🪐 Co-Founder🦸 CEO 🧑‍💼
        last edited by

        I think we should probably remove it if we don't know, I'm not sure we could easily change it.

        JamfoFLJ 1 Reply Last reply Reply Quote 0
        • JamfoFLJ
          JamfoFL @olivierlambert
          last edited by

          @olivierlambert Thanks so much! I figured it was either something easy I was missing, or next to impossible to do.

          It was just a "nice to know" if it was possible to change that information. Since it can not be changed, please feel free to close this out.

          As always, thank you for your help!

          1 Reply Last reply Reply Quote 0
          • DanpD
            Danp Top contributor 💪
            last edited by

            It appears that this information is stored in the VM's other-config parameter. For example, this is what I get using xe vm-list params=uuid,name-label,other-config --

            
            uuid ( RO)            : 0c98cb17-cb9e-5795-7a7c-76da5e8ae94b
                  name-label ( RW): Ubuntu 22.10
                other-config (MRW): xo:0c98cb17: {"creation":{"date":"2023-05-14T14:49:51.584Z","template":"2cf37285-57bc-4633-a24f-0c6c825dda66","user":"2"}}; base_template_name: Ubuntu Focal Fossa 20.04; import_task: OpaqueRef:f951016b-8d53-48f8-97be-415339edab6f; mac_seed: fb865a20-ce0b-73cf-7f6c-9ac34f214d10; install-methods: cdrom,nfs,http,ftp; linux_template: true
            

            I would think the XO interface could be updated to allow a different user to be chosen.

            1 Reply Last reply Reply Quote 0
            • olivierlambertO
              olivierlambert Vates 🪐 Co-Founder🦸 CEO 🧑‍💼
              last edited by

              Adding @MathieuRA in the loop

              1 Reply Last reply Reply Quote 0
              • MathieuRAM
                MathieuRA Vates 🪐 XO Team 🔭
                last edited by

                After a discussion with the XO team, the ability to edit from the UI: creation.user and date, has been added to the backlog.

                JamfoFLJ 1 Reply Last reply Reply Quote 0
                • JamfoFLJ
                  JamfoFL @MathieuRA
                  last edited by

                  @MathieuRA Thank you for the update, @MathieuRA!

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