roles searches the expanded run list. This isn't
available for other nodes to search until the
run completes. This means you must run chef on
one mon at a time and your initial mons can only
be one mon. If more than one mon is used the
chef run get stuck trying to get the bootstrap
osd keyring.
search_string = "(#{search_string}) AND ceph_config_environment:#{node['ceph']['config']['environment']}"
end
else
- search_string = "roles:ceph-mon AND chef_environment:#{node.chef_environment}"
+ search_string = "role:ceph-mon AND chef_environment:#{node.chef_environment}"
end
if not extra_search.nil?