<div dir="ltr">Another option is what Cern does that uses a mistral workflow to do something somewhat similar to that. Users can request resources and a mistral workflow provisions them.<br><br>Here is the repo for some of their workflows. You can probably find a more detailed infrastructure description on one of their talks.<br><a href="https://gitlab.cern.ch/cloud-infrastructure/mistral-workflows">https://gitlab.cern.ch/cloud-infrastructure/mistral-workflows</a><br><div><br></div><div><br></div><div>Cheers,</div><div> Adriano</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 2 Aug 2022 at 14:05, KK CHN <<a href="mailto:kkchn.in@gmail.com">kkchn.in@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Does this need to be a separate web application? or Customizing horizon dashboard ? Which is feasible ?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 2, 2022 at 1:06 PM Amit Uniyal <<a href="mailto:auniyal@redhat.com" target="_blank">auniyal@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>You want to automate and provide a web interface solution.</div><div><br></div><div>The simplest way would be to create a new web application (which can have only 2-3 pages) with an input form asking for VM details and usage.</div><div><br></div><div>1. Get all info in json format, update it as per available image, flavor details.</div><div><br></div><div>Now you have all details of request, you can add an approval system here manual/automated (as per usage and quota assigned).</div><div><br></div><div>2. Convert this to a heat template, upload to swift(for future reference), and call heat api.</div><div> Why heat ?</div><div> It will allow you to create n+ number of VM at once, for example can create a full lab, having different instance flavor on different networks.</div><div><br></div><div>3. Update VM deployment status and access info back in the web application.</div><div><br></div><div>Tools:<br></div><div>web app: Django or node js</div><div><br></div><div>Docs:</div><div><a href="https://docs.openstack.org/api-ref/orchestration/v1/" target="_blank">https://docs.openstack.org/api-ref/orchestration/v1/</a><br></div><div><a href="https://docs.openstack.org/heat/rocky/template_guide/hot_guide.html" target="_blank">https://docs.openstack.org/heat/rocky/template_guide/hot_guide.html</a><br></div><div><a href="https://docs.openstack.org/ocata/cli-reference/heat.html#heat-stack-create" target="_blank">https://docs.openstack.org/ocata/cli-reference/heat.html#heat-stack-create</a><br></div><div><br></div><div>Regards</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 2, 2022 at 9:14 AM KK CHN <<a href="mailto:kkchn.in@gmail.com" target="_blank">kkchn.in@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi everyone!<br>I need a guide or advice or anything.<br><br>I am administering a private cloud in openstack. As I am using the Horizon dashboard for the VM provisioning and administering activities.<br>But the users are sending requests in mail and creating the VMs for them.<br>can we make workflow automation for the request and approval and provisioning automatically in the Horizon dashboard on approval?<br><br>Has anyone already done /have idea on these kinds of solutions for your openstack cloud ??. Is there some kind of documentation that could help me?. <br><br>Any guidance much appreciated, where to start, what to refer and which tool/programming language best if I need to code from scratch.<br><br>thanks in advance.<br><div>Krish</div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Adriano Vieira Petrich</div><div>Software Engineer</div><div>He/Him/His</div><div><br></div><div><a href="https://www.redhat.com/de/global/dach" style="white-space:pre-wrap;color:rgb(17,85,204)" target="_blank">Red Hat GmbH</a><span style="color:rgb(34,34,34);white-space:pre-wrap">, Registered seat: Werner von Siemens Ring 14, D-85630 Grasbrunn, Germany </span><br></div><div><pre cols="72"><div style="color:rgb(34,34,34);white-space:pre-wrap"><span style="font-family:Arial,Helvetica,sans-serif">Commercial register: Amtsgericht Muenchen/Munich, HRB 153243,
Managing Directors: Ryan Barnhart, Charles Cachera, Michael O'Neill, Amy Ross </span><span style="font-family:Arial,Helvetica,sans-serif"><br></span><span style="font-family:Arial,Helvetica,sans-serif">Commercial register: Amtsgericht Muenchen/Munich, HRB 153243,
Managing Directors: Ryan Barnhart, Charles Cachera, Michael O'Neill, Amy Ross</span></div></pre></div></div></div>