[OpenStack-Infra] [Murano-Open-PaaS] Openstack using guacamole

Donny Davis donny at fortnebula.com
Tue Mar 31 12:22:30 UTC 2020


On Tue, Mar 31, 2020 at 7:52 AM Samuel Abdullah <samuel at silverliningsys.com>
wrote:

> Hi Donny,
>
> Thanks for the reply.
> To brief you about the environment in our infrastructure, we already have
> openstack running in our organization
> i am actually creating a new vm that sits in our openstack, and this vm
> will be the guacamole server. Aside from that, i would like to make
> guacamole as a gateway or a broker between the user  and openstack so that
> whenever user access to guacamole, they will only be able to manage and
> create instances from guacamole that links to the openstack. Understand
> from your email that i will have to connect a proper API to openstack from
> guacamole? In that case, a proper extension that is only available from
> guacamole end , or i will need to compose a new extension probably
> something similar from the link you shared to me? Apologize as im not quite
> familiar with open source environment, and i came from a windows
> environment however i have a team that could do the job in opensource
> (openstack. Linux,)
>
> Despite that, i do understand in terms of technicality and architecture on
> the idea, its just the path to achieve this.
> Appreciate much o your response.
>
> Best Regards
> Samuel
>
>
>
> On Sun, Mar 29, 2020 at 8:56 PM Donny Davis <donny at fortnebula.com> wrote:
>
>>
>> On Fri, Mar 27, 2020 at 11:19 AM Samuel Abdullah <
>> samuel at silverliningsys.com> wrote:
>>
>>> Hi,
>>>
>>> Does Anyone know how can i install guacamole in openstack environment?
>>> Even if its via murano? Any manual guideline?
>>>
>>> Best Regards
>>> Samuel
>>>
>>> On Fri, 27 Mar 2020, 00:05 Roman Gorshunov, <paye600 at gmail.com> wrote:
>>>
>>>> Hello Samuel,
>>>>
>>>> Thanks for your email. Yes, Guacamole can be installed as an app via
>>>> Murano.
>>>> Discussions about Open PaaS are now in openstack-discuss mailing list.
>>>> Please use the tag [Murano-Open-PaaS] in the subject line. I'm
>>>> re-routing your email.
>>>>
>>>> Here are docs for the Murano project [0].
>>>>
>>>> [0] https://docs.openstack.org/murano/latest/
>>>>
>>>> Best regards,
>>>> Roman Gorshunov
>>>>
>>>> On Thu, Mar 26, 2020 at 4:37 PM Samuel Abdullah <
>>>> samuel at silverliningsys.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Would like to ask if it is possible to run guacamole in openstack
>>>>> environment?
>>>>> Seek for help on how would this be possible as i saw that guacamole
>>>>> component are part of the openstack in your murano project
>>>>>
>>>>> Looking forward for your reply
>>>>>
>>>>> Best Regards
>>>>>
>>>>> --
>>>>>
>>>>> <https://www.silverliningsys.com/>
>>>>>
>>>>> www.silverliningsys.com
>>>>>
>>>>>
>>>>> *Abu Bakar Samuel Abdullah*
>>>>>
>>>>> Cloud Infrastructure & Operations
>>>>>
>>>>>
>>>>> P: +603-2712-0081
>>>>>
>>>>> M: +60.12.654.5938
>>>>>
>>>>> E: samuel at silverliningsys.com
>>>>> _______________________________________________
>>>>> OpenStack-Infra mailing list
>>>>> OpenStack-Infra at lists.openstack.org
>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra
>>>>
>>>> _______________________________________________
>>> OpenStack-Infra mailing list
>>> OpenStack-Infra at lists.openstack.org
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra
>>
>>
>> Samuel,
>> Are you trying to replace the default vnc console with guacamole or are
>> you trying to run it as a service on top of Openstack?
>>
>> Scenario A - built in console
>> I am unaware of any method in the code today to replace the default
>> console with guacamole.
>>
>> Scenario B - Use it as a service
>>
>> I can't imagine it would be too hard if you leverage some kind of
>> automation framework to create your instances. In the example of using
>> ansible to create machines on the cloud - you could first call the playbook
>> that creates your instance and then query the API for the details of that
>> instance. You could then insert the needed parameters to the guacamole
>> server to access this machine.
>> The following modules could be used in this case - mind you this is one
>> of many examples to accomplish this task
>> Create Instance
>> https://docs.ansible.com/ansible/latest/modules/os_server_module.html
>>
>> Query the API
>> https://docs.ansible.com/ansible/latest/modules/os_server_info_module.html
>>
>> And then to update Guacamole you can use a template that includes a
>> method to properly create your backend connections of all of the required
>> instances
>>
>> I am not an expert in Guacamole, so you will have to tinker a bit here.
>>
>> Also dropping infra - this ML is mainly for the actual Openstack project
>> infra - so like CI resources and code hosting resources
>>
>> Thanks and good luck!
>>
>> --
>> ~/DonnyD
>> C: 805 814 6800
>> "No mission too difficult. No sacrifice too great. Duty First"
>>
>
>
> --
>
> <https://www.silverliningsys.com/>
>
> www.silverliningsys.com
>
>
> *Abu Bakar Samuel Abdullah*
>
> Cloud Infrastructure & Operations
>
>
> P: +603-2712-0081
>
> M: +60.12.654.5938
>
> E: samuel at silverliningsys.com
>

Samuel,

In your case I would think you would have to write an extension for
guacamole to add a provision function. It could be something very simple
that takes the users creds and then executes the openstacksdk, ansible,
terraform, etc to create an instance and then wire it back to the guacamole
server for their particular account. Honestly this use case is quite
interesting to me, and Openstack should really be able to shine for this.
Use cases like this are literally the reason to drive infrastructure with
API's.

I can see three functions being written:
create instance
query for instance details
add instance details to guacamole

I am afraid I am probably at my limit of usefulness, but I am super excited
to see what you come up with. Please share with the community and don't be
afraid to reach back out with questions.
-- 
~/DonnyD
C: 805 814 6800
"No mission too difficult. No sacrifice too great. Duty First"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200331/eaf9b622/attachment.html>


More information about the openstack-discuss mailing list