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.

Here is the repo for some of their workflows. You can probably find a more detailed infrastructure description on one of their talks.
https://gitlab.cern.ch/cloud-infrastructure/mistral-workflows


Cheers,
   Adriano


On Tue, 2 Aug 2022 at 14:05, KK CHN <kkchn.in@gmail.com> wrote:
Does this need to be a separate web application? or Customizing horizon dashboard ?  Which is feasible ?

On Tue, Aug 2, 2022 at 1:06 PM Amit Uniyal <auniyal@redhat.com> wrote:
Hello,

You want to automate and provide a web interface solution.

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.

1. Get all info in json format, update it as per available image, flavor details.

Now you have all details of request, you can add an approval system here manual/automated (as per usage and quota assigned).

2. Convert this to a heat template, upload to swift(for future reference), and call heat api.
    Why heat ?
     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.

3. Update VM deployment status and access info back in the web application.

Tools:
web app: Django or node js

Docs:

Regards

On Tue, Aug 2, 2022 at 9:14 AM KK CHN <kkchn.in@gmail.com> wrote:
Hi everyone!
I need a guide or advice or anything.

I am administering a private cloud in openstack. As I am using the Horizon dashboard for the VM provisioning and administering activities.
But the users are sending requests in mail and creating the VMs for them.
can we make workflow automation for the request and approval and provisioning automatically in the Horizon dashboard on approval?

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

Any guidance much appreciated, where to start, what to refer and which tool/programming language best if I need to code from scratch.

thanks in advance.
Krish


--
Adriano Vieira Petrich
Software Engineer
He/Him/His

Red Hat GmbH, Registered seat: Werner von Siemens Ring 14, D-85630 Grasbrunn, Germany
Commercial register: Amtsgericht Muenchen/Munich, HRB 153243, Managing Directors: Ryan Barnhart, Charles Cachera, Michael O'Neill, Amy Ross
Commercial register: Amtsgericht Muenchen/Munich, HRB 153243, Managing Directors: Ryan Barnhart, Charles Cachera, Michael O'Neill, Amy Ross