Can't migrate instances with enabled "Configdrive" to another compute nodes.

asked 2019-02-04 00:45:31 -0600

Am Ab gravatar image

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.

edit retag flag offensive close merge delete

Comments

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.

Bernd Bausch gravatar imageBernd Bausch ( 2019-02-04 01:29:44 -0600 )edit

On the other hand is it possible to migrate (not live) them . I mean when instances are stopped or the compute host has failed.

Am Ab gravatar imageAm Ab ( 2019-02-04 03:10:29 -0600 )edit

Cold migration (i.e. migration of stopped instances) should not be affected by configdrive.

Bernd Bausch gravatar imageBernd Bausch ( 2019-02-04 03:31:12 -0600 )edit

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.

Am Ab gravatar imageAm Ab ( 2019-02-04 04:35:19 -0600 )edit

I don't know what the dashboard does when you select Migrate. Have you tried the command line?

Bernd Bausch gravatar imageBernd Bausch ( 2019-02-04 05:11:14 -0600 )edit