Bug #46687
closedMGR_MODULE_ERROR: Module 'cephadm' has failed: No filters applied
0%
Description
I made clean install of ceph using cephadm. Then trying to create osds via web interface like that and got fail:
Cluster state changed to:
HEALTH_ERR
MGR_MODULE_ERROR: Module 'cephadm' has failed: No filters applied
OSD wasn't created. Log messages:
7/23/20 10:58:23 AM [ERR] Health check failed: Module 'cephadm' has failed: No filters applied (MGR_MODULE_ERROR)
7/23/20 10:58:22 AM [ERR] Unhandled exception from module 'cephadm' while running on mgr.myserver.cwriwn: No filters applied
An attempt to create osd via ceph cli caused the same error.
ceph orch apply osd -i /home/user/osd_config.yml
service_type: osd
service_id: dashboard-admin-1595156047229
placement:
host_pattern: myserver
data_devices:
size: 7.3TB
db_devices:
model: HBS3A1924A4M4B1
Simple creation of osd works fine
ceph orch daemon add osd myserver:/dev/bcache0
but cluster state still isn't changing.
Files
Updated by Sebastian Wagner almost 4 years ago
indeed. Might relate to https://github.com/ceph/ceph/blob/3b31eea7fdfe9805259fdcc606e0a1844431a8d8/src/python-common/ceph/deployment/drive_selection/matchers.py#L410
Please try
service_type: osd
service_id: dashboard-admin-1595156047229
placement:
host_pattern: myserver
data_devices:
size: 7TB:8TB
db_devices:
model: HBS3A1924A4M4B1
Updated by Roman M almost 4 years ago
Sebastian Wagner wrote:
indeed. Might relate to https://github.com/ceph/ceph/blob/3b31eea7fdfe9805259fdcc606e0a1844431a8d8/src/python-common/ceph/deployment/drive_selection/matchers.py#L410
Please try
[...]
Thanks a lot, it helped me. Also I had to remove previously started osd creating services, disable/enable cephadm module and then health check was passed. After that creation of osd was successful.
Updated by Juan Miguel Olmo Martínez about 3 years ago
- Related to Bug #49191: cephadm: service_type: osd: Failed to apply: ''NoneType'' object has no attribute ''paths''"' added
Updated by Juan Miguel Olmo Martínez about 3 years ago
- Related to Bug #46558: cephadm: paths attribute ignored for db_devices/wal_devices via OSD spec added
Updated by Juan Miguel Olmo Martínez about 3 years ago
- Assignee set to Juan Miguel Olmo Martínez
Updated by Sebastian Wagner almost 3 years ago
- Status changed from New to Can't reproduce
Setting this to can't reproduce as this didn't popped up again.