[openstack-ansible] Relocate ceph-mons to new hosts and decouple Ceph from openstack-ansible
Hi, We run a cluster with ~15 compute hosts and ~25 Ceph nodes. Everything was initially deployed with openstack-ansible. For some reasons we would like to decouple Ceph from openstack-ansbile and therefore move the ceph-mon containers to dedicated hosts. - Moving the containers seems straightforward, but how do we tell openstack-ansible that the containers are gone and that it can’t use the ip addresses anymore for other purposes? - How do we tell openstack-ansible which keyrings it has to deploy on compute hosts? Any recommendations? Has anyone done this before? Can you think of anything else that should be considered? Thanks in advance and best regards Jan
Hey, In this case you can place ceph.conf along with keyrings to /etc/openstack_deploy folder, unset ceph_mons variable, but use ceph_keyrings_dir and ceph_conf_file instead. We have sample configuration documented here: https://docs.openstack.org/openstack-ansible-ceph_client/latest/config-from-... Also, I think you might want to cleanup openstack_user_config as well as ansible_inventory.json from ceph-related things to avoid accidentally targeting them. Let us know in case of any extra questions. On Thu, 6 Feb 2025, 12:08 Jan Marquardt, <jm@artfiles.de> wrote:
Hi,
We run a cluster with ~15 compute hosts and ~25 Ceph nodes. Everything was initially deployed with openstack-ansible.
For some reasons we would like to decouple Ceph from openstack-ansbile and therefore move the ceph-mon containers to dedicated hosts.
- Moving the containers seems straightforward, but how do we tell openstack-ansible that the containers are gone and that it can’t use the ip addresses anymore for other purposes? - How do we tell openstack-ansible which keyrings it has to deploy on compute hosts?
Any recommendations? Has anyone done this before? Can you think of anything else that should be considered?
Thanks in advance and best regards
Jan
participants (2)
-
Dmitriy Rabotyagov
-
Jan Marquardt