OpenStack Discussions

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

eijih
4,164 Views

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

Is this similar to Bug 1247743.

https://bugs.launchpad.net/cinder/+bug/1247743

cinder failed to create a backup with NFS driver

And may I understand that it occurs in all NFS not only NetApp NFS Driver?

1.Execute cinder backup-create

--

# cinder list

+--------------------------------------+-----------+-----------------+------+-------------+----------+-------------+

|                  ID                  |   Status  |   Display Name  | Size | Volume Type | Bootable | Attached to |

+--------------------------------------+-----------+-----------------+------+-------------+----------+-------------+

| 00ea0618-a368-4514-8e17-32e4f4165204 | available |   netapp-nfs1   |  1   | netapp-nfs1 |  false   |             |

| e6b001b1-b69e-4257-8c54-c0d4b879ebe6 | available |    lvm-iscsi1   |  1   |  lvm-iscsi1 |  false   |             |

+--------------------------------------+-----------+-----------------+------+-------------+----------+-------------+

# cinder backup-create 00ea0618-a368-4514-8e17-32e4f4165204

+-----------+--------------------------------------+

|  Property |                Value                 |

+-----------+--------------------------------------+

|     id    | 02f05651-253d-4ed4-9f09-eeb7a8e440a4 |

|    name   |                 None                 |

| volume_id | 00ea0618-a368-4514-8e17-32e4f4165204 |

+-----------+--------------------------------------+

# cinder backup-list

+--------------------------------------+--------------------------------------+--------+------+------+--------------+-----------+

|                  ID                  |              Volume ID               | Status | Name | Size | Object Count | Container |

+--------------------------------------+--------------------------------------+--------+------+------+--------------+-----------+

| 02f05651-253d-4ed4-9f09-eeb7a8e440a4 | 00ea0618-a368-4514-8e17-32e4f4165204 | error  | None |  1   |     None     |    None   |

+--------------------------------------+--------------------------------------+--------+------+------+--------------+-----------+

2.show /var/log/cinder/backup.log

--

2014-01-22 20:53:58.431 2748 INFO cinder.backup.manager [req-fc188fcc-5e0b-4e63-839c-953988b49733 eee2597c546841f190309cb0511b1e28 fe313f23f1864ac2956af7990d823c42] Backend not found in hostname (None) so using default.

2014-01-22 20:53:58.483 2748 INFO cinder.backup.manager [req-fc188fcc-5e0b-4e63-839c-953988b49733 eee2597c546841f190309cb0511b1e28 fe313f23f1864ac2956af7990d823c42] Create backup started, backup: 02f05651-253d-4ed4-9f09-eeb7a8e440a4 volume: 00ea0618-a368-4514-8e17-32e4f4165204.

2014-01-22 20:53:58.560 2748 ERROR cinder.openstack.common.rpc.amqp [req-fc188fcc-5e0b-4e63-839c-953988b49733 eee2597c546841f190309cb0511b1e28 fe313f23f1864ac2956af7990d823c42] Exception during message handling

2014-01-22 20:53:58.560 2748 TRACE cinder.openstack.common.rpc.amqp Traceback (most recent call last):

2014-01-22 20:53:58.560 2748 TRACE cinder.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/cinder/openstack/common/rpc/amqp.py", line 441, in _process_data

2014-01-22 20:53:58.560 2748 TRACE cinder.openstack.common.rpc.amqp     **args)

2014-01-22 20:53:58.560 2748 TRACE cinder.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/cinder/openstack/common/rpc/dispatcher.py", line 148, in dispatch

2014-01-22 20:53:58.560 2748 TRACE cinder.openstack.common.rpc.amqp     return getattr(proxyobj, method)(ctxt, **kwargs)

2014-01-22 20:53:58.560 2748 TRACE cinder.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/cinder/utils.py", line 819, in wrapper

2014-01-22 20:53:58.560 2748 TRACE cinder.openstack.common.rpc.amqp     return func(self, *args, **kwargs)

2014-01-22 20:53:58.560 2748 TRACE cinder.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/cinder/backup/manager.py", line 270, in create_backup

2014-01-22 20:53:58.560 2748 TRACE cinder.openstack.common.rpc.amqp     'fail_reason': unicode(err)})

2014-01-22 20:53:58.560 2748 TRACE cinder.openstack.common.rpc.amqp   File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__

2014-01-22 20:53:58.560 2748 TRACE cinder.openstack.common.rpc.amqp     self.gen.next()

2014-01-22 20:53:58.560 2748 TRACE cinder.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/cinder/backup/manager.py", line 263, in create_backup

2014-01-22 20:53:58.560 2748 TRACE cinder.openstack.common.rpc.amqp     backup_service)

2014-01-22 20:53:58.560 2748 TRACE cinder.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/cinder/volume/drivers/nfs.py", line 353, in backup_volume

2014-01-22 20:53:58.560 2748 TRACE cinder.openstack.common.rpc.amqp     raise NotImplementedError()

2014-01-22 20:53:58.560 2748 TRACE cinder.openstack.common.rpc.amqp NotImplementedError

2014-01-22 20:53:58.560 2748 TRACE cinder.openstack.common.rpc.amqp

--

2 REPLIES 2

ajeffrey
4,164 Views

Hello

Yes this is a known bug and a fix has been submitted to the cinder project for bug 1247743.

It is working it's way through the approval process and we hope it will be released soon.

Thanks

Jeff Applewhite

eijih
4,164 Views

Hi ajeffrey

I acknowledge about known bug.

Thank you for being so prompt in providing me with the information I requested.

Public