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

    Duplicate templates?

    Scheduled Pinned Locked Moved Xen Orchestra
    4 Posts 3 Posters 469 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.
    • ForzaF Offline
      Forza
      last edited by

      I just upgraded from xcp-ng 8.1 to 8.2 and see duplicate templates. Is this normal? 😃

      1df70030-71d3-4703-ab4a-24204922011e-image.png

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

        IMHO this is not normal, but definitely weird.

        I have it also on a pool that I upgraded, but running xe template-list on the cli doesn't give me 2 entries?!?

        1 Reply Last reply Reply Quote 0
        • btlogyB Offline
          btlogy
          last edited by btlogy

          I've never noticed before today, but indeed: all default templates appeared duplicated.
          And deleting one instance seems to delete the second too!
          Unfortunately, this is messing up Terraform plan with the xenorchestra provider:

          module.loc0.xenorchestra_vm.vm0: Refreshing state... [id=<vm_uuid>]
          Error: found `2` templates with query {Id: Uuid: NameLabel:Other install media PoolId:<pool_uuid> TemplateInfo:{Arch: Disks:[]}}. Templates must be uniquely named to use this data source
          

          It seems like I have to re-install the whole pool, as new one do not seem to present this issue!

          1 Reply Last reply Reply Quote 0
          • btlogyB Offline
            btlogy
            last edited by

            Not sure yet if it has to do with me deleting one template to try...
            However, the duplicated templates have disappear after the update of XOA to 5.74.3!
            Maybe a restart of the service would have achieved the same!?
            At the end, it seems to come from XOA rather than the pool.

            I suggest to remove and add the master from the server settings to see if this does not clean up something in the cache/DB on XOA...

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