<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 3, 2017 at 7:08 AM, Alex Schultz <span dir="ltr"><<a href="mailto:aschultz@redhat.com" target="_blank">aschultz@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Jun 27, 2017 at 2:19 PM, Dan Trainor <<a href="mailto:dtrainor@redhat.com">dtrainor@redhat.com</a>> wrote:<br>
> Hi -<br>
><br>
> I'm looking for the glue that populates the overcloud role list.<br>
><br>
> I can get a list of roles via 'openstack overcloud role list', however I'm<br>
> looking to create new roles to incorporate in to this list.<br>
><br>
> I got as far as using 'mistral action-update' against what I beleive to be<br>
> the proper action (tripleo.role.list) but am not sure what to use as the<br>
> source of what I would be updating, not am I  finding any information about<br>
> how that runs and where it gets its data from.  I also had a nice exercise<br>
> pruning the output of 'mistral action-*' commands which was pretty<br>
> insightful and helped me hone in on what I was looking for, but still<br>
> uncertain of.<br>
><br>
> Pretty sure I'm missing a few details along the way here, too.<br>
><br>
> Can someone please shed some light on this so I can have a better<br>
> understanding of the process?<br>
><br>
<br>
</span>Sorry for the delay in replying (pto). The overcloud roles actions<br>
operate on a folder. By default this is<br>
/usr/share/openstack-tripleo-<wbr>heat-templates/roles. However it does<br>
provide a command line parameter to change this folder to where ever<br>
you would like to keep your custom roles.  The docs around this are<br>
currently up for review[0] but we do have an existing readme in the<br>
roles folder[1] that has some of this information.  The plan is to<br>
eventually allow for some mistral actions around roles, but we<br>
probably won't have that until later.  Right now this is purely a<br>
tripleoclient function.<br>
<br>
Thanks,<br>
-Alex<br>
<br>
[0] <a href="https://review.openstack.org/#/c/476236/" rel="noreferrer" target="_blank">https://review.openstack.org/#<wbr>/c/476236/</a><br>
[1] <a href="https://github.com/openstack/tripleo-heat-templates/blob/master/roles/README.rst" rel="noreferrer" target="_blank">https://github.com/openstack/<wbr>tripleo-heat-templates/blob/<wbr>master/roles/README.rst</a><br><br></blockquote><div><br></div><div>Alex -</div><div><br></div><div>Thanks so much for the reply.  The documentation is spot-on and provides a great introduction to role manipulation for Overcloud deployment.</div><div><br></div><div>Now that I have a better context for what I'm trying to ask, I think I want to clarify that my request is more in line with the role types that are available for assignment prior to deployment.</div><div><br></div><div>In the TripleO UI, several Roles are available for assigning nodes:  Block Storage, Ceph Storage, Compute, Controller, and Object Storage.</div><div><br></div><div>My goal is to create an additional role for assignment in this dialogue.  I understand now, based on your feedback and that of Steve Hardy, I can manipulate roles per the Overcloud deployment.  However, I'm interested in manipulating the list of roles that are available for assignment per the UI.  I was hoping the UI was aligned close enough with tripleoclient to provide a straight-forward interface for this, but I may be wrong.</div><div><br></div><div>This might be one for the UI guys.  I'll start pinging them in their timezone.  But in the mean time if you have any suggestions, I would appreciate the feedback.</div><div><br></div><div>Thanks!</div><div>-dant</div></div><br></div></div>