You can make the following change in /etc/nova/nova.conf of the compute node. allow_migrate_to_same_host = True. But this will be for testing purposes only. If you want to test the real migration, you should have another compute host with Shared storage.