<div dir="ltr"><div><br></div>The use case is, the user requests need to be controlled. Cannot provide each project for each user. Even Though your infrastructure is large enough to support each project for each user ( for a large user base automation with approval/rejection like this is a fair practice.)<div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 2, 2022 at 2:33 PM Eugen Block <<a href="mailto:eblock@nde.ag">eblock@nde.ag</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">I don't have any suggestions for the automation here but a question. <br>
Couldn't you just give each user a project so they can login and <br>
create their instances themselves?<br>
<br>
<br>
Zitat von Amit Uniyal <<a href="mailto:auniyal@redhat.com" target="_blank">auniyal@redhat.com</a>>:<br>
<br>
> Hello,<br>
><br>
> You want to automate and provide a web interface solution.<br>
><br>
> The simplest way would be to create a new web application (which can have<br>
> only 2-3 pages) with an input form asking for VM details and usage.<br>
><br>
> 1. Get all info in json format, update it as per available image, flavor<br>
> details.<br>
><br>
> Now you have all details of request, you can add an approval system here<br>
> manual/automated (as per usage and quota assigned).<br>
><br>
> 2. Convert this to a heat template, upload to swift(for future reference),<br>
> and call heat api.<br>
> Why heat ?<br>
> It will allow you to create n+ number of VM at once, for example can<br>
> create a full lab, having different instance flavor on different networks.<br>
><br>
> 3. Update VM deployment status and access info back in the web application.<br>
><br>
> Tools:<br>
> web app: Django or node js<br>
><br>
> Docs:<br>
> <a href="https://docs.openstack.org/api-ref/orchestration/v1/" rel="noreferrer" target="_blank">https://docs.openstack.org/api-ref/orchestration/v1/</a><br>
> <a href="https://docs.openstack.org/heat/rocky/template_guide/hot_guide.html" rel="noreferrer" target="_blank">https://docs.openstack.org/heat/rocky/template_guide/hot_guide.html</a><br>
> <a href="https://docs.openstack.org/ocata/cli-reference/heat.html#heat-stack-create" rel="noreferrer" target="_blank">https://docs.openstack.org/ocata/cli-reference/heat.html#heat-stack-create</a><br>
><br>
> Regards<br>
><br>
> 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>
><br>
>> 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<br>
>> 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<br>
>> provisioning automatically in the Horizon dashboard on approval?<br>
>><br>
>> Has anyone already done /have idea on these kinds of solutions for your<br>
>> openstack cloud ??. Is there some kind of documentation that could help<br>
>> me?.<br>
>><br>
>> Any guidance much appreciated, where to start, what to refer and which<br>
>> tool/programming language best if I need to code from scratch.<br>
>><br>
>> thanks in advance.<br>
>> Krish<br>
>><br>
<br>
<br>
<br>
<br>
</blockquote></div>