Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ceph playbook should allow incremental addition of mons and osds #19

Open
mapuri opened this issue Jan 6, 2016 · 0 comments
Open

ceph playbook should allow incremental addition of mons and osds #19

mapuri opened this issue Jan 6, 2016 · 0 comments
Assignees
Milestone

Comments

@mapuri
Copy link
Contributor

mapuri commented Jan 6, 2016

moved from contiv/build#22 as ansible repo is the right place for this.

+++++++++
right now the way ceph configuration is generated (as shown in the snippet from ansible/roles/ceph-common/templates/ceph.conf.j2 below) results in a dependency that all mons and osds hosts need to be configured together in single playbook run.

In a real cluster, we would need to allow incremental provisioning of new mons and osds. This issue tracks this requirement.

79 {% for host in groups[mon_group_name] %}
80 {% if hostvars[host]['ansible_hostname'] is defined %}
81 [mon.{{ hostvars[host]['ansible_hostname'] }}]
82 host = {{ hostvars[host]['ansible_hostname'] }}
83 mon addr = {{ hostvars[host]['ansible_' + monitor_interface]['ipv4']['address'] }}
84 {% endif %}
85 {% endfor %}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants