Uploaded image for project: 'XenServer Org'
  1. XenServer Org
  2. XSO-867

Cross pool migration fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Critical
    • None
    • 7.4
    • API, Dom0, VM Lifecycle
    • None
    • 7.4 Standard

    Description

      In short, cross pool migration fails. Both from CLI and XenCenter.
      1) Without VIF mapping, it fails early unable to map VIFs despite them having same names/VLANs on both pools.
      2) With VIF mapping, it fails with 'There were no hosts available to complete the specified operation.' message.
      3) I've tried even the full migrate command with VIF and VDI mapping - it still fails.

      Command:

      xe vm-migrate vm=AUTOCOPY-VM-0 remote-master=<IP> remote-username=root remote-password=<PASSWORD> vif:689b5760-5170-803f-c1fb-3d64c1016ac2=c0e12694-16c3-5b21-0495-11ace5550038 vif:7b7ac1d3-3e89-7ce0-2e1f-89affd3e2089=cac833be-35c9-6514-050e-0dd975c4b3bd vif:d0b4e3e6-9974-6250-12dc-d94a49d1d50c=fd2a8079-7871-c809-3cd7-a242b59d7967 vif:e5e3fd06-8325-07fc-b3d0-524c1148ea01=ccf30188-dddc-424a-044a-1a825884b185 vdi:a4c81865-1da0-48ae-9e68-845c0edfcf43=a87ab068-c5a5-86e8-1fe4-4a55a09a9c28 vdi:9a82acc9-76b5-4bc7-ad3b-62d3f87fa77b=a87ab068-c5a5-86e8-1fe4-4a55a09a9c28 vdi:6f882203-3a14-4079-85f6-9c72c8b74beb=a87ab068-c5a5-86e8-1fe4-4a55a09a9c28 vdi:74b4f718-5bc1-48b7-89ba-1213cb83aedf=a87ab068-c5a5-86e8-1fe4-4a55a09a9c28

      Result:

      Performing a Storage XenMotion migration. Your VM's VDIs will be migrated with the VM.
      Selecting remote pool's default SR for migrating VDIs
      Will migrate to remote host: <HOST>, using remote network: Management. Here is the VDI mapping:
      VDI 6f882203-3a14-4079-85f6-9c72c8b74beb -> SR a87ab068-c5a5-86e8-1fe4-4a55a09a9c28
      VDI 74b4f718-5bc1-48b7-89ba-1213cb83aedf -> SR a87ab068-c5a5-86e8-1fe4-4a55a09a9c28
      VDI 9a82acc9-76b5-4bc7-ad3b-62d3f87fa77b -> SR a87ab068-c5a5-86e8-1fe4-4a55a09a9c28
      VDI a4c81865-1da0-48ae-9e68-845c0edfcf43 -> SR a87ab068-c5a5-86e8-1fe4-4a55a09a9c28
      There were no hosts available to complete the specified operation.

      Related piece of xensource.log from source:

      See src.log

      Related piece of xensource.log from target (may be from different attempt, but it's always the same):

      See dst.log

      It seems it fails to map SR/VDI/VIF UUIDs properly on VM metadata import.

      Attachments

        1. dst.log
          33 kB
        2. src.log
          5 kB

        Activity

          People

            Unassigned Unassigned
            Alex/AT Alexey Asemov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: