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