Embedded Ansible in gaprindashvili-5 container image

Hi miq friends, im testing image container for gaprindashvili-5 running it as:

docker run -m 12g --privileged --name=miq-1 -h miq.example.com -d -p 8443:443 manageiq/manageiq:gaprindashvili-5

Since AWX distributes as a set of container images, im asking myself if it makes sense to enable Embedded Ansible role in the first place in such deploy scenario.

Hi @gomix

Enable embedded ansible" via MIQ web GUI currently has following issue.
Not sure if spin up ansible via docker command directly has same issue.

Correct URL updated.

hi @tjyang , thanks for your response, but im getting a 404 :wink:

I guess the right issue link is:

https://github.com/ManageIQ/manageiq/pull/1773 ¿?

I guess @tjyang meant this issue: https://github.com/ManageIQ/manageiq/issues/17738
(the 8 from the issue number somehow ended up in the repo name)

In a pure containerized deployment, I would go for a separate AWX container.

  • Since you are going for containers, you probably looking for a high degree of automation too, which might be easier to do with separate containers. (Is there even an API to start the installation via CLI?)
  • Do you have a something to handle multiple containers? I guess you want at least use docker compose or fancier, instead of plain old docker run
  • I think it is easier to troubleshoot with separate containers (regarding log-files, nice RestCalls between the compenents)

I think it will be harder to get ManageIQ running the way you want to in a container, since you need to automate every customization from day 1. But I haven’t used containerized ManageIQ myself, I am just guessing :slight_smile:

Thanks @buc … see some of my comments…

Here its important to understand that having an external AWX container means in general Ansible Integration instead of Embedded Ansible features. What i would like to have is Embedded Ansible features.

So the question about being reasonable to try a 100% MIQ deployment is if there is a (easy/standard) way to integrate Embedded Ansible in such environment and how to do it with external containers if there’s one.

I noticed that in a appliance deployment Embedded Ansible implies Docker containers, so such arrangement looks impossible to me in a MIQ containerized image.

The modified version of ManageIQ is designed to be run in OpenShift. Here are the installation notes: https://github.com/ManageIQ/manageiq-pods; embedded Ansible is deployed in a separate pod. There’s also a description of the podified setup here: https://access.redhat.com/documentation/en-us/reference_architectures/2018/html-single/managing_large-scale_openshift_installations_with_cloudforms_4.6/

Hope this helps,