Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Error in cinder-backup

Hello guys, i have an error using cinder-backup with swift as backend.

I think this error occurs before sending to swift, because i get the error "attribute cluster_name not lazy-loadable" and backup ends with error state.

See logging information:

2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server [OFUSCATED] Exception during message handling: ObjectActionError: Object action obj_load_attr failed because: attribute cluster_name not lazy-loadable 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server Traceback (most recent call last): 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 160, in _process_incoming 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 213, in dispatch 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 183, in _do_dispatch 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/backup/manager.py", line 358, in create_backup 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server self._update_backup_error(backup, six.text_type(err)) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__ 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server self.force_reraise() 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/backup/manager.py", line 347, in create_backup 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server updates = self._run_backup(context, backup, volume) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/backup/manager.py", line 396, in _run_backup 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server backup_device.is_snapshot) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/backup/manager.py", line 882, in _attach_device 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server return self._attach_volume(ctxt, backup_device, properties) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/backup/manager.py", line 904, in _attach_volume 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server {'volume_id', volume.id}) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__ 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server self.force_reraise() 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/backup/manager.py", line 892, in _attach_volume 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server properties) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/volume/rpcapi.py", line 224, in initialize_connection 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server cctxt = self._get_cctxt(volume.service_topic_queue) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/objects/base.py", line 478, in service_topic_queue 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server return self.cluster_name or self.host 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 67, in getter 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server self.obj_load_attr(name) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/objects/volume.py", line 406, in obj_load_attr 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server reason=_('attribute %s not lazy-loadable') % attrname) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server ObjectActionError: Object action obj_load_attr failed because: attribute cluster_name not lazy-loadable 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server 2018-04-05 18:58:41.281 139244 DEBUG oslo_service.periodic_task [OFUSCATED] Running periodic task BackupManager._report_driver_status run_periodic_tasks /usr/lib/python2.7/dist-packages/oslo_service/periodic_task.py:215

Error in cinder-backup

Hello guys, i have an error using cinder-backup with swift as backend.

I think this error occurs before sending to swift, because i get the error "attribute cluster_name not lazy-loadable" and backup ends with error state.

See logging information:

2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server [OFUSCATED] Exception during message handling: ObjectActionError: Object action obj_load_attr failed because: attribute cluster_name not lazy-loadable 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server Traceback (most recent call last): 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 160, in _process_incoming 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 213, in dispatch 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 183, in _do_dispatch 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/backup/manager.py", line 358, in create_backup 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server self._update_backup_error(backup, six.text_type(err)) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__ 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server self.force_reraise() 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/backup/manager.py", line 347, in create_backup 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server updates = self._run_backup(context, backup, volume) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/backup/manager.py", line 396, in _run_backup 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server backup_device.is_snapshot) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/backup/manager.py", line 882, in _attach_device 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server return self._attach_volume(ctxt, backup_device, properties) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/backup/manager.py", line 904, in _attach_volume 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server {'volume_id', volume.id}) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__ 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server self.force_reraise() 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/backup/manager.py", line 892, in _attach_volume 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server properties) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/volume/rpcapi.py", line 224, in initialize_connection 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server cctxt = self._get_cctxt(volume.service_topic_queue) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/objects/base.py", line 478, in service_topic_queue 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server return self.cluster_name or self.host 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 67, in getter 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server self.obj_load_attr(name) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/cinder/objects/volume.py", line 406, in obj_load_attr 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server reason=_('attribute %s not lazy-loadable') % attrname) 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server ObjectActionError: Object action obj_load_attr failed because: attribute cluster_name not lazy-loadable 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server 2018-04-05 18:58:27.413 139244 ERROR oslo_messaging.rpc.server 2018-04-05 18:58:41.281 139244 DEBUG oslo_service.periodic_task [OFUSCATED] Running periodic task BackupManager._report_driver_status run_periodic_tasks /usr/lib/python2.7/dist-packages/oslo_service/periodic_task.py:215/usr/lib/python2.7/dist-packages/oslo_service/periodic_task.py:215</poem>