New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump ansible-operator to v1.31.0 #1550
Bump ansible-operator to v1.31.0 #1550
Conversation
@rooftopcellist can you take a look at this PR |
Thank you @ToxicGLaDOS btw are you on our Matrix or the Ansible Forum? If you like to hang out I'm on https://app.element.io/#/room/#awx:ansible.com as TheRealHaoLiu, I would love to get to know you better! |
with operator sdk 1.31.0 base image we see
|
Hmm. I tried it out locally and it seems to work. Also I'm not sure how it wouldn't have openshift because we install openshift with in the requirements.txt. Is this the block that's failing? |
@TheRealHaoLiu Just wanted to follow up. Can you confirm that the section I linked above is the part that's failing? I think that due to permissions I can't see a lot of the output of the checks so it's hard for me to understand why we would be missing openshift when it's installed with that requirements.txt. |
@ToxicGLaDOS Yes, but more specifically, it's actually failing in the installer role during the reconciliation loop. When In the
This leads me to believe that new ansible-operator:v1.31.0 image does not include the python $ docker run -it --entrypoint='' quay.io/operator-framework/ansible-operator:v1.28.1 bash -c 'pip freeze | egrep "openshift|kubernetes"'
kubernetes==26.1.0
openshift==0.13.1 Here is v1.31.0 $ docker run -it --entrypoint='' quay.io/operator-framework/ansible-operator:v1.31.0 bash -c 'pip freeze | egrep "openshift|kubernetes"'
kubernetes==26.1.0 |
@ToxicGLaDOS We could add this to the Dockerfile to solve this:
cc @TheRealHaoLiu and @dsavineau in case they have a better solution. |
@rooftopcellist Ah I think I understand. You're saying that it's the docker container running in |
I think a better solution would be to update the [1] https://github.com/ansible/awx-operator/blob/devel/requirements.yml#L5-L6 |
@ToxicGLaDOS can you also bump operator_sdk.util in requirements.yml to 0.5.0? that should take care of the dependency issue |
@ToxicGLaDOS Yes, is is the actual operator container that is erroring because it doesn't have the
No need to change the molecule test requirements.yml as it is unpinned and will use the latest:
|
This removes the dependency on openshift
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just tested this out, and didn't find any issues. The image builds and the reconciliation loop completes. Bumping operator_sdk.util to 0.5.0 did the trick. Thanks!
SUMMARY
Bump ansible-operator version to v1.31.0
This version includes a lot of security fixes for various yum packages.
ISSUE TYPE
ADDITIONAL INFORMATION