Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-9182

Some running VMs turned off on manual migration when auto migration failed while host preparing for maintenance

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.5.2
    • Fix Version/s: None
    • Component/s: Management Server, VMware
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      None
    • Environment:
      vCenter 5.0

      Description

      When a host is put into maintenance, CloudStack schedules migration for all the running VMs present on the host. This scheduling is managed by High Availability worker thread. And every time a migration fails, CloudStack re-schedules the migration to be executed after 10 minutes.

      In this case, CloudStack fails to migrate some VMs automatically while host is preparing for maintenance and admin tried to migrate them manually. All these VMs are turned off after manual migration.

      Steps:

      • Put a host into maintenance
      • Scheduled migration failed for a VM and CloudStack re-scheduled it.
      • Before the next scheduled migration, manually migrate the VM to a different host.

      When the next scheduled migration was started by the HA work, it failed because there was a mismatch between the source host saved in the HA work job and the actual source host. If VM migration fails due to mismatch then the VM is stopped on the host it resides on.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sureshkumar.anaparti Suresh Kumar Anaparti
                Reporter:
                sureshkumar.anaparti Suresh Kumar Anaparti
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: