From 83e2b5415b50119eecc651fee4839ad25c5b810d Mon Sep 17 00:00:00 2001 From: Logan V Date: Mon, 20 Nov 2017 12:27:13 -0600 Subject: [PATCH] Add ceph_mons to ceph example The ceph documentation backported to Pike does not include ceph_mons in the vars example, because the var does not need to be defined in master. In Pike however, it does need to be defined, and ceph_client will not run unless it is defined by the user. Once Ida44228c2d2919990bac46936317b6093d3ff115 has merged, this commit can be reverted. Change-Id: Ia6218dbc90af3e379af28bff5cc957dd3feb81d0 --- etc/openstack_deploy/user_variables.yml.prod-ceph.example | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etc/openstack_deploy/user_variables.yml.prod-ceph.example b/etc/openstack_deploy/user_variables.yml.prod-ceph.example index d45bd56f04..966fa8445e 100644 --- a/etc/openstack_deploy/user_variables.yml.prod-ceph.example +++ b/etc/openstack_deploy/user_variables.yml.prod-ceph.example @@ -13,6 +13,11 @@ haproxy_keepalived_internal_interface: br-mgmt generate_fsid: false fsid: 116f14c4-7fe1-40e4-94eb-9240b63de5c1 # Replace with your generated UUID +## Provide the ceph_mons list which is used by the OSA ceph_client role +ceph_mons: "{{ groups[mon_group_name] + | map('extract', hostvars, 'ansible_host') + | list }}" + ## ceph-ansible settings ## See https://github.com/ceph/ceph-ansible/tree/master/group_vars for ## additional configuration options availble.