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

    Delete of Multiple Templates Fails

    Scheduled Pinned Locked Moved Management
    3 Posts 2 Posters 210 Views 1 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.
    • johandrJ Offline
      johandr
      last edited by

      I have checked this with XOA and XO Sources (latest)

      When you select and delete one template at a time, everything works and it is removed from the list of templates.

      If you select multiple templates, it looks like nothing happens - the templates are not removed from the list, although the tick marks are removed.

      When you then try to delete one of the templates again, you get this error log:

      vm.delete
      {
        "id": "a194633f-b946-0f9e-50d0-3022366b4eaf-f873abe0-b138-4995-8f6f-498b423d234d"
      }
      {
        "code": "HANDLE_INVALID",
        "params": [
          "VM",
          "OpaqueRef:b8aef32a-bb91-41a7-bf73-7748e5e8cb55"
        ],
        "call": {
          "method": "VM.get_record",
          "params": [
            "OpaqueRef:b8aef32a-bb91-41a7-bf73-7748e5e8cb55"
          ]
        },
        "message": "HANDLE_INVALID(VM, OpaqueRef:b8aef32a-bb91-41a7-bf73-7748e5e8cb55)",
        "name": "XapiError",
        "stack": "XapiError: HANDLE_INVALID(VM, OpaqueRef:b8aef32a-bb91-41a7-bf73-7748e5e8cb55)
          at Function.wrap (file:///home/vmin/xen-orchestra/packages/xen-api/_XapiError.mjs:16:12)
          at file:///home/vmin/xen-orchestra/packages/xen-api/transports/json-rpc.mjs:35:21"
      }
      

      if you list the templates with

      xe template-list
      

      the templates are still in the listed

      For now, a work-around is to only delete one template at a time

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        DustinB @johandr
        last edited by

        @johandr said in Delete of Multiple Templates Fails:

        b8aef32a-bb91-41a7-bf73-7748e5e8cb55

        Does that UUID exist if you search it from the main page of XO?

        johandrJ 1 Reply Last reply Reply Quote 0
        • johandrJ Offline
          johandr @DustinB
          last edited by johandr

          @DustinB

          If I type it in the filter box on the Home page, it is not found.

          If I type it in the filter box on the Templates page, it is found and Shows

          Oracle Linux 7

          if I list all the templates with xe template-list, it is not in the list

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