You need to use block migration. Default is set to false:
usage: nova live-migration [--block-migrate] [--disk-over-commit]
<server> [<host>]
Migrate running server to a new machine.
Positional arguments:
<server> Name or ID of server.
<host> destination host name.
Optional arguments:
--block-migrate True in case of block_migration.
(Default=False:live_migration)
--disk-over-commit Allow overcommit.(Default=False)
-----Original Message-----
From: Darren Worrall [mailto:[email protected]]
Sent: Friday, November 14, 2014 5:54 AM
To: [email protected]
Subject: [Openstack] Live migration no longer working after Icehouse -> Juno
upgrade
Hi all,
I'm experimenting in a multi-node lab environment, and have an
LVM+iSCSI cinder volume service behind 2 compute nodes. On Icehouse, I
was able to live migrate instances between the compute nodes apparently without
issue, but after an upgrade to Juno I get:
InvalidSharedStorage: compute2 is not on shared storage: Live migration can not
be used without shared storage.
[compute2 being the source node of the migration]
It's true that /var/lib/nova/instances/ is not on shared storage, but it wasnt
before and it was apparently still fine. Here's the nova.conf[0], and the
cinder.conf[1]
Can anyone help?
Darren
[0]: http://pastebin.com/Vcug4WJG
[1]: http://pastebin.com/CB2LZZzX
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack