Migration operation has aborted. [closed]
Can I perform live migration using the NFS Backend ?
When i try I receive the following error:
[instance: 02c278ba-b79a-49bb-bfd0-b5e7c5667679] Live Migration failure: Unsafe migration: Migration may lead to data corruption if disks use cache != none
[instance: 02c278ba-b79a-49bb-bfd0-b5e7c5667679] Migration operation has aborted
My cinder Config:
[cinder_netapp]
netapp_login=root
netapp_eseries_host_type=linux_dm_mp
netapp_controller_ips=
netapp_size_multiplier=1.2
netapp_vserver=
netapp_server_port=80
nfs_shares_config=/etc/cinder/shares.conf
netapp_sa_password=
thres_avl_size_perc_start=20
netapp_storage_pools=
volume_driver=cinder.volume.drivers.netapp.common.NetAppDriver
netapp_storage_protocol=nfs
netapp_storage_family=ontap_7mode
volume_backend_name=cinder_netapp
thres_avl_size_perc_stop=60
netapp_vfiler=
netapp_volume_list=
netapp_server_hostname=10.1.0.25
expiry_thres_minutes=2160
netapp_transport_type=http
netapp_password=manager
netapp_webservice_path=/devmgr/v2
netapp_copyoffload_tool_path=
nfs_mount_options=rw,bg,hard,nointr,tcp,vers=3,timeo=600,rsize=32768,wsize=32768,actimeo=0,sec=sys
root@node-3:~# cat /etc/cinder/shares.conf
10.250.3.253:/vol/openstack
Mounts:
root@node-3:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 16G 12K 16G 1% /dev
tmpfs 3.2G 13M 3.2G 1% /run
/dev/dm-1 27G 2.8G 23G 12% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
none 5.0M 0 5.0M 0% /run/lock
none 16G 0 16G 0% /run/shm
none 100M 0 100M 0% /run/user
/dev/sda3 196M 44M 143M 24% /boot
/dev/mapper/vm-nova 47G 33M 47G 1% /var/lib/nova
10.250.3.253:/vol/openstack_inst 31G 21G 11G 67% /var/lib/nova/instances
10.250.3.253:/vol/openstack 750G 642G 109G 86% /var/lib/cinder/mnt/36f09148d1243e64fbe04aa72c497a2e
10.250.3.253:/vol/openstack 750G 642G 109G 86% /var/lib/nova/mnt/36f09148d1243e64fbe04aa72c497a2e
Can you please paste the output of the following ? (Compute node)
here are:
disk_cachemodes="file=directsync,block=none" live_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE,VIR_MIGRATE_PERSIST_DEST
Change to
Restart nova-compute service and you will be good.
Was it ! Perfect ! Work like a charm
Glad to know that.