You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by pe...@zv.fraunhofer.de on 2021/06/25 08:55:22 UTC

AW: CloudStack and Ansible

Hi Rafael,

as a follow-up to your great talk at the CSEUG session: in your email you wrote,

"The Ansible implementation for ACS is very complete and robust. It made it possible for us to fully automate from metal to the service."

Which Ansible implementation do you mean? The one I can find addresses rather API usage [1]; for full automation there is probably more scripting required to setup the actual
cluster, possibly with some variations depending on the architecture.

[1] https://docs.ansible.com/ansible/latest/collections/ngine_io/cloudstack/index.html#plugins-in-ngine-io-cloudstack

kind regards
Peter
________________________________________
Von: Rafael del Valle <rv...@privaz.io.INVALID>
Gesendet: Montag, 10. Mai 2021 21:14:12
An: users@cloudstack.apache.org
Cc: ivet.petrova@shapeblue.com
Betreff: Re: CloudStack and Ansible

Hi ,



The Ansible implementation for ACS is very complete and robust. It made it possible for us to fully automate from metal to the service.

I will be presenting this the 27th, and I am happy to participate on the post.

Regards,
Rafael




On Mon, 2021-05-10 05:22 PM, Rene Moser <ma...@renemoser.net> wrote:
>
Hi Ivet
>
> On 10.05.21 16:52, Ivet Petrova wrote:
> > Hy everyone,
> >
> > I would like to prepare a blog post on CloudStack and Ansible use case. Are there any users here of this combination, who are willing to share insights (how you use it, why you selected it, etc.) and help me for the post?
>
> Yes, there are ;)
>
> Actually I am one of the authors and started the cloudstack ansible
> integration.
>
> When I started the project end of 2014, my vision was to not only
> install/update cloudstack (the application) and mysql with ansible, but
> a fully automated cloudstack setup including networking, storage, pod,
> host, cluster, configuration, etc.
>
> Even though I worked hard to cover all related APIs, I've never had the
> chance to actually deploy a cloudstack on the ground up and my daily
> work has shifted away from cloudstack admininistration [shapeblue didn't
> hire my ;)]
>
> Currently "only" using it in combination of exoscale to deploy and
> provision VMs, networks, autoscaling groups, security groups, ssh keys
> etc. So only user facing APIs.
>
> However, Raphael (who is also on the list I guess and in cc) realized my
> vision and did it (what I have heard from him). AFIACS he applied as
> speaker for the CSEUG on May 27th to show it to the community.
>
> Yours
> René
>

Re: AW: CloudStack and Ansible

Posted by Rafael del Valle <rv...@privaz.io.INVALID>.
Hi Peter,

Sorry for my late reply, Just arrived from an (early) sailing holiday.

Yes, you can find the Ansible module documentation in the Ansible docs. It is true that it is more a module reference than a guide, or the guide is geared more towards the management of cloud objects after the deployment.

Metal to service can be achieved 100% ansible, I have identified some minor bits missing (and created issues to be resolved) that can be addressed using CloudMonkey, an example is adding certificates when setting up the manager, etc.

you can follow this pipeline: https://gitlab.privaz.io/privazio/ansible-collection-vdc/-/pipelines/1666

for and fully automated installation. As Rene pointed there are many other systems being setup (NFS, Firewall, etc), which you may want to customized, but at least you have an example to work form.

I am happy to help anyway, let me know how you get on with it.

Regards,
Rafael

On Fri, 2021-06-25 10:55 AM, peter.muryshkin@zv.fraunhofer.de wrote:
> 
Hi Rafael,
> 
> as a follow-up to your great talk at the CSEUG session: in your email you wrote,
> 
> "The Ansible implementation for ACS is very complete and robust. It made it possible for us to fully automate from metal to the service."
> 
> Which Ansible implementation do you mean? The one I can find addresses rather API usage [1]; for full automation there is probably more scripting required to setup the actual
> cluster, possibly with some variations depending on the architecture.
> 
> [1] https://docs.ansible.com/ansible/latest/collections/ngine_io/cloudstack/index.html#plugins-in-ngine-io-cloudstack
> 
> kind regards
> Peter
> ________________________________________
> Von: Rafael del Valle " target="_blank"><rv...@privaz.io.INVALID>
> Gesendet: Montag, 10. Mai 2021 21:14:12
> An: users@cloudstack.apache.org
> Cc: ivet.petrova@shapeblue.com
> Betreff: Re: CloudStack and Ansible
> 
> Hi ,
> 
> 
> 
> The Ansible implementation for ACS is very complete and robust. It made it possible for us to fully automate from metal to the service.
> 
> I will be presenting this the 27th, and I am happy to participate on the post.
> 
> Regards,
> Rafael
> 
> 
> 
> 
> On Mon, 2021-05-10 05:22 PM, Rene Moser " target="_blank"><ma...@renemoser.net> wrote:
> >
> Hi Ivet
> >
> > On 10.05.21 16:52, Ivet Petrova wrote:
> > > Hy everyone,
> > >
> > > I would like to prepare a blog post on CloudStack and Ansible use case. Are there any users here of this combination, who are willing to share insights (how you use it, why you selected it, etc.) and help me for the post?
> >
> > Yes, there are ;)
> >
> > Actually I am one of the authors and started the cloudstack ansible
> > integration.
> >
> > When I started the project end of 2014, my vision was to not only
> > install/update cloudstack (the application) and mysql with ansible, but
> > a fully automated cloudstack setup including networking, storage, pod,
> > host, cluster, configuration, etc.
> >
> > Even though I worked hard to cover all related APIs, I've never had the
> > chance to actually deploy a cloudstack on the ground up and my daily
> > work has shifted away from cloudstack admininistration [shapeblue didn't
> > hire my ;)]
> >
> > Currently "only" using it in combination of exoscale to deploy and
> > provision VMs, networks, autoscaling groups, security groups, ssh keys
> > etc. So only user facing APIs.
> >
> > However, Raphael (who is also on the list I guess and in cc) realized my
> > vision and did it (what I have heard from him). AFIACS he applied as
> > speaker for the CSEUG on May 27th to show it to the community.
> >
> > Yours
> > René
> >
> 

Re: AW: CloudStack and Ansible

Posted by Andrija Panic <an...@gmail.com>.
For those of you who have VMware parent cloud, and need to build tons of
nested ACS envs for testing purposes (VMware, XC/XCP-ng, KVM), or at least
to examine some setup/code - those guys have some weird thing callied
Trillian ;)

https://github.com/shapeblue/trillian

A couple of thousands of nested environments built in last 3 years....

Cheers.

On Sat, 26 Jun 2021 at 10:47, Rene Moser <ma...@renemoser.net> wrote:

> Hi Peter
>
> On 25.06.21 10:55, peter.muryshkin@zv.fraunhofer.de wrote:
> > Hi Rafael,
> >
> > as a follow-up to your great talk at the CSEUG session: in your email
> you wrote,
> >
> > "The Ansible implementation for ACS is very complete and robust. It made
> it possible for us to fully automate from metal to the service."
> >
> > Which Ansible implementation do you mean? The one I can find addresses
> rather API usage [1]; for full automation there is probably more scripting
> required to setup the actual
> > cluster, possibly with some variations depending on the architecture.
> >
> > [1]
> https://docs.ansible.com/ansible/latest/collections/ngine_io/cloudstack/index.html#plugins-in-ngine-io-cloudstack
> To provision your hardware, OS, and install cloudstack, like any other
> application, and dep services like DB, java, storage, nfs servers,
> firewall, networking (e.g. cisco switches), ansible is a perfect match
> but depending on your infra and choices.
>
> The cloudstack integration addresses the api usage only, it is the
> missing piece after you (automated) installed cloudstack to fully
> automate the configuration of the cloud.
>
> Hope this clarifies.
>
> Regards
> René
>


-- 

Andrija Panić

Re: AW: CloudStack and Ansible

Posted by Rene Moser <ma...@renemoser.net>.
Hi Peter

On 25.06.21 10:55, peter.muryshkin@zv.fraunhofer.de wrote:
> Hi Rafael,
> 
> as a follow-up to your great talk at the CSEUG session: in your email you wrote,
> 
> "The Ansible implementation for ACS is very complete and robust. It made it possible for us to fully automate from metal to the service."
> 
> Which Ansible implementation do you mean? The one I can find addresses rather API usage [1]; for full automation there is probably more scripting required to setup the actual
> cluster, possibly with some variations depending on the architecture.
> 
> [1] https://docs.ansible.com/ansible/latest/collections/ngine_io/cloudstack/index.html#plugins-in-ngine-io-cloudstack
To provision your hardware, OS, and install cloudstack, like any other 
application, and dep services like DB, java, storage, nfs servers, 
firewall, networking (e.g. cisco switches), ansible is a perfect match 
but depending on your infra and choices.

The cloudstack integration addresses the api usage only, it is the 
missing piece after you (automated) installed cloudstack to fully 
automate the configuration of the cloud.

Hope this clarifies.

Regards
René