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 Nginx Configuration to use Microservice after updating OMERO-Web #438

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

khaledk2
Copy link
Contributor

@khaledk2 khaledk2 commented Oct 14, 2024

This PR fixes the issue #436 .
I have added a check on the idr-omero-web playbook for Micros-services user existence, i.e., omero-server. If so, it runs the omero_ms_image_region role to update the Nginx configuration file for MS.
The MS deployment cannot be moved to this playbook as the MS user is created after running this playbook.

The molecule test failed without modification due to the failure of starting iptables service
https://github.com/khaledk2/deployment/actions/runs/11316428331/job/31468697284#step:5:1497
I have checked this issue and found out that it failed due to this error:
/sbin/iptables does not exist
I have checked the iptables_raw role and successfully ran the molecule test. I compared the installation packages on the role molecule test and the installation package on the deployment playbook, and they are not identical; more packages are installed on the role which are related to iptables-nft.
I have changed the installation package on the iptables_raw from iptables-services to iptables-nft-services and updated the deployment requirements to point to this modified branch (https://github.com/khaledk2/ansible-role-iptables-raw/tree/refs/heads/upgrade_package_name).
Then I ran the molecule tests in the deployment repo and it passed.
I will open PR for the iptables_raw role shortly

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.

1 participant