Ask Your Question
0

Unable to enable NFS Cinder Backup

asked 2018-10-30 00:47:04 -0500

Deepa gravatar image

updated 2018-10-30 02:20:12 -0500

We are trying to set up NFS backup in Ocata Openstack Version. Instances are created with volumes (cinder) coming from Dell EMC Unity 300F. We enabled cinder-backup (NFS coming from Storage Dell MD3420) and gave configuration as below under default in cinder.conf

backup_driver = cinder.backup.drivers.nfs
backup_share = x.x.x.:/nfsshares
backup_mount_options = rw,vers=4.1
backup_mount_point_base = /nfs_backup
backup_compression_algorithm = zlib
backup_sha_block_size_bytes = 32768
backup_file_size = 1999994880

# ####################
# iSCSI Custom start
enabled_backends = unity
unity_io_ports = spa_eth4, spa_eth5, spb_eth4, spa_eth5
use_multipath_for_image_xfer = False
initiator_auto_registration = True

[unity]
storage_protocol = iSCSI
san_ip = x.x.x.x
san_login = xxxxx
san_password = xxxxxx
volume_driver = cinder.volume.drivers.dell_emc.unity.Driver
unity_storage_pool_names = Openstack_pool-01
volume_backend_name = Storage_ISCSI_0
# iSCSI Custom end
# ####################

while creating backup its erroring out and an volume is created in Dell EMC Unity 300F itself .

openstack volume backup list
+--------------------------------------+-------------+-------------+--------+------+
| ID                                   | Name        | Description | Status | Size |
+--------------------------------------+-------------+-------------+--------+------+
| 584c8947-2f0b-42e1-955c-384b17a08104 | backup1     | None        | error  |   20 |
| a7ca7b3c-ffc0-437b-a2ce-374a48d7a763 | test-backup | None        | error  |    6 |
| 77211d91-07b1-493c-8133-3faff34f7428 | test-backup | None        | error  |    6 |
+--------------------------------------+-------------+-------------+--------+------+
edit retag flag offensive close merge delete

Comments

1

Are the services shown as up 8openstack volume service list)? What is in the service logs? Does the cinder-backup.log reveal anything useful? Is the NFS share active and can be mounted manually with the respective credentials?

eblock gravatar imageeblock ( 2018-10-30 06:35:04 -0500 )edit

@eblock yes all the openstack volume service are up.Yes the NFS share is active and can be mounted manually .Please see the logs in Answer section .I am unable to paste all the logs here

Deepa gravatar imageDeepa ( 2018-10-30 07:20:58 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-10-30 07:23:00 -0500

Deepa gravatar image

updated 2018-10-30 07:24:15 -0500

Log shows as below

openstack volume backup show 6eb7d456-ff45-471f-845a-cb50d652b014

+-----------------------+------------------------------------------------------------------------------+
| Field                 | Value                                                                        |
+-----------------------+------------------------------------------------------------------------------+
| availability_zone     | nova                                                                         |
| container             | None                                                                         |
| created_at            | 2018-10-30T08:57:44.000000                                                   |
| data_timestamp        | 2018-10-28T17:00:58.000000                                                   |
| description           | None                                                                         |
| fail_reason           | **Timed out waiting for a reply to message ID 5cad4be64ed84cb7aaad6882f379f5ea** |
| has_dependent_backups | False                                                                        |
| id                    | 6eb7d456-ff45-471f-845a-cb50d652b014                                         |
| is_incremental        | False                                                                        |
| name                  | backup03                                                                     |
| object_count          | 0                                                                            |
| size                  | 20                                                                           |
| snapshot_id           | f958dd94-5c92-4786-9727-5ba44b06d927                                         |
| status                | error                                                                        |
| updated_at            | 2018-10-30T09:34:50.000000                                                   |
    | volume_id             | 07f0c2e1-d16e-4ecb-919d-e2d8c507c6c2

2018-10-30 08:58:44.763 1020448 ERROR oslo_messaging.rpc.server [req-b637e9b5-aed9-4659-808e-7b9bcca266b5 d76851a39ade402f9fca72371e84cc 07 be3672f49805466fb76ee0673280d5be - default default] Exception during message handling 2018-10-30 08:58:44.763 1020448 ERROR oslo_messaging.rpc.server Traceback (most recent call last): 2018-10-30 08:58:44.763 1020448 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 155, in _process_incoming 2018-10-30 08:58:44.763 1020448 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message) 2018-10-30 08:58:44.763 1020448 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.p y", line 222, in dispatch 2018-10-30 08:58:44.763 1020448 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args) 2018-10-30 08:58:44.763 1020448 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.p y", line 192, in _do_dispatch 2018-10-30 08:58:44.763 1020448 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args) 2018-10-30 08:58:44.763 1020448 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/backup/manager.py", line 403, in create_backup 2018-10-30 08:58:44.763 1020448 ERROR oslo_messaging.rpc.server self._update_backup_error(backup, six.text_type(err)) 2018-10-30 08:58:44.763 1020448 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 2 20, in __exit__ 2018-10-30 08:58:44.763 1020448 ERROR oslo_messaging.rpc.server self.force_reraise() 2018-10-30 08:58:44.763 1020448 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 1 96, in force_reraise 2018-10-30 08:58:44.763 1020448 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb) 2018-10-30 08:58:44.763 1020448 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/backup/manager.py", line 397, in create_backup 2018-10-30 08:58:44.763 1020448 ERROR oslo_messaging.rpc.server self._run_backup(context, backup, volume) 2018-10-30 08:58:44.763 1020448 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/backup/manager.py", line 430, in _run_backup 2018-10-30 08:58:44.763 1020448 ERROR oslo_messaging.rpc.server volume) 2018-10-30 08:58:44.763 1020448 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/volume/rpcapi.py", line 355, in get_backup_device 2018-10-30 08:58:44.763 1020448 ERROR oslo_messaging.rpc.server want_objects=True) 2018-10-30 08:58:44.763 1020448 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 169, in call 2018-10-30 08:58:44.763 1020448 ERROR oslo_messaging.rpc.server retry=self.retry) 2018-10-30 08:58:44.763 1020448 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_messaging/transport.py ... (more)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2018-10-30 00:47:04 -0500

Seen: 36 times

Last updated: Oct 30 '18