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 #22

Closed
mapuri opened this issue Nov 6, 2015 · 1 comment
Closed

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

mapuri opened this issue Nov 6, 2015 · 1 comment

Comments

@mapuri
Copy link
Contributor

mapuri commented Nov 6, 2015

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 %}
@mapuri
Copy link
Contributor Author

mapuri commented Jan 6, 2016

moved to ansible repo issue: contiv/ansible#19

@mapuri mapuri closed this as completed Jan 6, 2016
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

1 participant