Actions
Bug #50685
closedwrong exception type: Exception("No filters applied")
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
Traceback (most recent call last): File "/usr/share/ceph/mgr/cephadm/serve.py", line 466, in _apply_all_services if self._apply_service(spec): File "/usr/share/ceph/mgr/cephadm/serve.py", line 523, in _apply_service self.mgr.osd_service.create_from_spec(cast(DriveGroupSpec, spec)) File "/usr/share/ceph/mgr/cephadm/services/osd.py", line 68, in create_from_spec ret = create_from_spec_one(self.prepare_drivegroup(drive_group)) File "/usr/share/ceph/mgr/cephadm/services/osd.py", line 171, in prepare_drivegroup existing_daemons=len(dd_for_spec_and_host)) File "/lib/python3.6/site-packages/ceph/deployment/drive_selection/selector.py", line 26, in __init__ self._data = self.assign_devices(self.spec.data_devices) File "/lib/python3.6/site-packages/ceph/deployment/drive_selection/selector.py", line 130, in assign_devices if not all(m.compare(disk) for m in FilterGenerator(device_filter)): File "/lib/python3.6/site-packages/ceph/deployment/drive_selection/selector.py", line 130, in <genexpr> if not all(m.compare(disk) for m in FilterGenerator(device_filter)): File "/lib/python3.6/site-packages/ceph/deployment/drive_selection/matchers.py", line 407, in compare raise Exception("No filters applied") May 06 07:20:31 host conmon[2216]: debug 2021-05-06T07:20:31.114+0000 7f69546c4700 -1 log_channel(cephadm) log [ERR] : Failed to apply osd.dashboard-spec DriveGroupSpec(name=dashboard-1620208717516->placement=PlacementSpec(host_pattern='host'), service_id='dashboard-1620208717516', service_type='osd', data_devices=DeviceSelection(size='931.5GB', all=False), osd_id_claims={}, unmanaged=False, filter_logic='AND', preview_only=False): No filters applied
this should not end in the logs like this
Actions