Nautilus, Ceph-Ansible, existing OSDs, and ceph.conf updates
Hello, A while back I asked about the troubles I was having with Ceph-Ansible when I kept existing OSDs in my inventory file when managing my Nautilus cluster. At the time it was suggested that once the OSDs have been configured they should be excluded from the inventory file. However, when processing certain configuration changes Ceph-Ansible updates ceph.conf on all cluster nodes and clients in the inventory file. Is there an alternative way to keep OSD nodes in the inventory file without listing them as OSD nodes, so they get other updates, but also so Ceph-Ansible doesn't try to do any of the ceph-volume stuff that seems to be failing after the OSDs are configured? Or maybe I just have something odd in my inventory file. I'd be glad to share - either in this list or off line. Thanks. -Dave -- Dave Hall Binghamton University kdhall@binghamton.edu
On 10/04/2021 13:03, Dave Hall wrote:
Hello,
A while back I asked about the troubles I was having with Ceph-Ansible when I kept existing OSDs in my inventory file when managing my Nautilus cluster.
At the time it was suggested that once the OSDs have been configured they should be excluded from the inventory file.
However, when processing certain configuration changes Ceph-Ansible updates ceph.conf on all cluster nodes and clients in the inventory file.
Is there an alternative way to keep OSD nodes in the inventory file without listing them as OSD nodes, so they get other updates, but also so Ceph-Ansible doesn't try to do any of the ceph-volume stuff that seems to be failing after the OSDs are configured?
Are you using LVM or LVM-batch? If the former, you might find --skip-tags prepare_osd Does what you want. I use that because otherwise ceph-ansible gets sad if your device names aren't exactly what it's expecting. Regards, Matthew -- The Wellcome Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.
participants (2)
-
Dave Hall
-
Matthew Vernon