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

Update to use Rockylinux 9 and Ubuntu 22.04 #34

Merged

Conversation

khaledk2
Copy link
Contributor

@khaledk2 khaledk2 commented Sep 22, 2023

It failed for Rocky Linux 9 with this error
https://github.com/khaledk2/ansible-role-postgresql/actions/runs/6275413708/job/17042853222#step:5:192
I think it uses ome.postgresql_client and this should be resolved after merging PR 8 for postgresql_client

@sbesson
Copy link
Member

sbesson commented Sep 25, 2023

I think it uses ome.postgresql_client and this should be resolved after merging ome/ansible-role-postgresql-client#8 for postgresql_client

I agree, we are starting to hit the roadblock discussed last Tuesday i.e. the problem of making significant changes like new platform support across multiple interdependent roles. Fundamentally, one of the issues here is that the Ansible Galaxy metadata is used in an informative way and Ansible roles lack a proper dependency mechanism e.g. allowing to specify min/max versions of the dependencies - see https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_reuse_roles.html#using-role-dependencies

One possible resolution as you suggested is to start integrating and releasing new versions with Rocky Linux 9 / Ubuntu 22.04 support. The primary downside are that all downstream roles will start failing the scheduled Molecule CI builds as the latest roles will be incompatible with CentOS 7.

@khaledk2
Copy link
Contributor Author

I have pointed out the postgresql_client to the GitHub postgresql_client PR 8. It did not pass but I think this change has fixed the issue related to the need to use the updated postgresql_client. cc @pwalczysko @jburel

@khaledk2
Copy link
Contributor Author

I have checked the issue which I mentioned in my last comment; it has this error invalid locale name "en_US.UTF-8" when running to run ninitdb in the Rocky Linux, I have added a task to redhat.yml to install glibc-langpack-en which solved the issue and it passed now!

@jburel
Copy link
Member

jburel commented Sep 27, 2023

@khaledk2 This is similar to what I had to do for devspace
see https://github.com/jburel/devslave-c7-docker/blob/master/Dockerfile#L10

pwalczysko added a commit to pwalczysko/ansible-role-omero-server that referenced this pull request Sep 27, 2023
@khaledk2 khaledk2 force-pushed the update_to_use_rockylinux9_and_ubuntu2204 branch from 99b1d16 to db379de Compare November 1, 2023 11:53
@jburel jburel merged commit 7e0c110 into ome:master Nov 1, 2023
4 checks passed
@khaledk2 khaledk2 deleted the update_to_use_rockylinux9_and_ubuntu2204 branch June 26, 2024 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants