Adding Instance Groups

Hi

In the Instance Groups Menu (see attached image), how does one add Tower instance and Instance Group instances?

The menu for control for doing this seems to be missing. Is it because it hasn’t been implemented yet?

Or is it set in a different menu?

Thanks

Jae Kim

(attachments)

Good question!

This is technically supported internally within AWX but relies on some configuration that is normally applied during an install of Tower (our downstream project). The configuration also doesn’t lend itself very well to usage within a container/pod ecosystem.

The good news is this is something I’m actively working on: https://github.com/ansible/awx/issues/74

However it’s not quite ready yet and will take me a little while to wrap up. The two big elements to this are:

  • Automatic cluster node provision/deprovisiong. (Normally this is done manually in the Tower configuration bit and requires touching every other node, which is a non-starter here)
  • Tower configuration based Instance Group selection. (Currently you have to manually specify which nodes listen on which queues for instance group integration, which actually just affects the celeryd startup procedure, this should instead be a dynamic configuration and celery should be able to switch on-demand).

As you can probably tell at this point I’m focusing mainly on Openshift/K8S as a platform for running AWX clusters because of the ease of automation and continuity of low-level services. There’s a lot we won’t have to worry about because we’ll have a good solid platform backing the cluster.

I also need to get a solid RabbitMQ clustering container configured that works as good as our downstream RMQ deployment (which took us a little while to get nailed down).

I have some architectural diagrams, and more detailed specifications for this work that you’ll see on that github issue that I posted above in the coming weeks.

Hi.

From how we understand your reply, the realistic workable configuration menu will come in a form from the work done with clustering. But we won't be using the clustering (Openshift etc). We are interesting in setting up multiple Ansible Core's in our data center. Would there be a workable solution for this ?

Thanks

Hi

Please see the attached picture of the topology.
We would like to have AWX control Ansible-cores on a remote location.
In our scenario we wouldn’t need clustering or auto-scaling yet. We get the feeling that the current AWX roadmap will require having Kubernetes or Openshift in those remote locations for Ansible-core to run.
Is there a way to manually setup the connection to those Ansble-core. We wouldn’t mind writing up this code ourselves. So can you point us to where we would have to look to write this up or set this up ourselves.

Thanks
Jae Kim

(attachments)

Hey Jae Kim, I’m sorry… this is a little beyond the scope of developing and using AWX. If you will send me an email off-list I can put you in touch with some folks that can help you and your company get started on this.