ansible / awx-ee

An Ansible execution environment for AWX project
https://quay.io/ansible/awx-ee
Other
133 stars 156 forks source link

Since 0.3.0 "You are running the development version of Ansible" #72

Open AndrewSav opened 3 years ago

AndrewSav commented 3 years ago

Since 0.3.0 we are getting this warning:

You are running the development version of Ansible. You should only
run Ansible from "devel" if you are modifying the Ansible engine, or trying out
features under development. This is a rapidly changing source of code and can
become unstable at any point.

Which version of the execution environment is recommended to run?

AndreasDavour commented 3 years ago

I opened this issue on the awx-operator project, and was told to report i here instead.

RogerSik commented 3 years ago

With 0.5.0 the message dissapears for me

yurtesen commented 2 years ago

In AWX I have "Control Plane Execution Environment" which can't be updated and uses quay.io/ansible/awx-ee:latest and can't be adjusted.

REPOSITORY                           TAG                 IMAGE ID      CREATED      SIZE
quay.io/ansible/awx-ee               latest              2be6e1212c55  6 hours ago  1.25 GB

This is the latest image and it still prints it. Why can't I use a different EE? like something I have built?

kladiv commented 2 years ago

Hi @shanemcd, i guess the issue is related to the lines below in the Containerfile:

ARG EE_BASE_IMAGE=quay.io/ansible/ansible-runner:latest

This actually has ansible [core 2.13.0.dev0] Ansible version.

Could it be better to add the line below in execution-environment.yml:

build_arg_defaults:
  EE_BASE_IMAGE: 'quay.io/ansible/ansible-runner:stable-2.11-latest'

When 2.12 will become stable, maybe a new quay.io/ansible/ansible-runner:stable-2.12-latest will be built

Dunno if it makes sense

yurtesen commented 2 years ago

The setting can't be changed in AWX image

kladiv commented 2 years ago

@yurtesen Control Plane EE must not be changed (it should be a built-in system-scoped EE). The same for AWX EE (latest) (used by AWX to run Templates jobs) You can build your custom EE

yurtesen commented 2 years ago

@kladiv somebody told me that before. I built custom EE and it works great. It is just a bit annoying that people are forced to use development version in control plane. Anyhow, I came to accept that this is the way IBM wants AWX to work. So no problem...

kladiv commented 2 years ago

This is the scope of my suggestion to @shanemcd

Of course in AWX Operator you can override the Contro Panel EE via control_plane_ee_image variable