Can't migrate instances with enabled "Configdrive" to another compute nodes.
Hello,
I use San Storage as cinder backend and can live migrate instances WITHOUT "Configdrive" to another comoute node but when configdrive is enabled I get the following error:
compute01 is not on shared storage: Shared storage live-migration requires either shared storage or boot-from-volume with no local disks. (HTTP 400) (Request-ID: req-affd56a4-0c80-4b4d-b8b9-00f45a2cf819)
If I add --block-migration flag to live migration command there will be no error but instance won't migrate.
There used to be a limitation; see the end of https://docs.openstack.org/newton/use.... Perhaps it has not been removed yet?
Try with a VFAT config drive.
On the other hand is it possible to migrate (not live) them . I mean when instances are stopped or the compute host has failed.
Cold migration (i.e. migration of stopped instances) should not be affected by configdrive.
I'm not sure about the cold migration procedure. I've stopped the instance and then select "migrate" in admin dashboard, it changed the VM state to "Active" and power state was "shut off" and nothing has migrated. Also I can't start that as it is in "Active" state.
I don't know what the dashboard does when you select Migrate. Have you tried the command line?