Description of problem: When changing an option like ceph_osd_docker_memory_limit the change won't trigger a restart of the container. Version-Release number of selected component (if applicable): v3.1.0rc9 How reproducible: Change ceph_osd_docker_memory_limit to a value different than the default Steps to Reproduce: 1. 2. 3. Actual results: The OSD container(s) won't restart. Expected results: The OSD container(s) restart. Additional info:
Steps followed: In osd.yaml, changed 'ceph_osd_docker_memory_limit' value to 1g once,6g in next time. Reran ansible-playbook, container did not restart, moving back to assigned
logs?
Created attachment 1478874 [details] ansible log
Same behaviour when you try to change a value in ceph.conf With TripleO: CephConfigOverrides: mon_max_pg_per_osd: 2048 (which uses ceph-ansible ceph_conf_overrides) ceph.conf is updated on all nodes but OSD daemons are not restarted. Please note that monitors are properly restarted and thus run with the proper configuration.
(In reply to Gregory Charot from comment #11) > Same behaviour when you try to change a value in ceph.conf > > With TripleO: > > CephConfigOverrides: > mon_max_pg_per_osd: 2048 > > (which uses ceph-ansible ceph_conf_overrides) > > ceph.conf is updated on all nodes but OSD daemons are not restarted. > > Please note that monitors are properly restarted and thus run with the > proper configuration. Maybe because you have chosen mon option *mon_*hence this is the behavior. Please use any option which starts from *osd_* these are OSD options so if you choose one of the osd_ it should help.
(In reply to Vikhyat Umrao from comment #13) > (In reply to Gregory Charot from comment #11) > > Same behaviour when you try to change a value in ceph.conf > > > > With TripleO: > > > > CephConfigOverrides: > > mon_max_pg_per_osd: 2048 > > > > (which uses ceph-ansible ceph_conf_overrides) > > > > ceph.conf is updated on all nodes but OSD daemons are not restarted. > > > > Please note that monitors are properly restarted and thus run with the > > proper configuration. > > Maybe because you have chosen mon option *mon_*hence this is the behavior. > Please use any option which starts from *osd_* these are OSD options so if > you choose one of the osd_ it should help. The option lands in the global ceph.conf section on all nodes so the OSDs should be restarted, i don't think ceph-ansible actually looks at the variable name. When i applied the changes and tried to create new pools, the ceph osd pool create command worked but pgs creation were stuck. Restarting the OSDs solved the issue.
Release Notes Doc Text update: replace contraction "won't" with "will not" per IBM Style Guide
Release Notes Doc Text remove extra space inbetween "example," and "`ceph_osd_docker_memory_limit`"
Present in https://github.com/ceph/ceph-ansible/releases/tag/v3.1.8
lgtm thanks
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:3530