Closed khaledk2 closed 12 months ago
I have added the SELinux policy
for the omero-web
service.
@pwalczysko Could you please test it?
You should delete the current policy using the following command on the VM:
sudo semodule -r django
Then you should stop the Omero-web service
, then you may rerun the installation playbook and see if it will add the policy and run the service without error.
Willl do
Test:
sudo semodule -r django
libsemanage.semanage_direct_remove_key: Removing last django module (no other django module exists at another priority).
/opt/omero/web
, disable the omero-web
serviceenable and start web systemd
step with the usual PID failure.@pwalczysko I have pushed a fix, could you please try again and let me know how is it going?
I have fixed Ubuntu 22.04. The error was related to Omero web, it has this error
zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key Europe/London
I have fixed it by installing the following Python package:
tzdata
I have added a custom policy to Ubuntu also. In addition, I have added a test to ensure that the policy has been instaled.
I have fixed Ubuntu 22.04. The error was related to Omero web, it has this error
zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key Europe/London
I have fixed it by installing the following Python package:tzdata
I have added a custom policy to Ubuntu also. In addition, I have added a test to ensure that the policy has been instaled.
Thanks @khaledk2 - I have run the playbook with the changes here also against the RHEL 9 testing system (although not on a clean image). The test passed, see also below.
TASK [omero_web : omero web | install tzdata] ***********************************
changed: [134.36.4.3]
on the machine
(venv3) [pwalczysko@ome-ci-upgrade ~]$ pip freeze | grep tzdata
tzdata==2023.3
I have updated the role to fix the Galaxy issue. It has passed the test. I have pushed the role successfully to Galaxy https://galaxy.ansible.com/ui/standalone/roles/khaledk2/omero_web/
I have updated the role to fix the Galaxy issue. It has passed the test. I have pushed the role successfully to Galaxy https://galaxy.ansible.com/ui/standalone/roles/khaledk2/omero_web/
Using khaledk2.omero_web
and pwalczysko.omero_server
from Galaxy https://github.com/openmicroscopy/management_tools/pull/1710/commits/327efb93827132d073d6325094c0f7516b227210, on the branch https://github.com/openmicroscopy/management_tools/pull/1710 ("training" type of server) I was able to run successfully the playbook on RHEL9 134... testing server.
Setup
Tests:
/opt/omero...
folder was re-created successfullyEverything works as expected.
@khaledk2 Could you fix the formatting issues see https://github.com/ome/ansible-role-omero-web/pull/48/files for details
Do we want to merge&release this in order to enable the deployment of the server please ?
This PR moves to use Rocky Linux 9 and Ubuntu 22.04. It has been passed for Rocky Linux 9 but not yet for Ubuntu 22.04 in https://github.com/khaledk2/ansible-role-omero-web/actions/runs/6494993388