Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Cinder Volume Snapshot error in cinder_scheduler.log

When a snapshot of lvm type volume is created, there comes following error in /var/log/cinder/cinder_scheduler.log in Openstack Train

2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server [req-9aafaad6-3597-4a43-8b40-fa57c1a91781 a89f302f93f144e29f6e1a8204e766eb 66b30bbab9814815a678bd2be77ce435 - default default] Exception during message handling: AttributeError: 'NoneType' object has no attribute 'get'

2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server Traceback (most recent call last): 2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/oslo_messaging/rpc/server.py", line 165, in _process_incoming

2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message) 2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/oslo_messaging/rpc/dispatcher.py", line 274, in dispatch

2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)

2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/oslo_messaging/rpc/dispatcher.py", line 194, in _do_dispatch

2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args) 2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/cinder/scheduler/manager.py", line 85, in inject_operation_decorator

2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server return schedule_function(args, *kwargs) 2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/cinder/scheduler/manager.py", line 241, in create_snapshot

2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server ctxt, backend, request_spec, filter_properties)

2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/cinder/scheduler/filter_scheduler.py", line 118, in backend_passes_filters

2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server filter_properties) 2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/cinder/scheduler/filter_scheduler.py", line 339, in _get_weighted_candidates

2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server filter_properties) 2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/cinder/scheduler/host_manager.py", line 493, in get_filtered_backends

2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server filter_properties) 2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/cinder/scheduler/base_filter.py", line 116, in get_filtered_objects

2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server list_objs = list(objs) 2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/cinder/scheduler/base_filter.py", line 43, in filter_all

2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server if self._filter_one(obj, filter_properties): 2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/cinder/scheduler/filters/__init__.py", line 29, in _filter_one

2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server return passes_method(obj, filter_properties) 2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/cinder/scheduler/filters/driver_filter.py", line 35, in backend_passes

2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server stats = self._generate_stats(backend_state, filter_properties)

2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server File "/usr/lib/python3/dist-packages/cinder/scheduler/filters/driver_filter.py", line 128, in _generate_stats

2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server extra_specs = volume_type.get('extra_specs', {})

2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server AttributeError: 'NoneType' object has no attribute 'get'

2020-05-01 00:47:39.681 14090 ERROR oslo_messaging.rpc.server