OpenStack Discussions

Are "Cinder Migrate" possible to use with NetApp NFS Driver?

eijih
4,733 Views

An error occurs when I use Cinder Migrate with NetApp NFS Driver.

I seem to fail to mount the target volume in iscsi.

Will "cinder migrate" command be supported other than the driver of the iscsi?

# cinder migrate 01fbb027-fb40-47cc-9635-9050def3e4f8 netapp-openstack01@nfs-02

# tail /var/log/cinder/scheduler.log

2014-01-16 13:10:14.154 6349 ERROR cinder.volume.driver [req-483e4d21-2016-408a-b051-e752cb920c5a 3783c9a743ba4f25b1e95f15190b5d2a 90e5771c3d624570b8f4010e0ee9012e] Failed to attach volume 702ab562-51a1-4b0f-b0eb-d4bd46fb14c4

2014-01-16 13:10:14.208 6349 ERROR cinder.volume.manager [req-483e4d21-2016-408a-b051-e752cb920c5a 3783c9a743ba4f25b1e95f15190b5d2a 90e5771c3d624570b8f4010e0ee9012e] Failed to copy volume 8c00fef3-2738-4326-a894-b61a4bd24d8c to 702ab562-51a1-4b0f-b0eb-d4bd46fb14c4

...

6 REPLIES 6

ajeffrey
4,733 Views

Hello Eiji-san

Yes NFS migrates work with OpenStack Havana ensuring that our drivers have that latest code.

Can you tell me a couple of things please:

What release of OpenStack are you using?

What operating system (Linux version) are you using?

What was the source and target mount? Was the source volume a NetApp iSCSI volume?

Thanks

Jeff Applewhite

atsushin
4,733 Views

Hi Jeff,

I answer about environment on behalf of Eiji.

- Release of OpenStqack is Havana, 2013.2.1-1.el6.

- OS is CentOS release 6.5.

- Source volume is NetApp nfs volume.

Thanks,

Atsushi Nakamura

bswartz
4,733 Views

Can you please supply the driver-specific portions of your cinder.conf file?

atsushin
4,733 Views

Hi bswartz,

The settings are as follows.

sql_connection=mysql://cinder:0000000000000000@xxx.xxx.xxx.xxx/cinder

qpid_reconnect_timeout=0

qpid_reconnect_limit=0

qpid_reconnect=True

qpid_reconnect_interval_max=0

qpid_reconnect_interval_min=0

sql_idle_timeout=3600

qpid_reconnect_interval=0

notification_driver=cinder.openstack.common.notifier.rpc_notifier

volume_driver=cinder.volume.drivers.netapp.common.NetAppDriver

netapp_server_hostname=xxx.xxx.xxx.xxx

netapp_server_port=80

netapp_storage_protocol=nfs

netapp_storage_family=ontap_cluster

netapp_login=admin

netapp_password=xxxxxxxx

ajeffrey
4,733 Views

I am going to attempt to replicate this setup in our lab to ensure that the relevant CentOS/OpenStack driver files are up to date. Thanks for your post.

Jeff Applewhite

eijih
4,733 Views

Noted with thanks.

For your reference, I am sending a debug log.

Please feel free to let me know.

Public