On Saturday, October 13, 2018, Cody <<a href="mailto:codeology.lab@gmail.com" target="_blank">codeology.lab@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone,<br>
<br>
Is it possible to define CRUSH placement rules and apply to different<br>
pools while using TripleO to deploy an overcloud with Ceph<br>
integration?<br>
<br>
I wish to set the "vms" pool to use SSDs and "volumes" pool to use<br>
HDDs. On a pre-existing Ceph cluster, I can define CRUSH placement<br>
rules using device-class and apply the corresponding rules when create<br>
pools. But, I don't know how to do so with TripleO.<br>
<br>
Could someone shed light on this?<br></blockquote><div><br></div><div>CRUSH rules may be passed to specific nodes. You may identify specific nodes in TripleO by using node-specific overrides as per:</div><div><br></div><div><a href="https://docs.openstack.org/tripleo-docs/latest/install/advanced_deployment/node_specific_hieradata.html">https://docs.openstack.org/tripleo-docs/latest/install/advanced_deployment/node_specific_hieradata.html</a></div><div><br></div><div>In the documentation above a specific devices list is passed to a specific node. However, you may pass other properties to the specific node including the osd_crush_location. For example:</div><div><br></div><div>{"32C2BC31-F6BB-49AA-971A-377EFDFDB111": {"osd_crush_location": {"root": "standard_root", "rack": "rack1_std", "host": "lab-ceph01"}},</div><div><br></div><div>TripleO then will map the node's UUID to the IP used in the ceph-ansible inventory and pass node specific variable overrides.</div><div><br></div><div>You'll also want to use CephAnsibleExtraConfig to override specific ceph-ansible variables for all nodes, e.g.</div><div><br></div><div><div> CephAnsibleExtraConfig:</div><div> create_crush_tree: true</div></div><div><br></div><div>More info at <a href="https://docs.openstack.org/tripleo-docs/latest/install/advanced_deployment/ceph_config.html">https://docs.openstack.org/tripleo-docs/latest/install/advanced_deployment/ceph_config.html</a></div><div><br></div><div>Overall, if you know how to make ceph-ansible do what you need it to do, then TripleO can pass the variables to ceph-ansible to achieve it.</div><div><br></div><div> John</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Best regards,<br>
Cody<br>
______________________________<wbr>_________________<br>
users mailing list<br>
<a href="mailto:users@lists.rdoproject.org" target="_blank">users@lists.rdoproject.org</a><br>
<a href="http://lists.rdoproject.org/mailman/listinfo/users" target="_blank">http://lists.rdoproject.org/ma<wbr>ilman/listinfo/users</a><br>
<br>
To unsubscribe: <a href="mailto:users-unsubscribe@lists.rdoproject.org" target="_blank">users-unsubscribe@lists.<wbr>rdoproject.org</a><br>
</blockquote>