Skip to content
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

[FEATURE REQUEST] Upgrade Ansible to the latest version in V2.0.x #3436

Closed
20 tasks
seriva opened this issue Feb 13, 2024 · 4 comments
Closed
20 tasks

[FEATURE REQUEST] Upgrade Ansible to the latest version in V2.0.x #3436

seriva opened this issue Feb 13, 2024 · 4 comments
Assignees
Labels
area/ansible priority/high Task with high priority python Pull requests that update Python code type/upgrade Task related to component upgrade

Comments

@seriva
Copy link
Collaborator

seriva commented Feb 13, 2024

Is your feature request related to a problem? Please describe.
The current version of Ansible has a bunch of security issues:

Describe the solution you'd like
Upgrade Ansible to the latest version.

Describe alternatives you've considered
None

Additional context
None


DoD checklist

  • Changelog
    • updated
    • not needed
  • COMPONENTS.md
    • updated
    • not needed
  • Schema
    • updated
    • not needed
  • Backport tasks
    • created
    • not needed
  • Documentation
    • added
    • updated
    • not needed
  • Feature has automated tests
  • Automated tests passed (QA pipelines)
    • apply
    • upgrade
    • backup/restore
  • Idempotency tested
  • All conversations in PR resolved
  • Solution meets requirements and is done according to design doc
  • Usage compliant with license
@seriva seriva added status/grooming-needed area/ansible priority/high Task with high priority python Pull requests that update Python code type/upgrade Task related to component upgrade labels Feb 13, 2024
@seriva
Copy link
Collaborator Author

seriva commented Aug 28, 2024

Should be Ansible 10.3.0 as its supported to EOL of Epiphany. Branch with update can be found here: https://github.com/seriva/epiphany/tree/ansible-upgrade

@tomasz-baran
Copy link
Contributor

ansible-core 2.17 (ansible 10.x) is incompatible with RHEL 8 (due to Python 3.6 dnf bindings).

We have the following options:

  1. Upgrade to Ansible 9 instead of 10 (ansible-core 2.16 works with Python 3.6)
  2. Use unofficial packages to provide dnf bindings for Python 3.11 - they were created by a RedHat employee but hard to say if they will be updated and continuously available.
  3. Release two versions of Epiphany: for Ubuntu with Ansible 10, for RHEL with Ansible 9
  4. Upgrade RHEL from 8 to 9

More info here:
ansible/ansible#83357 (comment)
https://www.jeffgeerling.com/blog/2024/newer-versions-ansible-dont-work-rhel-8

We decided to choose option 1.

@seriva
Copy link
Collaborator Author

seriva commented Sep 5, 2024

Option 1 will fix all open CV issues and while the main Ansible package is EOL from November 2024, ansible-core will be supported till EOL Epiphany in May 2025

@seriva
Copy link
Collaborator Author

seriva commented Sep 10, 2024

Fixed with #3469

@seriva seriva closed this as completed Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ansible priority/high Task with high priority python Pull requests that update Python code type/upgrade Task related to component upgrade
Projects
None yet
Development

No branches or pull requests

3 participants